Tag Info

New answers tagged

1

Yeah, it is pretty common problem. No matter how you try to edit your code it will be difficult to read, debug, manage, and update, when it is written inside elements.xml. I know that question is about the editor itself, but sometimes it is much better to write your JavaScript code in another .js file, and use only reference in CommandAction. You can load ...


1

Looks like a no. I don't believe this is possible using Data for the ListInstance. I tried saving a list as a template including data which had a list item with an attachment. Then downloaded the STP, renamed to a CAB and extracted the manifest.xml. There wasn't any attributes which stood out and the STP also contained a file called ...


0

Paul, This is the code snippet you may be looking for <File Url="SharePoint-2013.pdf" Type="GhostableInLibrary" Level="Published" Path="SharePoint-2013.pdf"> <Property Name="ContentTypeId" Value="0x01010A00762D39FADE144DBBA15F7D59F9D4E83A00AE6A1E5FEEB3984E8CBDFA328116731B" /> <Property Name="FileLeafRef" ...



Top 50 recent answers are included