Hot answers tagged


Have you tried moving your code into the jQuery.getScript() success callback? Like this: $.getScript(hostweburl + "/_layouts/15/SP.RequestExecutor.js", function() { var executor = new SP.RequestExecutor(appweburl); // rest of code... });


Documents in an RMS protected library, or a document that has been RMS protected prior to upload cannot be edited in Office Online (Word, Excel, etc.). They must be opened in the client application in order to edit them.


Unfortunately, persistent columns are sealed meaning they cannot be deleted once created. You got 2 solutions (workaround) that you can try: Hide the column instead of deleting it and remove it from the view it was added. Create a new document library and copy all the documents into it (you can utilize the Open in explorer for easy copy/paste and use the ...


You can read all the users that are given direct permissions on the site from the "Users Information List". You can query this and retrieve only items which have content type "Person", and for each of them you would have to make a request to the PeopleManager to get their Date of birth. From Below given reference URL you can find information on how to get ...


Still this no API for retrieving all user profiles from SharePoint Online You can get current user's profile _api/SP.UserProfiles.PeopleManager/GetMyProperties Or a particular user's profile by login name /_api/SP.UserProfiles.PeopleManager/GetPropertiesFor(accountName=@v)?@v='i:0%23.f|membership|' BUT You can get available ...


In your SharePoint Online workflow set up these steps: Use the "Set Workflow Variable" activity, call your variable indunits_a. Set the "value" portion of this activity to the value of the item in List A. You will need to know the name of the list, i.e. List A, the name of the field i.e. INDUNITS, and the ID of the item in List A. Use the same activity ...


Microsoft introduced a new large file upload API to upload files up to 10GB in size. See Using chunked upload/StartUpload with sharepoint REST api for an example. Perhaps they have implemented a new restriction on the approach you have been using now that the new large file upload API has been rolled out? Either way, you should find the new large file ...


For get files from folders you should need to load collection by passing folderPath through CamlQuery. Please refer below code: var query = new SP.CamlQuery(); query.set_folderServerRelativeUrl(folderPath); var Folderitems = list.getItems(query); context.load(Folderitems, 'Include(Title, ContentType, File , Folder)');

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