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/bindirectory, for example,/usr/local/endeca/ToolsAndFrameworks/version/credential_store/binorC:\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 clientCredentialFor example:
./manage_credentials.sh add --user admin --config $ENDECA_TOOLS_ROOT/server/workspace/credential_store/jps-config.xml --type generic --mapName restService --key clientCredentialOn Windows, enter:
manage_credentials.bat add --user admin --config [path to jps-config.xml] --type generic --mapName restService --key clientCredentialFor example:
manage_credentials.bat add --user admin --config %ENDECA_TOOLS_ROOT%\server\workspace\credential_store\jps-config.xml --type generic --mapName restService --key clientCredentialAt 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/bindirectory, for example,/usr/local/endeca/ToolsAndFrameworks/version/server/bin.Execute the
shutdownscript:./shutdown.shExecute the
startupscript:./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
adminfor both values) and click Log In.Select
CRSfrom the top-lef t menu, then click Experience Manager.Under Content, expand Shared, then click Auto-Suggest Panels.
Click the plus sign to add new content.
Click Select User Segments. The Business Control Center user segments (Fashionista, MenOnly, ThirtySomethings, WomenOnly, and Young) should appear in the Add/Modify User Segments dialog box.
Click Cancel then click the X in the upper-right corner to delete your changes.
Click Discard.

