0
votes
1answer
44 views

javaScript will not fire unless the users do a hard re-fresh (ctrl F5) for the page

I have added the following script to my EnterpriseWiki.aspx page layout inside an enterprise wiki site collection:- <script type="text/javascript"> _spBodyOnLoadFunctions.push(function(){ ...
0
votes
0answers
26 views

New custom Create form does not auto complete “Owner“ field

I have an Issue Tracking list , and I have created a custom Create form using SharePoint designer , as follow:- The problem I am facing is that the owner field will not autocomplete the people ...
1
vote
1answer
57 views

change the default format for my “Modified” site column

I am working on an enterprisewiki site collection, and I want to change the date format for the following message at the top of each wiki page:- I want to change the date format to be somrthing ...
0
votes
1answer
24 views

Get an site column text field that is only displayable in editmode in published page

<PublishingWebControls:EditModePanel ID="EditModePanel1" runat="server" CssClass="edit-mode-panel title-edit"> <div id="NBSBranchAccountName"> ...
0
votes
0answers
35 views

Get the data from check box in edit page when in published page

<div data-name="EditModePanelShowInEdit"> <!--CS: Start Edit Mode Panel Snippet--> <!--SPM:<%@Register Tagprefix="Publishing" ...
0
votes
2answers
358 views

Include js file in Page Layout, after jQuery file in Master Page

I'm trying to include a javascript file in my page layout file. I already have it inside the "PlaceHolderAdditionalPageHead" Content Placeholder, and it includes the file, however I need it to be ...
0
votes
1answer
173 views

Sharepoint javascript:OpenPopUpPage Is not being displayed well on Safari and Chrome

I have added and code snippet to my team site home page to display a pop up when clicking on a link:- <li class="ms-comm-adminLinksListItem" unselectable="on"><a ...
0
votes
1answer
515 views

Removing Fellow & Sync buttons using javaScript worked well, while it will fail to hide the share Button

I have wrote the following three scripts at the end of my master page, to remove the Fellow,Sync and Share buttons:- <script type= "text/javascript"> ...
1
vote
4answers
1k views

How to perform date validation in publishing page layout?

I have the following 2 datetime fields which are used in my custom page layout on my publishing site. Basically, when a user is editing the page I want to validate that the 'NewsLiveDate' < ...
0
votes
0answers
349 views

Created a layout page, but getting a parentElement null error

I've created a layout page, when I run the page and look at the JavaScript console, I get a 'parentElement' null error message like this: Uncaught TypeError: Cannot call method 'parentElement' of ...
0
votes
1answer
588 views

Put Easy-Tabs in page layout rather than CEWP

Another question about the fantastic Christophe Humbert Easy Tabs library: Can the library be included in a page layout for a publishing site rather than in a content editor web part? This way it's ...
3
votes
2answers
4k views

Path to jQuery file for SharePointWebControls:ScriptLink

I'm working in SharePoint 2010 Designer to create a custom page layout. I've added a SharePointWebControls:ScriptLink control but am not sure what the path is to my jQuery library. It's uploaded to ...