Setting up publishing for Experience Manager

To enable publishing content to a staging site for your users, show and fill in the Session Preview tab in a Publication Target.

Procedure

  1. Access Content Manager Explorer.
  2. If you have not already done so, create a Publication Target that publishes to your staging Web site.
  3. In the General tab of your Publication Target, select Enable for inline editing.
    A new Session Preview tab appears.
  4. On the new Session Preview tab, set Content Delivery Endpoint URL to the URL of the Experience Manager Web service end point. This URL is one of the following:
    • For a JSP Web site, add the string <baseURL>/cd_preview_webservice/odata.svc/. If you have a servlet-mapping defined in your web.xml, then insert the path of the servlet mapping after cd_preview_webservice/. For example, if your servlet mapping maps the Web service to a subdirectory ws/, add the string <baseURL>/cd_preview_webservice/ws/odata.svc/.
    • For a .NET Web site, add the string <baseURL>/odata.svc/.

    where <baseURL> is the base URL (host name and port) of the machine on which you set up your Content Delivery session preview Web service, for example, http://localhost:8080/.

  5. If you made your Experience Manager Web service secure, also set the following properties:
    OData Access Token URL

    The URL for obtaining an access token from the Experience Manager Web service. This value is one of the following:

    • For a JSP Web site, the URL is <baseURL>/cd_preview_webservice/access_token/
    • For a .NET Web site, the URL is <baseURL>/access_token.svc/

    where <baseURL> is the same base URL you used before.

    User Name
    The name of a user authorized to access the Web service. You configured this user name in the Web service configuration file, cd_webservice_conf.xml, when you secured the Web service.
    Password
    The password that this user uses to authenticate against the Web service. You configured this password in the Web service configuration file, cd_webservice_conf.xml, when you secured the Web service.
  6. Use the Add button under Web site URLs to create a list of one or more URLs that represent the staging Web site, such as http://localhost:82 or http://myserver.mydomain:83/.