Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > HELP! Creating new File Document Type View modes: 
User avatar
Member
Member
jpearce-missouricitytx - 4/8/2009 11:49:35 AM
   
HELP! Creating new File Document Type
I am trying to create a new document type that behaves like the File document type. The new document type that I created has additional fields (meta data) on it that I am using to filter the files on some of my pages. I basically created this new document type with the same field names that the CMS.File document type has.

The problem that I am having is that when I try to link to this new file document, instead of it linking to the attached file it is linking to tha page itself which shows up blank except for the content of the master page.

I hope this makes sense.

Basically all I want to do is be able to create a document type that behaves just like the File document type, but allows me to add additional fields to it.

Thanks in advance!
Jason

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 4/10/2009 8:43:48 AM
   
RE:HELP! Creating new File Document Type
Hello,

Please make sure that you have correctly specified 'New page' and 'Editing page' properties specified correctly. You can find them here: 'Site Manager -> Development -> Document Types -> Edit(your_file_doc_type) ->General tab'.

There should be following: ~/CMSDesk/Content/NewFile.aspx for New page and ~/CMSDesk/Content/ViewFile.aspx for Editing page. You may need to edit these files when you wish to add new fields.

Best regards
Ondrej Vasil