If you need to refresh the registry, there are several ways you can do it. You can usethe DynaCacheInvalidation command, create a scheduled job to run after thestagingprop utility, or call the refresh registry process by URL.
Refresh the registry with the DynaCacheInvalidation command
To ensure that your registries are refreshed and your updated content is displayed, you can runthe DynaCacheInvalidation command. Be sure that theenableRefreshRegistry parameter is set to true. Whenthis parameter is true, the DynaCacheInvalidation schedule job inspects eachvalue in the DATAID column of the CACHEIVL database table. If the values in thiscolumn are in the form WCR+<registryName>
, the scheduler job adds a broadcastscheduler job. This addition causes the specified registry to be refreshed on each currently runningTransaction server. For more information, see DynaCacheInvalidation URL.
Tip: If the values inthis column are in the form WCR+?
, the scheduler job adds a broadcast schedulerjob. 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 torefresh the registry before some updates display in your store. For instance, if your live instancestore 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 registrywhenever 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 includethe RefreshRegistry
parameter within a URL request for logging in to your liveinstance store. With this URL request, you need to first call the login process to authenticate youruser account, and then the URL can redirect to the refresh registry URL and begin the refresh.
For example:
https://
host_name
.com/webapp/wcs/stores/servlet/Logon?logonId=user_name
&logonPassword=user_password
&URL=RefreshRegistry?URL=TopCategoriesDisplayWhere:
- 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: