Documentation Center

Setting up publishing for Experience Manager in the deprecated publishing framework

If you are using the publishing framework that was deprecated in SDL Web 8, enable publishing content to a staging site for your users by showing and filling 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 Preview service end point. This URL is one of the following:
    • For a JSP Web site, add the string BASEURL/cd_preview_webservice/preview.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/preview.svc/.
    • For a .NET Web site, add the string BASEURL/preview.svc/.

    where BASEURL is the base URL (host name and port) of the machine on which you set up your Content Delivery Preview Service, for example, http://localhost:8080/.

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

    The URL for obtaining an access token from the Token Service, which runs on the same host and port as the Discovery Service. The Token Service is registered as a Capability in the Discovery Service. The URL is BASEURL/token.svc, where BASEURL is the URL of the host and port of the Discovery Service.

    User Name
    The name of a user authorized to access the Web service. You reconfigured this user name in the Ambient Data Framework configuration file, cd_ambient_conf.xml (originally 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 reconfigured this password in the Ambient Data Framework configuration file, cd_ambient_conf.xml (originally 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/.