In order for user segment sharing to work, you must add a credential to the Workbench that matches the credential you specified in the OPSS configuration in CIM. To add a credential to the Workbench, you use the manage_credentials
script in the /credential_store/bin
directory under ToolsAndFrameworks
.
To add a credential to the Workbench:
In a UNIX shell or command prompt on the server that is running Guided Search with Experience Manager, navigate to the
ENDECA_TOOLS_ROOT/credential_store/bin
directory, for example,/usr/local/endeca/ToolsAndFrameworks/
version
/credential_store/bin
orC:\Endeca\ToolsAndFrameworks\
version
\credential_store\bin
.Enter one of the following commands.
On UNIX, enter:
./manage_credentials.sh add --user admin --config [
path to jps-config.xml
] --type generic --mapName restService --key clientCredential
For example:
./manage_credentials.sh add --user admin --config $ENDECA_TOOLS_ROOT/server/workspace/credential_store/jps-config.xml --type generic --mapName restService --key clientCredential
On Windows, enter:
manage_credentials.bat add --user admin --config [
path to jps-config.xml
] --type generic --mapName restService --key clientCredential
For example:
manage_credentials.bat add --user admin --config %ENDECA_TOOLS_ROOT%\server\workspace\credential_store\jps-config.xml --type generic --mapName restService --key clientCredential
At the prompt, enter the same credential you specified during the OPSS configuraiton in CIM.
Re-enter the credential to confirm the addition.
Follow the instructions below to restart the ToolsAndFrameworks service.
To restart the ToolsAndFrameworks
service on UNIX:
In a UNIX shell, navigate to the
ENDECA_TOOLS_ROOT/server/bin
directory, for example,/usr/local/endeca/ToolsAndFrameworks/
version
/server/bin
.Execute the
shutdown
script:./shutdown.sh
Execute the
startup
script:./startup.sh
To restart the ToolsAndFrameworks service on Windows:
From the Start menu, choose Administrative Tools > Services to open the Services control panel.
Right-click the Endeca Tools Service and choose Restart.
To confirm that the Business Control Center user segments are appearing in Experience Manager:
In a browser, navigate to
http://<Workbench_host>:8006/ifcr
.Enter your Workbench username and password (default is
admin
for the username andAdmin123
for the password) and click Log In.From the Administrative Tools menu, select the
CSAen
application.Click Experience Manager.
Under Rules, expand Web, then click Scrolling Media.
Click the New Rule plus sign.
Click Select User Segments. The Business Control Center user segments (
site.storeSiteDE
,site.storeSiteUS
) should appear in the Add/Modify User Segments dialog box.Click Cancel in the Add/Modify User Segments dialog box.
Click the X to close the cartridge editor, then click Discard to delete your changes.