We have a requirement were Editors want to link to a page (Page in Tridion) from component field instead of using the Tridion component linking. We decided to use the Item Selector custom URL approach to select a page. Using Item Selector we can either retrieve the TCM ID of page or the published path. The pros and cons can be.
1. Using TCM ID
Pros: The TCM ID will remain unique in same CM environment, so even if Editors move across the pages from one SG to another, it shouldn't create a problem.
Cons: This will fail when content is ported from one env to another.
2. Using Published path of the page
Pros: The paths will not change across environments (In case if same SG structure is maintained). Also Editors feel more comfortable to see the page path/ title rather than TCM ID.
Cons: If the pages are moved across SGs, the path needs to be updated again which is not a feasible option.
Right now we are going with TCM ID approach (considering content will be created separately in each environments) and also the timelines.
Suppose we decide to go with second option, how can we automatically update the published path in component on page cut/paste?
What are the best options in either case?
(Either of the approach will require some work in JAVA Delivery side as well, which I haven't mentioned it here).