creating link to content item that don't contain the filename

Hi

Is it possible to create links (in the public context) to content items that don’t contain the filename?

For example

Page x has a link to page y and page y has to been assigned to the landing page slot of the navon in foldery so the link on Page x should be:

http://www.site.com/foldery

but page y still needs to be published out as:

http://www.site.com/foldery/index.html

So I could create a new folder context that contains the correct location scheme just showing the folder but I’m unsure as to how to switch between the publish context and the folder context at publish time.

Has anyone else done this?

Cheers
James

We use function from the PSO toolkit for this $user.psoRelationships.isLandingPage($sys.item.getProperty(‘rx:sys_contentid’).String)) this returns true if the page is slotted into a landing page slot

Then in the publish context we have it setup to publish landing pages as index.html but in the Site Folder Assembly context it leaves the index.html part out.

Hi Kevin

That’s for that, i’ve got that part setup. How do you get the links to use the site folder assembly context when publishing the files out using the publish context?

Cheers
James

The parameter sys_assembly_context=301 is set in the content lists Url field. 301 is the default Site Folder assembly context. I am pretty sure we just copied the fastforward content lists.

example of our full non binary content list
/Rhythmyx/contentlist?sys_deliverytype=filesystem&sys_assembly_context=301&sys_contentlist=soasSOASFullNonBinary