Tag Info

New answers tagged

0

You can get the File URL using following property function _onSucceed(){ var html=""; for(var i = 0; i <results.length; i++){ html+= results[i].get_item("FileRef"); } } To form the full URL you can use _spPageContextInfo.webAbsoluteUrl + results[i].get_item("FileRef")


0

For filtering out blank dates you can add more conditions to the existing filter. Planification Start Date "is not equal to" __ (Keep blank) AND Planification Start Date "is less than or equal to" [Today] AND Planification End Date "is not equal to" __ (Keep blank) AND Planification End Date "is greater than or equal to" [Today]


0

Running the below PowerShell script fixes the issue, you need to change the site url in line 01. The script is actually looks for the pages library in the site for which url is given and assigns the ID of the pages library to the __PagesListId property. $web = get-spweb http://site-collection/path-to-affected-site $correctId = $web.Lists["Pages"].ID ...


0

Try deactivating and activating publishing feature stsadm -o deactivatefeature -name PublishingWeb -url http://siteurl -force iisreset stsadm -o activatefeature -name PublishingWeb -url https:/siteurl iisreset


0

The basic equivalent would be: $().SPServices({ operation: "GetListItems", async: false, listName: "Pages", completefunc: function (xData, Status) { $(xData.responseXML).SPFilterNode("z:row").each(function() { //do something with each page }); } }); You'd most likely want to include a CAMLQuery to get the ...


1

Use jQuery and CSS to disable spell check in fields present on your publishing page. Check the articles: http://robertocina.wordpress.com/2014/09/25/disable-spell-checking-on-a-publishing-page-in-sharepoint-2013/ http://www.restfuldevelopment.net/sharepoint-2010-fix-for-spell-check-of-publishing-site-userfield-using-jquery/



Top 50 recent answers are included