Tag Info

New answers tagged

0

You can take a look at the View Element Schema https://msdn.microsoft.com/en-us/library/office/ms438338.aspx?f=255&MSPPError=-2147217396. Where you would need to change the list view "Scope" property to "Recursive" in order to get the desired result. SCOPE - Optional Text. Specifies the recursive scope for a view of a document library. Possible ...


0

This is possible creating a list view in the Documents Library with the workflow related column, filtered by workflow status. This column will display a link for a page, listing the tasks. It's necessary add a step in the workflow to change your status when it's finished (to filter by this).


0

Go to this link and check answer from tuddy86 Mod edit, copying content over so it isn't lost. This is how I managed to have a link to new document set form, thx! This is the script I needed to make it happen from javascript: <script type="text/javascript"> var list; var listRootFolder; ExecuteOrDelayUntilScriptLoaded(init, ...


0

You can try this few lines of code. // Update the Metadata for the uploaded file in to the Document Set Microsoft.SharePoint.Client.File oFile = oRootWeb.GetFileByServerRelativeUrl("Server relative url of the file"); oFile.ListItemAllFields["Migrated"] = true; oFile.ListItemAllFields["Author"] = sSystemAccount; oFile.ListItemAllFields["Editor"] = ...


1

You can try several options: Option 1. Take ID from query string. You can use this code: JSRequest.EnsureSetup(); var idValue = JSRequest.QueryString["ID"]; This option is good it can work in all list, libraries or document sets. But if your Document Set will have folders inside it may not work, because ID will not be present in the URL. So here it is ...


0

You could create a Single Line of Text field named DocSetID, set it to Hidden under each content type, then create a separate workflow that runs whenever an item is modified. Have that workflow check if DocSetID = ID, and if not, set DocSetID to ID; then reference DocSetID in your script. Or, you could put the button portion of your code into an HTML ...


0

I finally realised the error message was because my admin account did not have enough rights to run the script. I've been told the clue was the "unauthorized operation..." part of the error message. When I logged in as the farm account, it worker perfectly.



Top 50 recent answers are included