Studio Developer Manual / Version 2304
Table Of ContentsBy 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
.