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:- prompt
- 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.
- assetStore
- 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.
- eSite
- 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
storeSelection
parameter
in each Createor
Editlink individually. For example, if you want to change the
storeSelection
parameter
for the Editlink for catalog entries, you must modify each
Editlink in various store JSP files.
Procedure
- Open HCL Commerce Developer and switch to the Enterprise Explorer view.
- Open the JSP file for the store page or store preview pop-up
window that contains the target
Create
orEdit
link.The following topic lists the JSP files that containCreate
andEdit
links for various business objects: - Find the line of code that starts with:
<c:param name="storeSelection"
- In the line of code, change the
value
parameter to the appropriate value.For example, thestoreSelection
parameter in the following example is configured to open the extended site store:<c:param name="storeSelection" value="eSite"/>
- Save and close the file
- Repeat these steps for each additional
Create
orEdit
link for which you want to change the preferred store.