Bottom Line question: How can we manage same Component Presentation (which is statically on a Page) appear in multiple places on various pages without having to write logic in the PT.
Situation: Publication "Pub" will always publish XML files with Pages having static CPs in it. "Pub" has 3 SG's and each SG's Pages are consumed by 3 different Java based platforms. SG names: SG1, SG2 and SG3.
Important part: The page layout is controlled by these Java platforms. They have slot numbers for every CP to determine where it is placed on a Page. So the idea is to have "associate" a slot number to a CP and publish the Page, so the Java platforms understand where to render the CP.
FYI - Position of CP on a page is immaterial as I mentioned that page payout is controlled by these Java platforms.
Work done till now: 1. Built an Anguilla UI extension to have a new tab for every CP on the right side which would take a slot id as an input.
Questions:
How can we save the slot id on a page save and retrieve it when the page is opened? Can a data extender help in this case and how? Or would ECL would be the right way?
Another idea is to create a page metadata field which will store delimited slot Id and CP Id (Comp and CT id) info. And have validations that a user shouldn't be able to change change that field manually. (This to me seems a work around, if there is no way to do point 1)
Wish I could : Explain Java platforms/businesses - How Tridion works and try to manage the page layout in Tridion :)