I understand that the Shared Resources uses replica id to locate the resource when the resource is in a different database.
This all very well for development of applications but what happens when you generate an NTF files and role out a new application? The database replica ID’s are all different and therefore the Share Resources cannot be found. Unless you deploy the development replica of the databases into production (not something practical or recommended in most production environments) all the references to the shared resources database are invalid.
Furthermore, it appears that some formulas are being performed in the context of the Reference database rather than the database where the code is used.
For example:
Create a subform in a shared resource database.
On the subform create a field to display $Ref.
In a different database call the subform into a response document.
Create a main doc and the response document.
When viewing the response document the $ref field refers to the shared resource database not the application database. The link gives the message “The linked document cannot be found” and in the Link Properties you can see references to the Shared Resource database!
Is there a way of coding the replica ID for the shared resources database? Or am I just being stupid and missing the point of the Shared Resources?