Is it possible to make a Screen Personas template object's ID static?
I'm currently adding a box that displays the current username and userID to each screen. To simplify this, I've created a template with the formatting and layout I plan on using, and added a script to the template that gets the username, calls an RFC to get the userID, and then populates the two label objects within the template with this information.
The issue I'm running into, is that while the objects within the template retain their object ID's, the template object itself does not. The current method of object selection uses a WINDOW_ID/PARENT_OBJECT_ID/SELECTED_OBJECT_ID format, and in this instance, the PARENT_OBJECT_ID is the ID that is assigned the template when it is inserted into the flavor, rather than the ID it is given when designing the template.
While it's related to the question that Alexandre Ourth had back in April (which if it's possible to request features, creating custom object ID's would be near the top of my list for improving the re-usability of scripting in personas), in the case of templates, the object ID is assigned, and then apparently re-assigned by the system when it is used.
If it is not possible to make it static, is there a script that can be used to identify the parent ID of an object within a template?