Studio Developer Manual / Version 2110
Table Of ContentsCopyright CoreMedia GmbH © 2022
CoreMedia GmbH
Ludwig-Erhard-Straße 18
20459 Hamburg
International
All rights reserved. No part of this manual or the corresponding program may be reproduced or copied in any form (print, photocopy or other process) without the written permission of CoreMedia GmbH.
Germany
Alle Rechte vorbehalten. CoreMedia und weitere im Text erwähnte CoreMedia Produkte sowie die entsprechenden Logos sind Marken oder eingetragene Marken der CoreMedia GmbH in Deutschland. Alle anderen Namen von Produkten sind Marken der jeweiligen Firmen.
Das Handbuch bzw. Teile hiervon sowie die dazugehörigen Programme dürfen in keiner Weise (Druck, Fotokopie oder sonstige Verfahren) ohne schriftliche Genehmigung der CoreMedia GmbH reproduziert oder vervielfältigt werden. Unberührt hiervon bleiben die gesetzlich erlaubten Nutzungsarten nach dem UrhG.
Licenses and Trademarks
All trademarks acknowledged.
April 09, 2022- 1. Introduction
- 2. Overview
- 3. Deployment
- 4. Quick Start
- 5. Concepts and Technology
- 6. Structure of the Studio Client Workspace
- 7. Developing with the Studio Client Workspace
- 8. Using the Development Environment
- 9. Customizing CoreMedia Studio
- 9.1. General Remarks On Customizing (Multiple) Studio Apps
- 9.2. Adding Entries to the Apps Menu
- 9.3. Studio Plugins
- 9.4. Localizing Labels
- 9.5. Document Type Model
- 9.6. Customizing Property Fields
- 9.7. Hiding Components on Content Forms
- 9.8. Coupling Studio and Embedded Preview
- 9.9. Storing Preferences
- 9.10. Customizing Central Toolbars
- 9.11. Managed Actions
- 9.12. Adding Shortcuts
- 9.13. Inheritance of Property Values
- 9.14. HTML5 Drag And Drop
- 9.15. Customizing the Library Window
- 9.16. Studio Frontend Development
- 9.17. Work Area Tabs
- 9.18. Re-Using Studio Tabs For Better Performance
- 9.19. Dashboard
- 9.20. Configuring MIME Types
- 9.21. Server-Side Content Processing
- 9.22. Available Locales
- 9.23. Toasts and Notifications
- 9.24. Annotated LinkLists
- 9.25. Image LinkLists
- 9.26. Custom Workflows
- 9.27. Content Hub
- 9.28. Feedback Hub
- 9.29. User Manager
- 9.30. User Properties
- 9.31. Adding Entity Controllers
- 9.32. Multiple Previews Configuration
- 9.32.1. Configuration of a preview
- 9.32.2. CAE Preview Provider
- 9.32.3. Headless Preview Provider
- 9.32.4. Commerce Headless Preview Provider
- 9.32.5. Studio URI-Template Preview Provider
- 9.32.6. Common URI-Template Preview Provider
- 9.32.7. Generic Preview URL Service Provider
- 9.32.8. Public API of the Preview URL Service
- 10. Security
- 11. Configuration Reference
- Glossary
- Index
List of Figures
- 2.1. Architecture of CoreMedia Studio
- 2.2. Runtime components
- 4.1. Added string property with the title of the content
- 5.1. Ext JSON
- 8.1. Open Chrome Developer Tools settings
- 8.2. Enable Source Maps in Chrome Developer Tools settings
- 8.3. Google Chrome Console
- 8.4. The Browser Console Log Button
- 8.5. Example of a content dump
- 8.6. Inspect an Ext JS component selected in the DOM
- 8.7. Studio main view component tree
- 8.8. Record Ext JS component events
- 8.9. Google Chrome's Developer Tools Support Comparing Heap Snapshots
- 9.1. The Apps Menu inside the Side Bar of Each Studio App
- 9.2. Plugin structure
- 9.3. Document form with a collapsible property field group
- 9.4. Hide Service Dialog
- 9.5. Theming Inheritance in Ext JS and CoreMedia
- 9.6. Premular Reusability (For A Reusability Limit Of 2 For Articles)
- 9.7. Dashboard UML overview
- 9.8. Annotated LinkList with item with changed default value
- 9.9. Image LinkList
- 9.10. Start Workflow form Extension for the Global Link Translation Workflow
- 9.11. Start Workflow form Extension for a Running Global Link Translation Workflow
- 9.12. Default Rendering of FeedbackItems used for the CoreMedia Labs project "Imagga"
- 9.13. Tabbed Rendering of FeedbackItems used for the CoreMedia Labs project "Searchmetrics"
- 9.14. Example of a ScoreBarFeedbackItem
- 9.15. Example of a RatingBarFeedbackItem
- 9.16. Example of a PercentageBarFeedbackItem
- 9.17. Example of a GaugeFeedbackItem
- 9.18. Example of a KeywordFeedbackItem with service "Imagga".
- 9.19. Example of a ComparingScoreBarFeedbackItem
- 9.20. Example of a bold LabelFeedbackItem
- 9.21. Example of a ExternalLinkFeedbackItem used inside a "Siteimprove" integration
- 9.22. Example of a ErrorFeedbackItem inside an integration of "Siteimprove"
- 9.23. Settings Document with two configured previews
- 9.24. Example configuration of the Generic URI-Template Preview Provider
- 9.25. Studio with multiple Previews
List of Tables
- 1.1. Typographic conventions
- 1.2. Pictographs
- 1.3. CoreMedia manuals
- 1.4. Changes
- 5.1. TypeScript class to Ext JS example
- 5.2. Runtime Interfaces in TypeScript and Ext JS
- 9.1. Property Fields
- 9.2.
ImageEditorPropertyField
Configuration Settings - 9.3. Hide Service Spring Properties
- 9.4. Different Icon Scales
- 9.5. Predefined Widget Types
- 9.6. Selected predefined validators
- 9.7. Levels of Validators
- 9.8. Connection Struct Properties
- 9.9. Settings Struct Properties
- 9.10. Settings Struct Properties
- 9.11. Connection Struct Properties
- 9.12. Localization for Custom Feedback Hub Adapter
- 9.13.
FeedbackItem
ScoreBarFeedbackItem
- 9.14.
FeedbackItem
RatingBarFeedbackItem
- 9.15.
FeedbackItem
PercentageBarFeedbackItem
- 9.16.
FeedbackItem
GaugeFeedbackItem
- 9.17.
FeedbackItem
KeywordFeedbackItem
- 9.18.
FeedbackItem
ComparingScoreBarFeedbackItem
- 9.19.
FeedbackItem
LabelFeedbackItem
- 9.20.
FeedbackItem
ExternalLinkFeedbackItem
- 9.21.
FeedbackItem
EmptyFeedbackItem
- 9.22.
FeedbackItem
FeedbackLinkFeedbackItem
- 9.23.
FeedbackItem
ErrorFeedbackItem
- 9.24. User Manager Spring Properties
- 9.25. User Provider Property Mapping
List of Examples
- 3.1. Running Liquibase via cmd tool
- 3.2. Release lock via docker-container
- 4.1. SimplePluginExample.ts
- 4.2. jangaroo.config.js
- 4.3. package.json
- 5.1. Ext JSON
- 5.2. Ext JSON in TypeScript
- 5.3. Plugin usage in Ext JSON
- 5.4. Using the default export for Ext TS classes
- 5.5. Ext Mixin in TypeScript example
- 5.6. Ext Config example
- 5.7. Ext JS Bindable Configs
- 5.8. Simple and Bindable Config Properties in TypeScript
- 5.9. Declaring Config type as virtual class member
- 5.10. Extending superclass Config type
- 5.11. TypeScript detecting type errors for existing properties
- 5.12. Preventing use of untyped properties
- 5.13. Create Ext Config objects with Config function
- 5.14. Instantiate object from Config object
- 5.15. Inline ad-hoc Config object
- 5.16. Typical work of constructor done in TypeScript
- 5.17. Using ConfigUtils utility class
- 5.18. Component with utility class in client
- 5.19. Updating multiple bean properties
- 5.20. Model bean factory method
- 5.21. Model bean access
- 5.22. Adding a listener and initializing
- 5.23. Creating a property path expression
- 5.24. Creating a function value expression
- 5.25. Creating a value expression from a private function
- 5.26. Creating a value expression from a static function
- 5.27. Manual dependency tracking
- 5.28. Comprehensive example of a FunctionValueExpression
- 5.29. Property paths into struct
- 5.30. Adding struct properties
- 8.1. ckdebug, non-verbose
- 8.2. ckdebug, verbose
- 9.1. Marking a module as an extension for the Workflow App
- 9.2. Bootstrapping auto-loaded scripts
- 9.3. App Path Shortcuts for the workflow app
- 9.4. App path shortcuts for the workflow app
- 9.5. Registering a Service Method to Trigger the Tags App
- 9.6. Service Shortcut for the Tags Sub-App
- 9.7. Adding a plugin rule to customize the actions toolbar
- 9.8. Adding a separator and a button with a custom action to a toolbar
- 9.9. Adding a plugin rule to customize all LinkList property field toolbars
- 9.10. Using NestedRulesPlugin to customize a subcomponent using its container's API
- 9.11. Using NestedRulesPlugin to customize a subcomponent
- 9.12. Registering a plugin
- 9.13. Loading external resources
- 9.14. Adding a search button
- 9.15. Example property file
- 9.16. Overriding properties
- 9.17. Localizing document types
- 9.18. Allows the import of SVG icons in a typescript file
- 9.19. Content type icon optimized for the sizes 16px, 24px and 32px
- 9.20. Article form
- 9.21. Collapsible Property Field Group
- 9.22. Configuring the Image Editor
- 9.23. Configuring an image variant
- 9.24. Configuring an Image Map Editor
- 9.25. Configuring a validator for image maps
- 9.26. Defining document types without preview
- 9.27. Defining excluded document types
- 9.28. Defining excluded document types in TypeScript
- 9.29. Defining a content initializer
- 9.30. Custom property field
- 9.31. Using a base class method
- 9.32. Inline images in richtext
- 9.33. Adding table cell merge and split commands
- 9.34. Configuring the rich text symbol mapping
- 9.35. Customizing the rich text editor toolbar
- 9.36. Adding a custom icon to the rich text editor toolbar
- 9.37. Adding InternalLinkButton to the toolbar in TeaserOverlayPropertyField
- 9.38. Adding two more buttons to the toolbar
- 9.39. Adding the
packageConfig.js
in the src folder - 9.40. Adding the refrerence to the
jangaroo.config.js
- 9.41. Customizing the CKEditor
- 9.42. Customizing the CKEditor configuration
- 9.43. Adding resource path of skin to
src/packageConfig.js
- 9.44. Registering Editor Configurations in Studio
- 9.45. Usage of editorType in RichTextPropertyField
- 9.46. HidableMixin.ts
- 9.47. DocumentFormBase.ts
- 9.48. CMArticleForm.ts
- 9.49. DetailsDocumentForm.ts
- 9.50. Adding a search for documents to be published
- 9.51. Adding a custom search folder
- 9.52. Creating a custom action
- 9.53. Using a custom action
- 9.54. Adding disapprove action using enableDisapprovePlugin
- 9.55. Configuring Property Inheritance
- 9.56. Obtaining The Dragged Objects from the DragEvent
- 9.57. Obtaining Drag Info Via the Service Agent
- 9.58. Defining list view fields
- 9.59. Configuring the thumbnail view
- 9.60. Two additional attributes for sorting.
- 9.61. Optional
sortDirection
Attribute to enable only one sort direction. - 9.62.
defaultSortColumn
Attribute to configure one column as the default for sorting. - 9.63. Sass namespace
- 9.64. namespace + Sass namespace (only needed for parallel styling of own components and components of other packages)
- 9.65. Overriding theme variables
- 9.66. Overriding global CoreMedia variables
- 9.67. Simple Skin Example
- 9.68. Switching off skins
- 9.69. TypeScript Skin Constants
- 9.70. Applying a Skin to a Component
- 9.71. Usage of CoreIcons_properties.ts
- 9.72. Usage of CoreMedia Icons in SCSS
- 9.73. Get Resources in SCSS Code
- 9.74. Use Image as IconClass
- 9.75. Importing SVG in TypeScript
- 9.76. SVG definition
- 9.77. Generating CSS class for SVG icon
- 9.78. BEM Example HTML Code
- 9.79. BEM Example SCSS Code
- 9.80. Usage of the BEM Plugin
- 9.81. Using BEM Plugin with Element
- 9.82. Usage of the BEM Mixin
- 9.83. VerticalSpacing Plugin Example
- 9.84. Set Validation State
- 9.85. Adding a button to open a tab
- 9.86. Adding a button to open a browser tab
- 9.87. Base class for browser tab
- 9.88. Dashboard Configuration
- 9.89. Fixed Search widget Configuration
- 9.90. Simple Search Widget Configuration
- 9.91. Simple Search Widget Type
- 9.92. Simple Search widget Type with Editor Component
- 9.93. Simple Search Widget Editor Component
- 9.94. widget State Class for Simple Search widget
- 9.95. Override
*.exe
MIME Type Detection - 9.96. Declaring a validator as Spring bean
- 9.97. Declaring a property validator as Spring bean
- 9.98. Json declaration of validators
- 9.99. Implementing a property validator
- 9.100. Declaring a property validator as Spring bean
- 9.101. A Json-enabled property validator
- 9.102. Providing a property validator factory
- 9.103. Declaring a property validator with Json
- 9.104. Implementing a content validator
- 9.105. Declaring a content validator as Spring bean
- 9.106. A Json-enabled content validator
- 9.107. Providing a content validator factory
- 9.108. Declaring a content validator with Json
- 9.109. Declaring a general validator with Json
- 9.110. Configuring validator messages
- 9.111. Defining a Write Interceptor
- 9.112. Configuring a Write Interceptor
- 9.113. Configuring Immediate Validation
- 9.114. Example thumbnail resolver configuration
- 9.115. Add a new workflow with the name StudioThreeStepPublication to publicationProcessNames
- 9.116. Enable notifications for new StudioThreeStepPublication workflow
- 9.117. Minimal Studio client enabling of a custom translation workflow
- 9.118. Workflow steps configuration for the built-in 2-step publication workflow
- 9.119. Defining assignable performers policy for tasks
- 9.120. Start workflow form extension for Global Link Translation Workflow
- 9.121. Running workflow form extension for Global Link Translation Workflow
- 9.122. Workflow localization example
- 9.123. Workflow validation configuration for the StudioThreeStepPublication workflow
- 9.124. Adding a New Merge Strategy
- 9.125. Implementing a ContentHubTransformer (1)
- 9.126. Implementing a ContentHubTransformer (2)
- 9.127. Defining a Custom ColumnModelProvider
- 9.128.
- 9.129. Note model
- 9.130. Representation class for note model
- 9.131. Service for note handling
- 9.132. Entity Controller class for TEST operations
- 9.133. Annotation for bean creation
- 9.134. REST GET method of NoteEntityController
- 9.135. Deletion of note in NoteEntityController
- 9.136. Update of note in NoteEntityController
- 9.137. Declare NoteEntityController as bean
- 9.138. Abstract class of Note remote bean
- 9.139. Implementing class of Note remote bean
- 9.140. Remote Bean URI path
- 9.141. Register class as remote bean
- 9.142. Result of Note
- 9.143. Invoke class from TypeScript
- 9.144. Output from remote bean
- 9.145. Remote bean used inside a component
- 9.146. Java class for notes list
- 9.147. Notes list representation
- 9.148. NotesEntityController for notes list
- 9.149. Put mapping for notes list
- 9.150. Adding a Spring bean to Spring configuration
- 9.151. Interface for remote bean for notes list
- 9.152. Implementing class for remote bean for notes list
- 9.153. Register remote bean with Studio
- 9.154. Test result of remote bean
- 9.155. Invoke notes in TypeScript
- 9.156. Display child elements of notes list
- 9.157. Output of notes list
- 9.158. Reverse order of notes list
- 9.159. Request header of PUT request
- 10.1. Import base context
- 10.2. Spring Security context
- 10.3. Logout filter
- 10.4. User finder
- 10.5. Enable user finder
- 10.6. Example Output
- 10.7. Marker Hierarchy
- 10.8. Configure Access Log
- 10.9. Configure Security Log
- 10.10. Configure Default Log
- 10.11. Configure Logger
- 10.12. Suppress Security Logging