Kobi
  • Member for 10 years, 9 months
  • Last seen more than a month ago
Find Document by GUID
Accepted answer
26 votes

If you know the SPWeb but not the document library, you can use SPWeb.GetFile: SPFile file = web.GetFile(guid);

View answer
SharePoint and Linux
Accepted answer
7 votes

There a few notable features that will not work properly for uses who don't work with Windows (or, to some extent, Windows users with Firefox). Most importantly - you cannot check out and edit ...

View answer
Is it possible to use DocIdRedir.aspx for linking to the display form
Accepted answer
3 votes

As far as I know DocIdRedir.aspx does not support that option (which is a shame, as it could have been easily added) - I've read quite a lot of its code using reflector when doing some research on the ...

View answer
Automatically running SharePoint Designer Workflows when creating items via Object Model - few of the first items are "Failed on Start"
Accepted answer
2 votes

The web.config of my WCF service needs the <System.Workflow.ComponentModel.WorkflowCompiler> to create the items and start their workflows properly. I've had all <authorizedType>s ...

View answer
System.UnauthorizedAccessException Custom Workflow Action
Accepted answer
1 votes

Assuming GetSystemToken is correct, the following line should get you an SPSite object with elevated permissions. using (SPSite site = new SPSite(__Context.Web.Site.ID, GetSystemToken(__Context.Web....

View answer
How do I enable ratings for blogs?
0 votes

Assuming you already have Tagging enabled for the page's document library, you should be able to use SharePoint Designer and add a the rating control to the page or its layout: <...

View answer
Is it possible to add custom actions to a version?
0 votes

I was able to add a menu item as Gilloux suggested in the comment. Here's how it's done, by overriding the method from Core.js: // keep original version var original_AddVersionMenuItemsCore; // ...

View answer