I have a unusual requirement, I need to have a Structure Group with 2 pages. One called index.html
and one called index.jsp
.
I thought easy!
- Set the name of each to the full file name i.e.
index.html
&index.jsp
- Then, set the filename of both pages to
index
and the Page Template would handle the different extension
But, I unexpectedly (in my opinion) get:
System.ServiceModel.FaultException`1[Tridion.ContentManager.CoreService.Client.CoreServiceFault]: Name, File name must all be unique for items of type: Page within this Structure Group and its BluePrint context. Source or sources of conflict: tcm:xx-xxxx-xx. (Fault Detail is equal to Tridion.ContentManager.Core Service.Client.CoreServiceFault).
Tridion does not like the two filenames being index
, even though they have different extension provided by the Page Template.
Is this a bug, or by design? Any ideas?