Tag Info

Hot answers tagged

1

I think the issue is the value your retriving is not getting it at the correct moment first time round. Thats why on the second postback it would get the correct item value and its loaded within the context properly. have you tried calling the method out of the page load event? so at bottom code just do showStatusAlert(); instead. or use this method ...


1

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 ...


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: ...


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


1

For reference to others, I had this exact same issue. I was getting it in within a Console application on a specific environment, where I copied Publishing Pages from one site collection to another, iterating over a list of sources and destinations. My utility also copied web parts, and for some reason I thought I had to Fake the SPContext (Google it, your ...



Only top voted, non community-wiki answers of a minimum length are eligible