Tag Info

Hot answers tagged

3

This took forever to figure out, but of course it is simple once you got it. Instead of pasting a bunch of code, here is the context and then the raw HTTP POST request that I ended up with. The documentation is actually right here: http://msdn.microsoft.com/en-us/library/dd962796(v=office.12).aspx Syntax for the slug header is as following: ...


2

It is not a bug.Site Templates does not retain the Security settings.Site templates do not include the following items: Customized permissions, running workflow instances, list item version history, workflow tasks associated with running workflows, people or group field values, taxonomy field values, publishing pages and publishing sites, My Sites, and ...


2

For this, you'll want to use the ListItemCollectionPosition property of SPQuery. SPListItemCollectionPosition is the class which helps to achieve paging and sorting the results fetched by SPQuery. See here: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitemcollectionposition.aspx and here for a more comprehensive example


2

If you are only concerned about what documents users can see in the web part you are making then this is relatively straightforward using the Audience Targeting option in the web part. To do this you would make a web part for each of the different user groups, and for each one input the respective audience in the web part settings. The audience targeting ...


2

You can't do this using out of the box workflow actions. I don't know any 3rd party workflow actions set which works with SharePoint 2013 workflows and allows to copy documents. There are only custom actions for SharePoint 2010 workflows. For now you have three options: To break your head with Call HTTP web service workflow action. You can try to call ...


2

You need to go to Document Library Ribbon -> Under Library -> Library Settings -> Permissions for this document library OR simply Document Library Ribbon -> Under Library -> Library Permissions By default the document library will be inheriting permissions from Site, you need to click "Stop Inheriting permissions" ribbon button to stop that.. Than you ...


1

I found some documentation referencing the above behavior and explains it. When attaching content-types to lists/libraries, the content-types event-handlers are automatically added to the list's event-handler collection. This it to support some basic list/library functionality which has been around since WSS 3.0 already. Even though all the event-handlers ...


1

Yes you can set Item level permissions on Document Library.. Click the context menu/List Item Menu and click Permissions.. Here you can Stop Inheriting Permissions from Library and set unique permissions for the Document.. And once you stop the inheritance of the Document, it will say Item has unique permissions, see below:


1

The difference is same as of a Folder in Windows.. If you are placing all the images in a folder, the view gets different and it uses Thumbnails view.. The same is for Picture Libary/Images App in SharePoint.. It will give you thumbnail view of the images.. Picture Library is actually an enhancement to the Document Library.. Also one of the important usage ...


1

This it problem as Word (or any other program) does not know how is user logged in within IE. The only thing they can do is to enter credentials and check Remember credentials. This stores entered credentials to local user store and allows Word to use them next time. But as you mentioned "Remember my credential" functionality does not work all the time. To ...


1

You can use this script written by Nik Craik. The script below will extract all documents and their versions, as well as all metadata and list data to CSV files. The DownloadSite function will download all the documents and their versions into folders named after their respective document libraries. Versions will be named ...


1

AHA! There were actually 2 mysteries here which likely lead to my trouble figuring this out. Nothing was actually corrupted, just an inexperienced user and an inexperienced admin coupled with some slightly strange behavior in SP. The first mystery, that of the phantom files, was caused by SharePoint marking most of the uploaded files as checked out to a ...


1

Permissions are not included in site templates in SharePoint Server or SharePoint Online. More to read in Reference 1 and Reference 2


1

To set the default behavior for opening documents for entire site, activate a site collection feature "Open Documents in Client Applications by Default". This should force the documents to be opened in client application. To set the behavior at library level, go to library settings -> Advanced Settings -> and set Opening Document in the Browser to 'Open in ...


1

Serve Side approach: Create a custom file based on "_layouts/[15]/checkin.aspx" file and add the default value for the comments field. Additionally, to tie this to a particular list, create a custom action(one for Ribbon and one for ECB) that would open your custom "custom-checkin.aspx" file. JavaScript approach: function addCommentDefaultValue() { if ...


1

Paging using CAML cannot go to a Nth page directly, like you can do in SQL. For using paging, you need to use ListItemCollectionPosition property in the SPQuery. Tips Limit the Columns (ViewFields) of your query Set the RowLimit on the SPQuery Don't forget to explicit the OrderBy in the Query Choose an indexed column (if possible) to OrderBy Every time ...



Only top voted, non community-wiki answers of a minimum length are eligible