Refreshing the registry
If you need to refresh the registry, there are several ways you can do it. You can use the DynaCacheInvalidation command, create a scheduled job to run after the stagingprop utility, or call the refresh registry process by URL.
Refresh the registry with the DynaCacheInvalidation command
WCR+<registryName>
, the scheduler job adds a broadcast
scheduler job. This addition causes the specified registry to be refreshed on each currently running
Transaction server. For more information, see DynaCacheInvalidation URL.WCR+?
, the scheduler job adds a broadcast scheduler
job. This addition causes all registries to be refreshed on each currently running Transaction server.Create a scheduled job to run after the stagingprop utility
If you ran the stagingprop utility to propagate changes and now you need to refresh the registry. After you propagate changes from an authoring instance to a production live instance, you need to refresh the registry before some updates display in your store. For instance, if your live instance store includes running web activities or e-Marketing Spots, you need to refresh the registry.
You can create a scheduled job to run after the stagingprop utility runs to refresh the registry whenever the stagingprop utility runs. For more information, see Scheduling a site-level job.
For more information about running the stagingprop utility, see Stagingprop utility.
Call the refresh registry process by URL
You can also refresh the registry by calling the refresh registry process by URL. You can include
the RefreshRegistry
parameter within a URL request for logging in to your live
instance store. With this URL request, you need to first call the login process to authenticate your
user account, and then the URL can redirect to the refresh registry URL and begin the refresh.
-
For example:
Where:https://
host_name
.com/webapp/wcs/stores/servlet/Logon?logonId=user_name
&logonPassword=user_password
&URL=RefreshRegistry?URL=TopCategoriesDisplay- host_name
- The host name for your live instance store where you need to refresh the registry.
- logonID
- The logon ID for the user account that you use to log in to your store.
- logonPassword
- The plain text password for your user account.
Important: This approach uses a password that is in plain text.For more information, see: