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 both values) and click Log In.Click Experience Manager.
Under Content, expand Shared, then click Auto-Suggest Panels.
Click 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 Discard to delete your changes.