sharepoint

SPWorkflowCollection on SPListItem is always empty

Hi I'm having a problem relating to Sharepoint workflows and the associated task list. I have 2 custom workflows that we created for our product. They both use the same Task list that has a custom content type that inherits from the Task content type. Now I have a case where a running workflow has been deleted via the list has been de...

Quick Deployment Job failing when no item in Quick deploy item list

I have a content deployment job from one server to another....content deployment job works fine but when I turn on Quick Deploy job it start showing me system event error... I later figured it out that quick deploy is working fine if there is atleast one item in quick deploy items list otherwise its giving me error. In quick deploy set...

Updating of a SharePoint Web URL via Name does not change its lists' urls

Hi all: I want to ask is it possible to update a Sharepoint web's lists and all its items' URLs if I call an update on the web's url? If so, how can I do so? e.g. web.Name = "newWebName"; web.Update(); The above only changed the base web's url. But the url of its lists remain unchanged. Thanks. ...

Exception from HRESULT: 0x80020009 (DISP_E_EXCEPTION)) in SharePoint

Hi all: After googling for many hours for a solution for the above Sharepoint exception, I have come to SO for help on this one... I believe the cause of me getting the above exception is because of the following code: try { using (SPSite site = new SPSite(siteId, spUserToken)) { using (SPWeb web = site.OpenWeb(webId))...

Customise Sharepoint QuickLaunch menu per subsite page

Hi, Is there a way I can have a custom quick launch menu on a particular page on a MOSS subsite. I have tried detaching the page layout on on the page this works fine and copys the master page layout code into the aspx file. But it does not copy the code for the Quick launch menu. I know I can change the Quick Launch items per site b...

Sharepoint: Add Calendar Event

I am creating a booking module using MOSS 2007. What I would like to know is that is it possible to create a webpart that will show only the Daily view, which will be connected to the central Calendar.. Basically what I'm trying to achieve is this. Each Room must have its own webpart that shows the bookings only associated with that roo...

SharePoint 2010 can't find or use ListData.svc

Can anyone lead me in the direction on how to access/enabled/use the ListData.svc in SharePoint 2010? When we try to access it via our web browser, we get a 404 error. Is there a service we need to enabled, or install a component, please help? ...

Sharepoint.OpenDocuments Control Compatible with Forms Authentication?

We are using the Sharepoint.OpenDocuments.EditDocument2 ActiveX control and method. The method is being called from JavaScript in an IE6 client on a Windows XP SP3 client (fully patched). The server is running IIS6 on Windows Server 2003 SP1 Fronting the IIS server is Tivoli Access Manager (TAM) which proxies access to the web applic...

Invalid security validation exception inside a SharePoint workflow

I'm having a strange security problem with a SharePoint workflow. Particular calls seem to result in the following exception: Microsoft.SharePoint.SPException: The security validation for this page is invalid. I've come across this error before and the simple fix is web.AllowUnsafeUpdates = true; ... web.AllowUnsafeUpdates = ...

How do I distinguish a SharePoint file update as being from a file upload?

In SharePoint, when an item is first added to a document library, it fires the ItemAdded and ItemAdding events as expected. And if you upload the same filename to update the existing file, it will fire off ItemUpdated and ItemUpdating events, likewise as expected. However, I have been unsuccessful at determining whether this kind of acti...

SPNavigationNode.IsVisible property not working in sharepoint as expected.

I want to hide a quick launch node in a sharepoint site, but it's not working as expected. :( My code is as under: using (SPSite spSiteTest = new SPSite(serverUrl)) { using (SPWeb mySite = spSiteTest.OpenWeb()) { SPNavigationNodeCollection quickLau...

SharePoint Governance

I have been search about SharePoint Governance for past few days, the more I search, more confused I am getting about this Topic. Could anyone just explain in brief? What you know about it or are you using/implementing it? ...

SharePoint Error - Datasheet View refuses to show up!

Hi, Recently the DataSheet view of my list refuses to dispaly. I tried numerouse times and with no luck. Other lists works just fine, except for this one. there is a Java error message on the left bottom corner of the screen that disapears in 2 seconds, then it renders the list in Standard view any time you try it. I even created a ne...

Forms/AD Authentication with Sharepoint

All, I'm configuring Sharepoint to use forms authentication with LDAP/Active Directory. I'm new to Sharepoint, so if this is obvious, please point me in the right direction. Whenever I attempt to log in with a bad account or password, I get the very friendly (and correct) error message, The server could not sign you in. Make sure...

Using the Search API with Sharepoint Foundation 2010 - 0 results

I am a sharepoint newbee and am having trouble getting any search results to return using the search API in Sharepoint 2010 Foundation. Here are the steps I have taken so far. The Service Sharepoint Foundation Search v4 is running and logged in as Local Service Under Team Site - Site Settings - Search and Offline Availability, Indexin...

Sharepoint 2007: Disabling Edit/Read Only mode?

If I open a doc in read only mode I'm able to press save and then it opens up a save as box and the default directory is the directory on the sharepoint server and if you press save you save it to the server. This actually makes the whole process not really "read only" mode since I could actually update the document. Is there a way t...

Sharepoint Designer Workflow with multiple tasks in sequence

I have a multi-step Sharepoint workflow in task list A that starts when a new task is created in that list and creates a task in another list, B. When that task in list B is completed, I would like the workflow in list A to create another task in list C. I am using Sharepoint Designer 2007 to build all of this and at the moment I have ...

SharePoint Virtual Directories Sitemap

I have created and asp.net web site utilizing a web.sitemap file to help with navigation. The site needs to be deployed within a virtual directory inside of our SharePoint intranet site. The problem that I am running in to is that when I request the SiteMap.CurrentNode property, it is returning information from SharePoint's sitemap. S...

SharePoint workflow user

I have created a SharePoint workflow in visual studio , I have extended this workflow from the default SharePoint approval workflow as discribed here ( http://bit.ly/b8oJAp ) The workflow is running properly. Is there a way I can get the workflow to run in the context of the user instead of th system account? ...

Data in custom attribute not returned in UserProfile object in MOSS

I've created two new custom attributes in the UserProfile. When the service we wrote returns data about a specific user by using the UserProfile object, sometimes the data isn't returned, even though if we look at the user in SSP it look populated. Some users work; this is the first user we set up with data. I'm not sure if sometime i...