Studio Developer Manual / Version 2010
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 informations about the PreviewUrlService and PreviewProvider.