Reputation
5,035
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 12 26
Impact
~349k people reached

Aug
22
comment How to get random user profiles in SharePoint 2013 restful api?
Just did a quick test with Angular on 365, and the first ID was 4 and the last was 1073741823, so not such a good idea after all. But that might be special for System Account, so you could perhaps filter them out, set a filter with le 1000000000 or similar...
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
We use less compiler (and bower) to build bootstrap, then we can do something like .some-app { @import "./bower_components/bootstrap/less/bootstrap.less; }, this way all bootstrap rules only apply within .some-app class. Of course rules for body and html etc. is lost, but beside that it works quite well.
Aug
22
comment How to get random user profiles in SharePoint 2013 restful api?
I'm not aware of any random function in OData, but one hack could be to fetch lowest and highest user ID, then pick 5 random IDs from that range (either with re-query for holes or fetching more than 5)?
Aug
22
comment How to set fine-grained permissions on document library folders and documents via sharepoint 2013 workflow
Can't you use the very same REST request as you purpose? Just instead of the folder id you use the file item id
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
Bootstrap has some global rules which might make a mess in SharePoint, do you need to apply bootstrap to the whole page? We usually build bootstrap with less and that way target a specific parent selector
Aug
22
answered Unable to return Microsoft.Sharepoint.Client.File object Names filtered by extension
Aug
18
comment Remove indexing from SharePoint 2013 Document Library using PowerShell Script
I'm just going to leave this as a comment since I don't quite understand, and it might not be best approach, but if all hope is lost have you tried setting schema xml directly?
Aug
11
comment Programmatically Edit and Programmatically Save Edited Wiki Page in Sharepoint 2013
What I had in mind was that you kept your wiki page, but for the data you could use a list. Then for the table data I would use REST to fetch the data and present it the way you like
Aug
9
comment Programmatically Edit and Programmatically Save Edited Wiki Page in Sharepoint 2013
SharePoint got a table-like persistent storage called Lists, perhaps you could use that?
Aug
6
comment Get SharePoint Data with javascript from html file
First (as pointed out) use get_web(), secondly this.successHandler will not exist
Aug
5
comment jQuery not showing custom error messages in PreSaveAction method of sharepoint 2013 list “New Form”
Are you sure PreSaveAction is global? Have you tried window.PreSaveAction = function(){ ... };?
Aug
2
answered How do I find the Tenant ID of my SharePoint Online Account?
Jul
15
comment Find out where the content type is still in use
Probably items using the content type. Have you seen sharepoint.stackexchange.com/a/14576/627 ?
Jul
14
comment Jquery is not loading properly in Internet explorer 11 browser until page refresh
Have you checked dev tools console? Are there other instances of jQuery on the page (conflict, very common, when the plugin is loaded $.fn.plugin is undefined, but this is easily seen in console)? Is anything else conflicting with window.$? How do you reference jQuery, the plugin and your script?
Jul
14
comment Jquery is not loading properly in Internet explorer 11 browser until page refresh
@naijacoder that answers my "Where", thank you, now on to "How" :)
Jul
14
comment Jquery is not loading properly in Internet explorer 11 browser until page refresh
How and where do you reference jQuery?
Jul
11
comment Set client side choice field to stored value via JSOM
I'm not sure what the problem is here, is it to post the "Event_x0020_Level" value when users clicks "create"? Or do you have an existing item, and want to choose correct value in the dropdown when showing the form?
Jul
11
comment SharePoint Welcome Page with Angular Routing
But the route '/' would just mean https://testview.sharepoint.com/sites/TestSite #/, the url itself is not related to ...Main.html in any way, that is just where angular router will fetch the template for your route
Jul
3
comment Issue facing for Sharepoint online Authentication using javascript
If you make a proxy or a proxy-like service you only need CORS for this if you put it on another origin, but since you would control the proxy that wouldn't be a problem
Jul
2
comment Issue facing for Sharepoint online Authentication using javascript
Same-origin policy is browser only. To implement CORS you need server-side implementation as well. You could perhaps use a proxy (on same origin)