Tag Info

New answers tagged

0

After much research and crawling through the internet I came across this article: http://blogs.msdn.com/b/uksharepoint/archive/2011/04/04/provisioning-web-parts-to-a-page.aspx There are many articles like this but in the beginning of the article it explains my issue quite succinctly: Embed references to the web parts directly in the mark-up of the aspx ...


0

On a teamsite for instance - do the following: Activate the following features: Site Collection Features - SharePoint Server Publishing Site Features - SharePoint Server Publishing ~ Navigate to the page library (Pages) ~ Create a new page ~ Set the new page as the welcome page of your site ~ Delete the SitePages library From now on, you will fully use ...


0

You have to activate the SharePoint Server Publishing Infrastructure Site Collection Feature and after that you can activate the SharePoint Server Publishing site (web) feature. This will create the necessary libraries (Pages library) inside the current web and you should be able to select a page layouts (for pages residing inside the pages library). I ...


1

try using the below script in CEWP: <a onclick="modalcall()" href="#">Add New Item</a><script type="text/javascript"> function modalcall() { SP.UI.ModalDialog.showModalDialog({ url: "NewForm.aspx", title: "New Item", //allowMaximize: true, //showClose: true, dialogReturnValueCallback: ...


0

The issue is that you should copy seattle.html which will auto create a .master page for you, and there is a link between the files. To resolve the issue, create a copy of seattle.html Now you have both a seattle_copy(1).html and seattle_copy(1).master. Next rename seattle_copy(1).html to for example test.html. A pop-up appears asking you to update ...


1

You can't change the .master file when it's bound like this, you can only edit the .html file. It will re-generate the .master when you save the .html. This is due to the Design Manager packet in SP2013. Here's the MSDN article on this feature set: http://msdn.microsoft.com/en-us/library/office/jj822363(v=office.15).aspx


0

Having reflected the assembly that provides the SetAvailablePageLayouts, I can confirm that all it is doing is setting the "__PageLayouts" web property (and pushing this update to child webs). As such using CSOM to set the property should be sufficient. I assume that the GUID is the UniqueId of the page layout in _catalogs/masterpage gallery.


0

A publishing layout is meant to provide a framework for page content. By its very nature, the layout elements are static and only the content controls can be manipulated by the user, i.e. adding text, images, links, etc.. Although web parts can be integrated into a page layout, the web part's settings will be static and not customisable. You may want ...


0

No. Clicking "Make Homepage" will only affect the current site.


0

This usually happens if you have a publishing site setup with approval workflow. You can delete the workflow if it is not needed. The library that the pages are on may also have content approval turned on and again if not needed, you could turn that off.


1

Try following: <SharePoint:UserField id="modifiedFieldCtrl" ControlMode="Display" FieldName="Author" runat="server"/> <SharePoint:FieldValue FieldName="Version" runat="server" ControlMode="Display" DisableInputFieldLabel="true"/> Custom Form Does Not Display "Created By" value


1

To change the locale for a specific site, go to the Site Settings area and select Regional Settings from the Site Administration group of links. For more options you can check: http://blog.funknstyle.com/2012/08/working-with-date-formats-in-sharepoint-2010/


0

You can retrive list item with javascript object model and get the field value from list item: http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx


0

i have applied the SP CU for september 2014, and my redirect problem has been solved . so now i do not need the workaround...


0

I think you just need to add your control to the safe controls section in your web.config. You can configure your VS project to do this for you. You should have a Module in your VS project, highlight this item and look at the properties window. You should see a Safe Control Entries property. Click the ellipsis in the box next to this property and it will ...


0

please create a javascript function PreSaveAction() in your page layout. In presave action will fire when you click on save button. You can write any javascript code in this function which needs to be perform just before saving the page. This is working fine in sharepoint list, but I have not tried in publishing page


4

How about something like this: <script type="text/javascript"> _spBodyOnLoadFunctions.push(function(){ ExecuteOrDelayUntilScriptLoaded(showStatusAlert, "sp.js"); }) function showStatusAlert(){ var ctx = SP.ClientContext.get_current(); var web = ctx.get_web(); var list = web.get_lists().getById(_spPageContextInfo.pageListId); var ...


1

This is expected behavior: The Site Master Page, affects Publishing Pages (/Pages) The System Master Page, affects Wiki Pages (/SitePages) http://blogs.technet.com/b/stefan_gossner/archive/2011/04/13/site-master-page-vs-system-master-page.aspx


0

Use Rest to find the Approval status and write an appropriate message The field is : Data_ModerationStatus You can see how rest works at: http://msdn.microsoft.com/en-us/library/office/jj860569(v=office.15).aspx (video). Also, use the ...


0

I have worked with a content approval process for an enterprise wiki recently. Here's how I did it. In order to have this work you need to turn on content approval for the list that you want to be approved. In our case we used the 'Pages' document library. In this you go to Library Settings -> Versioning Settings -> Content Approval. Here you can ...



Top 50 recent answers are included