Reputation
5,192
Next privilege 10,000 Rep.
Access moderator tools
Badges
3 14 28
Newest
 Yearling
Impact
~387k people reached

Oct
31
comment How to create ContentType with FieldLinks using REST on O365
I'm not a big fan of "It's not possible", but the question has been out for some time now and your sources are solid. Thanks for the answer =)
Oct
27
comment Get Checkbox status
@SaMolPPp by capture do you mean inside PreSaveAction? This comment section is getting out of hands, perhaps you could start a chat?
Oct
18
comment Get Checkbox status
@SaMolPPp Yes, given that the selector is correct
Oct
18
comment Get Checkbox status
@SaMolPPp why would you need document.ready? It's not like the form isn't done loading when the users tries to save
Oct
14
comment Programmatically create workflow with JavaScript, JSOM and SP.WorkflowServices.WorkflowServicesManager
Dude! Thanks, it works, awesome! All I had to do was to add definition.set_restrictToType("List");definition.set_restrictToScope(targetList‌​Id); to my original code. Doesn't seem to need new SP.Guid(..), at least not on online, also the Id will be loaded when I load the whole definition. Seems you are correct about the newlines in XAML
Oct
13
comment Relative links in client web part for https breaking
Using JSOM should be straight forward. If you are reading from host web remember to use SP.AppContextSite. Also remember executeQueryAsync ends up in an asynchronous callback, which will be outside of the $digest loop, so then you either have to use $q to make ClientConext use promises or use $apply, or $timeout etc..
Oct
13
comment Relative links in client web part for https breaking
Is the blog external? If internal can't you use REST, and if it is external either use normal AJAX (if it supports CORS or JSONP), or use web proxy
Oct
13
comment Relative links in client web part for https breaking
You pull data with Web Proxy?
Oct
9
comment Create a Current Date and Time Variable in SharePoint Designer 2013
I'm also working against Online, so I can't see the data being passed. And I don't know how to "dump" response headers to history list. I can however tell you I got a count of 18 headers
Oct
9
comment Create a Current Date and Time Variable in SharePoint Designer 2013
Could you please elaborate? I'm facing the same problem and I can't find any way to get the current date and time from server. The "Today" will give date, not time. I'm currently trying to do something like this: sharepoint.stackexchange.com/a/130179/627 , but in Designer workflow I get that Date can't be read as string (or converted to DateTime).
Sep
14
comment Script Editor Web Part not recognizing Jquery
Do you add script tag with jQuery reference after the code above? Also, could some other script use the window.$ variable - have you tried with window.jQuery?
Sep
14
comment _api/web/lists/ returns all the lists including system generated
@rahul-patil is the default yes, I think it would be bad if the API was hiding elements based on "friendlyness". If you want lists for uploading you probably want document libraries, to get only libraries try $filter=BaseType eq 1. To only get document libraries specifically try $filter=BaseTemplate eq 101, but you'd also want libraries such as Picture library, which is 109. Catalogs are libraries, so you should probably combine with my filter above
Sep
13
comment _api/web/lists/ returns all the lists including system generated
@Akhoy I updated the answer. Feel it is not the correct approach, but for some parts it does seem to work
Sep
6
comment Upload a file in Host web using SharePoint Hosted App
Try using appWebContext for load and executeQueryAsync only, so it would be something like var files = hostWebContext .get_web()...; appWebContext.load(files);
Sep
1
comment Sharepoint Service access from android applciation
Is this for SharePoint Online? Do you need to authenticate as a user, or is it sufficient to authenticate as an app?
Aug
23
comment How to elevate permission in JSOM code to access SharePoint list?
Just a note, it is possible to use app-only permissions, although it must be run server-side (can be externally) and operations will not be run on behalf of any user.
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
@uberz91 yes this approach will likely mess up responsivenes, but I'm not sure. But bootstrap has reset CSS and rules which messes up SharePoint, so mixing can be difficult. You don't need to apply this to every element, just wrap all your markup in <div class="some-app">...</div>
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
@uberz91 my example above is literally all the code you need, that is 72 characters, not very much code in my opinion, but it could be made smaller, perhaps down to 16 chars, less will handle the rest. And you don't need to import bootstrap.less, you could select the parts you need.
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
Does this work? Can you remove scaffolding.less via their customizer? In my experience it's easier to wrap bootstrap even in manual building, since you need all the mixins and variables anyway (much less code to manage)
Aug
22
comment no style for SharePoint:DateTimeControl when add bootstrap CSS
Sorry I don't know about any tutorial, but here my first hit on google: treyhunner.com/2015/02/creating-a-custom-bootstrap-build