sharepoint - Install a custom ASPX file as part of a ListTemplate definition -


I am using VSeWSS 1.3 to create a custom list definition for "custom" . P>

  & lt; Element id = "8924acef-84ef-4584-ade4-e3eaeb8df345" xmlns = "http://schemas.microsoft.com/sharepoint/" & gt; & Lt; "Type" Itgen.gif "/> & Lt; Custom Action ID = "Mylist. Print" location = "Microsoft SharePoint Standard Menu" group ID = "Actionman" title = "Print Myitm" Details = "Print empty copies of this form." Registration Type = "List" ControlAssang = "Mileist, Version = 1.0.0.0, Culture = Neutral, Public Key Token = D6A1316a726 BCD, Processor Arcterrator = MSIL" Control Class = "MyList. Print Action Menu" / & gt; & Lt; Module name = "ActionPages" Url = "" & gt; & Lt; File Url = "PrintForm.aspx" type = "Bhottable" path = "MyListDefinition \ PrintForm.aspx" /> & Lt; / Module & gt; & Lt; / Elements & gt;  

The file 'PrintForm.aspx' is installed correctly on the server under ... \ 12 \ TEMPLATE \ attributes , but It does not appear after after setting up the list template and creating a new list using this template.

I suspect that I am remembering the right qualities

in you There should also be something in Schema.xml and schema.xml in my ListDefinition.xml file in the / and tag.

  & lt; Form & gt; & Lt; Form Type = "DisplayForm" Url = "DispForm.aspx" WebPartZoneID = "Main" /> & Lt; Form Type = "EditForm" Url = "EditForm.aspx" WebPartZoneID = "Main" /> & Lt; Form type = "newform" url = "newform.expx" webpagejoin id = "main" /> ...... your form here & lt; / Forms & gt;  

Try the SharePoint solution generator to export a current list (comes with VSESSESS), this will give you an entire XML definition, you can use it as a reference. Are there.

P.P.S. In the link posted in the comment, it indicates that files should be registered in such a facility:

  & lt; ElementFile location = "general list \ schema.xml" /> & Lt; ElementFile location = "General list \ DispForm.aspx" /> & Lt; ElementFile location = "generic list \ editForm.aspx" /> & Lt; ElementFile location = "generic list \ NewForm.aspx" /> & Lt; ElementFile location = "General list \ AllItems.aspx" />  

Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -