Studio Developer Manual / Version 2207
Table Of ContentsCopyright CoreMedia GmbH © 2023
CoreMedia GmbH
Altes Klöpperhaus, 5. OG
Rödingsmarkt 9
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.
January 06, 2023- 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.26.1. Fundamentals
- 9.26.2. Workflow Steps
- 9.26.3. Workflow Fields
- 9.26.4. Additional Workflow List Actions
- 9.26.5. Workflow Validation
- 9.26.6. Customizing Validation of Built-In Workflows
- 9.26.7. Workflow Localization
- 9.26.8. Publication Workflow Specifics
- 9.26.9. Translation Workflow Specifics
- 9.26.10. Synchronization Workflow Specifics
- 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. Workflow validators model class diagram
- 9.13. Default Rendering of FeedbackItems used for the CoreMedia Labs project "Imagga"
- 9.14. Tabbed Rendering of FeedbackItems used for the CoreMedia Labs project "Searchmetrics"
- 9.15. Example of a ScoreBarFeedbackItem
- 9.16. Example of a RatingBarFeedbackItem
- 9.17. Example of a PercentageBarFeedbackItem
- 9.18. Example of a GaugeFeedbackItem
- 9.19. Example of a KeywordFeedbackItem with service "Imagga".
- 9.20. Example of a ComparingScoreBarFeedbackItem
- 9.21. Example of a bold LabelFeedbackItem
- 9.22. Example of a ExternalLinkFeedbackItem used inside a "Siteimprove" integration
- 9.23. Example of a ErrorFeedbackItem inside an integration of "Siteimprove"
- 9.24. Settings Document with two configured previews
- 9.25. Example configuration of the Generic URI-Template Preview Provider
- 9.26. 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. Registering a Service Method to Trigger the Tags App
- 9.5. Service Shortcut for the Tags Sub-App
- 9.6. Adding a plugin rule to customize the actions toolbar
- 9.7. Adding a separator and a button with a custom action to a toolbar
- 9.8. Adding a plugin rule to customize all LinkList property field toolbars
- 9.9. Using NestedRulesPlugin to customize a subcomponent using its container's API
- 9.10. Using NestedRulesPlugin to customize a subcomponent
- 9.11. Registering a plugin
- 9.12. Loading external resources
- 9.13. Adding a search button
- 9.14. Example property file
- 9.15. Overriding properties
- 9.16. Localizing document types
- 9.17. Allows the import of SVG icons in a typescript file
- 9.18. Content type icon optimized for the sizes 16px, 24px and 32px
- 9.19. Article form
- 9.20. Collapsible Property Field Group
- 9.21. Configuring the Image Editor
- 9.22. Configuring an image variant
- 9.23. Configuring an Image Map Editor
- 9.24. Configuring a validator for image maps
- 9.25. Defining document types without preview
- 9.26. Defining excluded document types
- 9.27. Defining excluded document types in TypeScript
- 9.28. Defining a content initializer
- 9.29. Custom property field
- 9.30. Using a base class method
- 9.31. Inline images in richtext
- 9.32. Adding table cell merge and split commands
- 9.33. Configuring the rich text symbol mapping
- 9.34. Customizing the rich text editor toolbar
- 9.35. Adding a custom icon to the rich text editor toolbar
- 9.36. Adding InternalLinkButton to the toolbar in TeaserOverlayPropertyField
- 9.37. Adding two more buttons to the toolbar
- 9.38. Adding the
packageConfig.js
in the sencha/src folder - 9.39. Adding the refrerence to the
jangaroo.config.js
- 9.40. Customizing the CKEditor
- 9.41. Customizing the CKEditor configuration
- 9.42. Adding resource path of skin to
sencha/src/packageConfig.js
- 9.43. Registering Editor Configurations in Studio
- 9.44. Usage of editorType in RichTextPropertyField
- 9.45. HidableMixin.ts
- 9.46. DocumentFormBase.ts
- 9.47. CMArticleForm.ts
- 9.48. DetailsDocumentForm.ts
- 9.49. Adding a search for documents to be published
- 9.50. Adding a custom search folder
- 9.51. Creating a custom action
- 9.52. Using a custom action
- 9.53. Adding disapprove action using enableDisapprovePlugin
- 9.54. Configuring Property Inheritance
- 9.55. Obtaining The Dragged Objects from the DragEvent
- 9.56. Obtaining Drag Info Via the Service Agent
- 9.57. Defining list view fields
- 9.58. Configuring the thumbnail view
- 9.59. Two additional attributes for sorting.
- 9.60. Optional
sortDirection
Attribute to enable only one sort direction. - 9.61.
defaultSortColumn
Attribute to configure one column as the default for sorting. - 9.62. Sass namespace
- 9.63. namespace + Sass namespace (only needed for parallel styling of own components and components of other packages)
- 9.64. Overriding theme variables
- 9.65. Overriding global CoreMedia variables
- 9.66. Simple Skin Example
- 9.67. Switching off skins
- 9.68. TypeScript Skin Constants
- 9.69. Applying a Skin to a Component
- 9.70. Usage of CoreIcons_properties.ts
- 9.71. Usage of CoreMedia Icons in SCSS
- 9.72. Get Resources in SCSS Code
- 9.73. Use Image as IconClass
- 9.74. Importing SVG in TypeScript
- 9.75. SVG definition
- 9.76. Generating CSS class for SVG icon
- 9.77. BEM Example HTML Code
- 9.78. BEM Example SCSS Code
- 9.79. Usage of the BEM Plugin
- 9.80. Using BEM Plugin with Element
- 9.81. Usage of the BEM Mixin
- 9.82. VerticalSpacing Plugin Example
- 9.83. Set Validation State
- 9.84. Adding a button to open a tab
- 9.85. Adding a button to open a browser tab
- 9.86. Base class for browser tab
- 9.87. Dashboard Configuration
- 9.88. Fixed Search widget Configuration
- 9.89. Simple Search Widget Configuration
- 9.90. Simple Search Widget Type
- 9.91. Simple Search widget Type with Editor Component
- 9.92. Simple Search Widget Editor Component
- 9.93. widget State Class for Simple Search widget
- 9.94. Override
*.exe
MIME Type Detection - 9.95. Declaring a validator as Spring bean
- 9.96. Declaring a property validator as Spring bean
- 9.97. Json declaration of validators
- 9.98. Implementing a property validator
- 9.99. Declaring a property validator as Spring bean
- 9.100. A Json-enabled property validator
- 9.101. Providing a property validator factory
- 9.102. Declaring a property validator with Json
- 9.103. Implementing a content validator
- 9.104. Declaring a content validator as Spring bean
- 9.105. A Json-enabled content validator
- 9.106. Providing a content validator factory
- 9.107. Declaring a content validator with Json
- 9.108. Declaring a general validator with Json
- 9.109. Configuring validator messages
- 9.110. Defining a Write Interceptor
- 9.111. Configuring a Write Interceptor
- 9.112. Configuring Immediate Validation
- 9.113. Example thumbnail resolver configuration
- 9.114. Add a new workflow with the name StudioThreeStepPublication to publicationProcessNames
- 9.115. Enable notifications for new StudioThreeStepPublication workflow
- 9.116. Minimal Studio client enabling of a custom translation workflow
- 9.117. Workflow steps configuration for the built-in 2-step publication workflow
- 9.118. Defining assignable performers policy for tasks
- 9.119. Start workflow form extension for Global Link Translation Workflow
- 9.120. Running workflow form extension for Global Link Translation Workflow
- 9.121. Workflow localization example
- 9.122. Workflow validation configuration for the StudioThreeStepPublication workflow
- 9.123. Adding a New Merge Strategy
- 9.124. Implementing a ContentHubTransformer (1)
- 9.125. Implementing a ContentHubTransformer (2)
- 9.126. Defining a Custom ColumnModelProvider
- 9.127.
- 9.128. Note model
- 9.129. Representation class for note model
- 9.130. Service for note handling
- 9.131. Entity Controller class for TEST operations
- 9.132. Annotation for bean creation
- 9.133. REST GET method of NoteEntityController
- 9.134. Deletion of note in NoteEntityController
- 9.135. Update of note in NoteEntityController
- 9.136. Declare NoteEntityController as bean
- 9.137. Abstract class of Note remote bean
- 9.138. Implementing class of Note remote bean
- 9.139. Remote Bean URI path
- 9.140. Register class as remote bean
- 9.141. Result of Note
- 9.142. Invoke class from TypeScript
- 9.143. Output from remote bean
- 9.144. Remote bean used inside a component
- 9.145. Java class for notes list
- 9.146. Notes list representation
- 9.147. NotesEntityController for notes list
- 9.148. Put mapping for notes list
- 9.149. Adding a Spring bean to Spring configuration
- 9.150. Interface for remote bean for notes list
- 9.151. Implementing class for remote bean for notes list
- 9.152. Register remote bean with Studio
- 9.153. Test result of remote bean
- 9.154. Invoke notes in TypeScript
- 9.155. Display child elements of notes list
- 9.156. Output of notes list
- 9.157. Reverse order of notes list
- 9.158. 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