Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > Document URL source problem View modes: 
User avatar
Member
Member
tspring-allegra - 2/22/2010 9:39:44 AM
   
Document URL source problem
Hi

I've created a new document type and set the 'document name source' and 'document alias source' to one of the document fields (set under CMSSiteManager/Document Types/Fields).

If I add a new document file of this type to my site, say I create a new document with the source field writen as 'newtype' so the following document URL is created 'mysite.com/newtype.aspx'. After it's created and I go back into the CMSDesk/Form tab of that document and change the source field to another name, say 'othertype', the URL of the document stays at 'mysite.com/newtype.aspx' and doesnt change to 'mysite.com/othertype.aspx'.

Is there any way to make it so when I update the source field that the document name and alias are linked to, it properly updates the URL of that document? I realise I can change the document URL in Properties/ULRs. But I need the URL to change dynamically with the source field, and also dont want to update the document twice (one for name and one for URL) everytime I want to change it.

Hope that makes sense!

Thanks,
Tim

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 3/2/2010 7:37:59 AM
   
RE:Document URL source problem
Hi Tim,


Please go to: Site manager -> Settings -> URLs and Seo and set up: Use name path for URL path: checked

It will work for new documents. If you want this functionality for existing documents, please configure Use custom URL path: unchecked in document Properties -> URLs.


Best regards,
Helena Grulichova