moss

Sharepoint: List Permission custom message

Is it possible to create a custom HTML message when a user does not have access to a specific List instead of showing the user that there are no records? ...

Top-level exception handling for (visual) web parts

I've looked into this quite extensively and I've found the following: You can do some clever stuff to catch most errors by implementing a base class, see Andreas Knudsen's solution for this. The Error event in UserControl never gets fired, see details here: http://weblogs.asp.net/vga/archive/2003/06/16/8748.aspx What I can't find is ...

Controlling Content Approval in custom SPD workflow

I've designed a custom workflow using SharePoint Designer 2007 on MOSS 2007 to perform the following: User uploads a document to a document library. Workflow triggers and waits for designated Approvers to either Approve or Reject the document. IF REJECTED, the user that uploaded the document is sent an e-mail and the document is delete...

Sharepoint: Modifying newform.aspx and attach button does not work

I modified the newform.aspx page in Sharepoint 2007 Designer for an announcment list as demonstrated in the following page http://sharepoint.mindsharpblogs.com/DanielG/Lists/Categories/Category.aspx?Name=SharePoint%20Designer I have hidden (<IsVisible>false</IsVisible>) the original form web part. When I try to press the Attach File link...

How to get SPUser Object using user id (domain_name\userid)

I have the login ID of that user. But in the code I want to convert that login name into SPUser Object. Can I convert LoginName(type string) to SPUser. Or is there any way to convert windows identity user token to SPUser. I am adding users to a spgroup(so does not exist on the site). All I have is windows user token. Thanks ...

Creating a wrapper web part to host a user control in MOSS 2007

i am trying to set up a wrapper for a user control to be used in Moss 2007 but there is a problem that I can see my user control hosted in the web part but the cs file is not being executed so all the functions and activities in the page_load and other functions is being ignored. I have followed this article. http://www.c-sharpcorner.c...

Creating publishing page in in SharePoint timer job throws MissingMethodException

I'm doing a simple news importer for a sharepoint site using timer job that runs every few minutes. The code below runs fine if I run it in a web part but throws MissingMethodException when ran in timer job's Execute method. The full exception: System.MissingMethodException was unhandled by user code Message="No parameterless constru...

Saving a file share link in a SharePoint list column

I have to save a fileshare link in a sharepoint list and i want that file to be opened when the link is clicked, the normal sharepoint hyperlink column does not work for me in this case as it embeds the http:// with the url. How can I handle this scenario? the link i want to save is in the format \192.168.1.2\myserver\myfile.pdf and the ...

Sharepoint Designer 2010 Deployment of CSS, masterpage and general brand

What is the stand best method for deploying the style, masterpage, branding I have created on my site to a live environment. I've looked at creating a solution file but this doesn't seem to carry styling. Can someone pleae point me in the correct direction? Rob ...

Cannot connect new servers to existing MOSS 2007 SP2 farm

We have Single Server MOSS 2007 SP2 farm with DBA managed database server. We have different web applications running and deployed several solutions (SharePoint Learning Kit, Facet Search, workflow extensions, new themes) in the farm. Recently we wanted to scale out our farm by adding one WFE and one indexing server. I have installed MO...

Copy permissions from one user to another user - SharePoint

Hello I want to copy the permissions of a user and to another user. I know i can do it by creating a group with required permissions and adding the users will do it. But i dont want to create a group. Is there a way to copy the permissions of a user to another user directly? NLV ...

ObjectDataSource filtering on date/time in SPGridView

I'm scratching my head on this one... I have date/time columns which I want to sort by date/time but when filtered, only filter by the date part of the date/time. My filter code (a lambda contained within a setup method) looks like this: this.taskGrid.AllowFiltering = true; this.odsGrid.Filtering += (sender, e) => ...

Why should i upgrade to Sharepoint 2010 for an intranet site

What possible reasons can be there for me to upgrade my intranet to SP 2010 from MOSS 2007. Are there some big leaps in functionality and/or performance? ...

Sharepoint: Custom view permissions

I created a custom list to be used as a form on our Sharepoint 2007 Standard Server. When I click on “New Item” I can fill out the form but it goes back to the list with all the entered forms. I notice that there is NO permissions on the VIEW, but how can limit so that the user views only his created forms? ...

How to iterate to Profile pictures in sharepoint?

User stored his/her profile picture in "Shared%20Pictures/Profile%20Pictures/bhind8ball.bmp" path in SSP. How to get this List item using this url? Or How to iterate SharePicture/ProfilePicture to get this List item using SPQuery? ...

CPU Pinned above 95% when BDC profile import (Full and Incremental)

We have daily full profile imports using BDC connection. In that duration, CPU spiking very high. That team is concern. How to resolve this issue. Please anybody have any idea on this? Please share with me. It is physical box with 16 GB RAM. CPU is spiking all the way till its complete BDC job (not like only initially). I have 85000 rec...

Sharepoint: Only view user created items in a custom list

I have Sharepoint 2007 Standard and am using a Custom List to create a simple form. I only want all the users to view thier own created items in the list. ...

Site template for Sharepoint 2010 Intranet Portal

What site template would you recommend to create an intranet portal site? It is going to be used by 200 employees. It probably will have the following content department calendar company news employee search weather useful links new employee list presentation video User should be able to customize the portal based their interests. Ki...

Sharepoint certification for sitecollection administrator rights

Hi, In order to be able to support an application built in Sharepoint 2007, we need to be able to demonstrate that we have the appropriate skills and that we are trained to obtain sitecollection administrator rights. We will be supporting the application from a site administration (application/functional) perspective, and not really fr...

Programmatically changing the 'Activities I am following' under Newsfeed Settings in SharePoint

Hi, is it possible to programatically select/deselect activities I am following on the news feed preferences page under MySites? I want to be able switch on/off notifications for both custom events and those provided by Sharepoint 2010 out-of-the-box. ...