Tag Info

Hot answers tagged

2

I don't think there's a general approach to do this, but depending on your exact needs there might be a solution. I can think of a few options: Create a list to hold the HTML nodes and apply audience targeting to the individual list items. This way, the user could execute a clientside request to the list to pull back all nodes but they'd only receive nodes ...


2

It should be noted that there are no synchronous calls available in the JS Object Model, and this is on purpose. The proposal to use promises is just a different async pattern, but that's okay… It is possible to artificially 'force' the scripts to work in a synchronous manner using various techniques, but there's really no reason to. Async patterns (direct ...


1

You should use jQuery Promises http://www.shillier.com/archive/2013/03/04/using-promises-with-the-javascript-client-object-model-in-sharepoint-2013.aspx doSomething() .then(doSomethingElseWhenThatsDone, orHandleAnError) .then(doYetAnotherThingWhenThatsDone, orHandleAnError); function doSomething(){ //set up some JSOM stuff var dfd = $.Deferred(); ...


1

a. Create a new Permission Level copied from "Read" permission b. Remove "View Versions" option from the new permission level c. Set that new permission level to the users or groups Following are the steps... Go to the Site Collection > Top level Site > Site Settings > Site Permissions Click on "Permission Levels" from Ribbon > Permission Tools > Manage ...



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