when I use this code
I get url like this: /Rx/TestContent_DoNotUse/Test/item1593.html.
But instead of item1593.html I need to have landings page file name (which is our custom field) and “.cfm” file extension. How and where can I change this standard behaviour?
This is all to do with location schemes. Content Explorer (logged in as admin role) > Publishing tab > context
The system is probably defaulting to the default location scheme. You can either change this one or create individual ones for each template.
Have a look at the implementation guide for a more on Publishing and location schemes
Thanks James, that was what I was looking for.