sharepoint

SharePoint Personalization With Application Pages

I am trying to implement personalization (WebPartManager and WebParts) on ASP.NET application deployed to SharePoint as application pages (Separate application and aspx pages deployed to _layouts). I'd like to take advantage of SharePoint personalization provider, so I can just wire up the provider to WebPartManager in the ASP.NET appli...

SharePoint List That Pulls From Other Lists

Hi, can someone point me in the direction as to how I would do the following: I want to create a list, which pulls say (top 3) items from other lists (more than one), and displays them in one consolidated list. Is this possible? If so please point me in the direction as to how I can accomplish this, thanks. ...

How to detect the item restore on a ItemAdded() event on SharePoint

Hi, I know that when an item is restored from the recycle bin, the ItemAdded event is fired. However, how can i detect if the item added comes from the recycle bin or if it is a new file. Thanks ...

Duplicate SharePoint MOSS site without content

Hi What is the best way to copy an existing SharePoint MOSS site and then recreate a copy of it on the same server? I want to ideally include web parts but not actual content like documents etc. I've looked at using the SPDeploymentWizard and saving the site as a template but the SPDeploymentWizard takes all the content and saving it ...

User profile returned from SharePoint as Nothing for UserID

Has anybody ever seen this error in their Application event log. If so, have you found a way to fix this? THanks in advance for any help. 1) Exception Information Exception Type: System.Exception Message: User profile returned from SharePoint as Nothing for UserID 'S-1-5-21-59715478-2608859843-3034944815-2139'. Data: System.Collection...

Is it possible to add Web Parts to the My Profile page of My Site?

Is it possible to personalize the My Profile page in the same way it can be done on the My Home page? I want to remove the default Web Parts and add other ones. I don't want to use SharePoint Designer or edit any files manually. ...

User gets a 403 error (user has Full Control permission)

We have a news system that relies on the publishing feature. It is basically the out of the box news with a few minor changes. The page contains a Page Content area. I'll give some screen shots to help make my point. First, the page content area: When you click inside the content area a toolbar is added. If you want to add an image t...

SharePoint Web Part Parameters Mysteriously Disappearing

Ok I've got a weird one, I have a SharePoint WebPart in WSS 3.0 right now that's querying Yahoo Traffic's REST interface using VB.NET and the HttpWebRequest object. However I kept getting an error message from Yahoo that was saying I'm unauthorized, upon further examination, I noticed it's passing the following URL to yahoo: http://loca...

ASP.NET - temporarily impersonate the app pool service ID when default it to impersonate the user?

I have to call some code in a SharePoint site that runs under the same service ID that the web application is running under. By default, SharePoint impersonates the user viewing the web page, and the users don't have the necessary permissions. What is the best way to run some code using the web application's service ID, then revert bac...

How to programmatically update content in a SharePoint Web Part?

Does anybody know how to programmatically update the content of any of the standard SharePoint v3 Web Parts? As an example, put a Link Summary Web Part on a page. Add some links to it. Now, how can I update this information using the WSS API? I have not found any direct way to do this, my only idea so far is to export the Web Part, (th...

CMS for SharePoint

I am trying to weigh the pros and cons of several CMS alternatives. Currently shortlisted to: SiteCore MOSS 2007 Help me find a third choice.. I don't have a preference for Open Source/Free/Commercial Products, my main specifications are the need to support/connect to SharePoint for deployment across multiple servers and multi langu...

How to create a preprocessing application for indexing heavyweight formats in Microsoft Search Server 2008?

I need to develop an IFilter for Microsoft Search Server 2008 that performs prolonged computations to extract text. Extracting text from one file can take from 5 seconds to 12 hours. One idea to doing this is creating a preprocessing application. How do I design such an application? Specifically: - how do I connect the Search Server c...

Using STSADM to export and import site collection

Hi I'm having an issue when trying to import an existing export using stsadm. Having succesfully exported the site collection, I then create a new blank site. When I run the import command, it runs for a while, then completes with the following error: 01/28/2009 13:04:28.84 STSADM.EXE (0x3F54) 0x1D74 Windows Shar...

MOSS Anti-Virus

Our server already has symantic anti-virus with autoprotect enabled w/ regular scans and updates. I tested it and it does automatically scan uploaded files to document libraries. My question is, what additional benefit is there to using a specific anti-virus plugin instead of this current setup? There are at least 3 different plugins I ...

How do I force a new site collection to inherit a master page?

I have some code that creates a new site in SharePoint. Upon browsing to the newly created site, a File Not Found error is thrown. If you browse to /_layouts/ChangeSiteMasterPage.aspx you can select a new site master & system master page, and the site works fine. This kb article describes my symptoms perfectly: http://support.microsof...

SharePoint: Get site directory's categories programmatically

Hi I'm looking for a way to get the categories defined in the site directory of a portal programmatically. As far as I could see categories are represented as fields of the type "choice" with multiple values the user can chose form. My problem is, how could I distinguish category fields from normal fields like "title" or "author". Act...

SharePoint SPListItemCollection ReorderItems

Hi, does anyone know how to use the SPListItemCollection ReorderItems method? I cannot seem to find sufficent documentation on this method. What I want to do is order the list in decending order by date. I am not sure what the required values are, http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitemcollection.reord...

Deploy jQuery using a SharePoint Feature or physical files?

We are about to undertake a rather large customization of SharePoint and I wanted to get some feedback prior to jumping in with both feet. One of the issues we are kicking the tires on is do we deploy the jQuery javascript library to the 12 hive directly (making it available in _layouts for each site etc.) or do we wrap it up in a featur...

What happens when a user modifies their MySite in SharePoint designer on MOSS?

One of our users modified their MOSS MySite using SharePoint designer. Now all newly created MySites contain that one user's customizations. Is this how MOSS is supposed to work and how can I fix it? ...

Run STSADM from ASP.NET under _layouts

Is it possible to run STSADM from an ASP.NET application that is residing in the _layouts folder? I have copied this code on this page. When it runs the return message is Access Denied. ...