Reputation
4,696
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
2 11 25
Impact
~257k people reached

Apr
8
answered Why is JQuery saving my field as blank when I set the field to disabled
Apr
8
revised Navigating to new page loses querystring
added 716 characters in body
Apr
8
answered Navigating to new page loses querystring
Apr
8
comment Simple way to implement cascading drop down?
You might be able to solve this by waiting. It might be coming, see this image which hints to it, ref sp2013.blogspot.no/2014/03/…
Apr
4
comment How do I migrate a document library (and just the documents) with PowerShell
@Jason, what I meant by extracting the .cmp-file was to use PowerShell to manually add the stuff you want from the XML file. Although if you are doing manual work you might as well just Export-csv the item data and save the files, although the cmp-file is kind of this, as it has all the data
Apr
4
comment How do I migrate a document library (and just the documents) with PowerShell
Extracting and importing the files with PowerShell should be straight forward. Although what you can do is to use Export-SPWeb, extract the .cmp-file (7zip works), then add the .dat-files to wherever you want (their metadata is stored in Metadata.xml
Apr
4
revised How to make Provider Hosted app available in another site collection?
Move important parts from comments up to answer
Apr
4
comment How to make Provider Hosted app available in another site collection?
When you say "insert into page", are you actually looking for "Client Web Part"? The app itself will just be a link to the web application of your provider hosted app
Apr
4
comment How to make Provider Hosted app available in another site collection?
How about just using appregnew.aspx, use same AppID as ClientID as the web app has, then just upload the app to the Site Collection? We use this on one of our sites and it does seem to work
Apr
4
comment Javascript on masterpage returns undefined
What returns undefined? The function FeetchURL has no return and will then always return underfined. The global variable currURL will be set asynchronously, as ctx.executeQueryAsync is asynchronous, which means in you code you can't know when it is set
Apr
4
comment Get Context through REST call
Beside the part about context, if you just want to query the current user you can just query against /_api/web/CurrentUser, e.g., $.get('/sites/eirik/_api/web/CurrentUser', function(d) { console.log($('Email', d).text()); });
Apr
4
comment Get Context through REST call
For apps when you want to use an app context with REST use SP.AppContextSite, e.g., $.get("/_api/SP.AppContextSite(@target)/web/title?@target='http://localhost/sit‌​es/test'",function(d) { console.log(d); });
Apr
4
comment SharePoint Popup Close validation
This is true @alexander-ulmaskulov, although I for one consider IE8 to be good enough support
Apr
4
comment Provider Hosted app server error
Not sure what is the best approach, perhaps something simple as logging to a file? NLog or simply System.IO.File.AppendAllText or similar. If this is null then there is something funky about the session on your deployed site. Does it have Windows auth enabled?
Apr
3
comment Sharepoint Hosted Permission (SP 2013)
Have you tried to set yourself as Site Collection administrator on the SPSite you try to deploy to? Also if this is for development you could try to enable the developer feature (simply Enable-SPFeature Developer -Url <SPSite url>
Apr
3
comment Sharepoint 2013 delete AttachmentFiles by JS
Updated, hope this helps :)
Apr
3
revised Sharepoint 2013 delete AttachmentFiles by JS
added 1409 characters in body
Apr
3
comment Where to put ContentPlaceHolderMain in custom master page
Good point. I guess we just have to wait for OP to deliver
Apr
3
comment Where to put ContentPlaceHolderMain in custom master page
Are you sure? Isn't the div the syntax for the 2013 branding stuff
Apr
3
comment SharePoint Popup Close validation
It might be a bit "much", but how about storing a User Profile property?