Tag Info

New answers tagged

0

There can be multiple content types associated with the library. Make sure you added the column to the correct content types. Open pages library settings Open the content types Add new site column


0

After testing I was able to show the HTML Content of the Authoring site's page by changing the Property Mappings of the Content Search Web Part. I used 'PublishingPageContentOWSHTML' as a manged property to do this.


0

A hyperlink column will let you create a hyperlink, but it will block your javascript injection for security reasons (and rightly so - otherwise anyone could write any amount of javascript and have it execute on the page). There are many ways to do what I think you are trying to do. I recommend using jQuery to rewrite your links after the page loads.


0

Looks like you're looking for MSOLayout_InDesignMode var inDesignMode = document.forms[MSOWebPartPageFormName].MSOLayout_InDesignMode.value; if (inDesignMode == "1") { // page is in edit mode } else { // page is in browse mode } This will refer to value of the following html input control, which is rendering on the page when it is in edit mode: ...


0

Searched over google for hours but not helped. So finally, I went through JavaScript and REST query. So finally, to get the Last Check In comment I needed to modify my code of Page Layout. The page layout contains below markup: <tr> <th><label id="lblComment">Comment: &nbsp;</label> </th> <td ...


1

I don't think there would be a way around. Because it seems that they have intentionally kept this feature and hence provided the Save Conflict popup to deal with the situation. Update : Using Page Layout you can hide it as follows. Wrap <b> <SharePoint:EncodedLiteral runat="server" ...



Top 50 recent answers are included