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

Oct
14
accepted Programmatically create workflow with JavaScript, JSOM and SP.WorkflowServices.WorkflowServicesManager
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
asked Programmatically create workflow with JavaScript, JSOM and SP.WorkflowServices.WorkflowServicesManager
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
revised Create a Current Date and Time Variable in SharePoint Designer 2013
added 216 characters in body
Oct
9
revised Create a Current Date and Time Variable in SharePoint Designer 2013
added 9 characters in body
Oct
9
answered Create a Current Date and Time Variable in SharePoint Designer 2013
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
13
revised _api/web/lists/ returns all the lists including system generated
added 789 characters in body
Sep
13
answered _api/web/lists/ returns all the lists including system generated
Sep
7
answered Sharepoint Service access from android applciation
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
30
awarded  Nice Answer