ASPX templates
Version 3.x > ASPX templates > Dinamicaly Assigning aspx template to external imported data View modes: 
User avatar
Member
Member
rhm002-gmail - 10/29/2008 8:43:18 PM
   
Dinamicaly Assigning aspx template to external imported data
Good Day

I am busy with writing an application to import a XML file into the Kentico database using Kentico API's. when I look at the site after importing the data, I can see that it was successful. only one problem, I created a ASPX template file that I need to link to the pages.

now my question, is it possible to during the import process to pre assign the ASPX template to the imported data.

Thank you,

Ronald

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 10/30/2008 9:10:05 AM
   
RE:Dinamicaly Assigning aspx template to external imported data
Hello Ronald,

I am not sure I get your point.

If you creates documents in similar way like is described here:

http://devnet.kentico.com/docs/devguide/creating_documents.htm

you could set one more document property:

node. DocumentPageTemplateID

and assign the page template according its ID.

If you meant something else please provide us more details.

Thank you.

Best regards,
Helena Grulichova