close

Filter

loading table of contents...

Studio Developer Manual / Version 2310

Table Of Contents

9.32.8.4 Obtaining the PreviewUrlService independently from Studio Server

By adding the following Maven dependency to your extension, the preview URL service will be automatically instantiated as a Spring bean by the means of Spring Boot. The bean is visible under the name 'contentPreviewUrlService'.

  <dependency>
    <groupId>com.coremedia.cms</groupId>
    <artifactId>preview-url-service</artifactId>
  </dependency>

To use the preview URL service, the service needs to be configured by offering one or more preview providers. The providers must be created as described above, using a Spring Boot configuration class.

Please read the Javadocs for detailed information about the PreviewUrlService and PreviewProvider.

Search Results

Table Of Contents
warning

Your Internet Explorer is no longer supported.

Please use Mozilla Firefox, Google Chrome, or Microsoft Edge.