sharepoint2007

Workflow's UpdateAllTasks method clears out DueDate field.

I have problem with UpdateAllTasks activity. Before executing this activity, I have a task as seen in workflow history here: But when task gets finished, i`m calling UpdateAllTasks to update some properties for every task, but DueDate column for all tasks are cleared as seen here: This particular thing is happening in updateTaskData ...

Unable to publish files in SharePoint

When I publish a file from code byte[] fileBytes = objItem.File.OpenBinary(); string DestinationURL = string.Format(@"{0}/{1}", objDestinationFolder.Url, objItem.File.Name); //Copy the file. SPFile objDestinationFile = objDestinationFolder.Files.Add(DestinationURL, fileBytes, true); objDestinationFile.Update(); objDestinationFile.Publ...

Weird Workflow Behavior in Sharepoint 2007

I have a Document Library A and a list B. When a document added to A, an item is created in B with the Title = A.Url. Another workflow runs whenever a document is updated in A which makes a lookup: B.Title = A.Url, and changes another column in B in found item. Item Change Workflow always gives "Error Occurred: List item is not found"....

In SharePoint, how can the "Issue ID" column of an issues list be included in the detail form (DispForm.aspx) and/or alert emails?

We've created a pretty standard issue tracking system based off of SharePoint's template with just a few extra columns. On the list view (AllItems.aspx), the first column is called "Issue ID" and has a number. Our developers and QC use that number in discussions. However, that number doesn't seem to want to show up on the detail form ...

"The specified view is invalid" error for some users when browsing for images on a Sharepoint Site

I have just inherited a Sharepoint publishing site after a work colleague left. There are about a dozen users on the site, most of which are listed as site owners and can modify content. Three of them are unable to add images when editing pages. They can start editing a page and click on the Image icon to bring up the "Edit Image Propert...

Event Handler not finding logging configuration

Hi, We have attached an event handler to a SharePoint list which is fired when an email is sent to the List. The Handler throws below error when it executes the enterprise Library Logger. Write () command The configuration section for Logging cannot be found in the configuration source. We have logging working for the other c...

What considerations need to be made when transitioning an application to support?

I will be taking on the role of support for a complex application that is transitioning from the development team. This application is a sharepoint solution that connects to several (7) web services. The development team is rolling off almost immediately and will be available only for small questions. I'm new to this role so I'm wonderi...

Is it possible to search in all the content of files uploaded to SharePoint Server?

Hi, there. I wish to made available a functionality that searches in all pages and content inside all the documents (word, excel, pdf, etc.) present in our SharePoint Server 2007 that all the users uploaded. Anyone could tell me if this is possible? Thanks in advance. Regards. ...

Sharepoint 2007 - Displaying current date in a custom list

Hello, I have been reading blog after blog about displaying the current date in a sharepoint list and nothing seems to work. I do not have administrative rights to my sharepoint server but I was able to combine some java scripts and was able to display the current date (that change each day) in a custom list. My problem is that my succes...

What's the difference between a forms library vs. the central admin page where you manage form templates in sharepoint?

I was wondering in sharepoint what the difference between a forms library in sharepoint vs the central admin page under manage form templates. I am trying to upload .xsn files so that no one can access them, but I don't know if I should upload them to the central admin page or if a forms library will suffice. Any help would be greatly ...

Efficient way to create a large number of SharePoint folders

Hi all: I'm currently creating a large number of SharePoint folders within a list (e.g. ~800 folders), with each folder containing a different number of items. The way it is currently done is that it programmatically reads off the content types, items, event listeners and the likes off the same folder from another web, then creates the...

Problem in Sql report server web part viewer installation in Sharepoint.

Hello, When i installed a webpart Sql report server web part viewer it give error. I used following syntax for the same: stsadm -o addwppack -filename C:\Program Files\Microsoft SQL Server\90\Tools\Reporting Services\SharePoint\RSWebParts.cab -globalinstall -force -url http://Bhavin/pages It give command line error. Please reply i...

button and drop down controls events firing every alternate times

I am having a drop down list and a button in user control. the button click event is registered dynamically. This event I registered is firing every alternating time. dont know the reason why it is behaving so. later added the selected index changed to the drop down list control. this also is getting fired alternate times. the user cont...

Accessing hidden SharePoint list

Hi all: Currently I have a few lists in my SharePoint site that has been hidden from the user (via the hidden property which was set programmatically). I was wondering whether there are any special urls/web or ways to access those lists? e.g. {site}/lists/hiddenList or something similar? Thanks. ...

Handling Session_Start and Session_End events - global.asax - SharePoint

Hello I want to perform few tasks during Session_Start and Session_End (when user logs in and logs out) through custom code. Where should i write it? Is it possible by writing a code behind for global.asax? Will it break anything? Thank you ...

I need to make a dynamic list / page that shows data from different Sharepoint 2007 document libraries

We have several document libraries where users upload reports daily. I have to make a page that shows specific documents (getting them by their filename) from these document libraries with each documents last modified date. What is the easiest way to do this? ...

SharePoint: Why is the Page property in my web part null?

I am trying to include an Image control within my web part. In CreateChildControls I have the following code: Image image = new Image(); image.ImageUrl = this.Page.ClientScript.GetWebResourceUrl(this.GetType(), "hotline.jpg"); I get a NullPointer exception and this is because 'Page' is null. Why might this be? Am I doing this all wro...

Find out where a web part is being used?

Is there an easy way to find out which sites/pages are using a particular web part in SharePoint 2007? ...

Best Practices for Deploying Timer jobs in Server Farm Environments with multiple WFE

Hi, i have a timer job which i want to run only once per day, for the entire farm. How do I Deploy it in a multiple WFE environment? Do I run the stsadm -o deploysolution command in every WFE, or just the one where I want to run it? Where should i activate the feature? Should it be activated only from a particular WFE? What should be ...

How can I tell if a candidate is a good Sharepoint Architect / Developer ?

I need to interview some people for a position as a Sharepoint Architect / Developer role. While I am proficient in .NET, I have worked very little with Sharepoint, so I am unsure how to test the candidates Sharepoint skills. Do you have any suggestions for tests I can throw at the candidates ? Please suggest questions I can ask the c...