HCL Commerce DeveloperHCL Commerce Enterprise

Changing the store preference setting for the click-to-edit function

For an extended site, when business users click a Create or Edit link in store preview, the click-to-edit function displays a prompt. From the prompt, business users can choose to open the asset store or the extended site store to continue their work in Management Center. You can configure any Create or Edit link to always open either the asset store or the extended site store, rather than displaying a prompt.

In the code for each link, the storeSelection parameter controls the store preference setting. This parameter can have one of the following three values:
Display a prompt that lets the business user select either the asset store or extended site store. This is the default value. If your business users use both the extended site store and the asset store to manage the business objects that relate to this link, use this value.
Open the asset store (either the storefront asset store or the catalog asset store, whichever applies to the business object that is being edited). If your business users manage all business objects that relate to this link in the asset stores, use this value.
Open the extended site store. If your business users manage all business objects that relate to this link in the extended site store, use this value.

About this task

You must set the storeSelection parameter in each Create or Edit link individually. For example, if you want to change the storeSelection parameter for the Edit link for catalog entries, you must modify each Edit link in various store JSP files.


  1. Open HCL Commerce Developer and switch to the Enterprise Explorer view.
  2. Open the JSP file for the store page or store preview pop-up window that contains the target Create or Edit link.
    The following topic lists the JSP files that contain Create and Edit links for various business objects:

    Click-to-edit code snippets in the Aurora starter store

  3. Find the line of code that starts with:
    <c:param name="storeSelection"
  4. In the line of code, change the value parameter to the appropriate value.
    For example, the storeSelection parameter in the following example is configured to open the extended site store:
    <c:param name="storeSelection" value="eSite"/>
  5. Save and close the file
  6. Repeat these steps for each additional Create or Edit link for which you want to change the preferred store.