Is there a way to set the list setting "Launch forms in dialog" to 'No' via the List definition?
I have a custom list definition that I create in visual studio, i'd like to set the setting once so that i can easily deploy and create my list without manually setting this option.
Andy had the right attribute, just the wrong value. It should be:
NavigateForFormsPages="TRUE"
This will disable launching of forms in a dialog.
In the tag for your definition you need to add the attribute:
NavigateForFormsPages="FALSE"
This doesn't appear to be in the online CAML documentation.
FYI, there also seems to be a property for choosing what application should open the document:
BrowserFileHandling="permissive"
I found this by saving a list as a template, downloading the STP file, changing the extension to a .cab, extracting and reviewing the manifest file.
The relevant line was:
<List Name="{AFB613BE-5A3E-47FB-989C-FD4FB060AEE8}" Title="test" Description="" Direction="0" BaseType="0" FeatureId="{00BFEA71-DE22-43B2-A848-C05709900100}" ServerTemplate="100" Url="Lists/test" FolderCreation="FALSE" NavigateForFormsPages="TRUE" BrowserFileHandling="permissive" Version="1">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With