< Back

Document Subject: Golden Rule No4: No Hard coding of replica IDs
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#GR4 or http://A555F9/nn.nsf/ByAlias/GR4
Golden rule about Hardcoding replica IDs in database code.

This rule is not as important as Hardcoding names or URLs but is still a good rule of thumb.

Replica IDs should not be hardcoded. Stick them in a keyword document and use Dblookup to find them each time.

Replica IDs should not be used unless the database is replicated over many servers, and you want the user to use their local replica.

Server and path should be used where possible as Notes can find the databases quicker.