Before you begin
To create a Dynamic Media template, you must have:
-
Access to Dynamic Media.
-
verified the following in the Touch UI:
- On the Edit Dynamic Media Configuration page, Dynamic Media sync mode that is set to Disabled by default, is not applied to all AEM folders (Sync all content is unchecked). See configuring Dynamic Media Cloud Service for more information.
- Dynamic Media sync mode is set to Enable for subfolders for the destination folder or subfolder where you will save the template after creation. See configuring Dynamic Media Cloud Service for more information.
Create Dynamic Media WYSIWYG template
To create a DM template, follow these steps:
Create a blank canvas
Execute these steps to create a blank canvas:
-
Navigate to Assets Essentials and click Dynamic Media Assets available in the left panel.
-
Click Create Template to save the template under Dynamic Media Assets or navigate to a folder and click Create Template to save the template within that folder. The New Template dialog box displays.
To create a folder under Dynamic Media Assets, create a folder under Assets. The folder tree under Assets replicates under Dynamic Media Assets. -
Specify a template name, define the canvas width and height, and click Create. A blank canvas displays with menu options on both sides to use for creating the template. Hover over the menu options to see their tooltip.
Menu options on the right pane: Use these options to add the necessary images and text layers to the canvas.
Menu options on the left pane: Use these options for common editor actions as mentioned below.
-
-
-
-
-
- Press Backspace or delete to delete the selected layer if no text or property is being edited.
Click
Add images to the canvas
Execute these steps to add images to the canvas:
- Click
- Browse the panel or use keywords in the search bar to find a specific image.
- Drag and drop an image on the canvas to use it. See the Properties Panel for resizing or repositioning a layer on the canvas.
Add text layers to the canvas
Execute these steps to add text layers to the canvas:
- Click
- Select the layer and click the text to update it.
- Enable Smart Text Resize in the Properties panel to adjust the text length and font size automatically to fit in the designated area optimally.
See the Properties Panel to reposition, resize, rotate or delete the layer. Format your text to your desired font, size, color, style, alignment (in the layer) by changing their values in the respective fields under the Text section of the panel.
Edit or delete a layer
Execute these steps to edit or delete a canvas layer:
- Click
- Click more options (
- Click Delete to delete the layer.
- Click Edit to edit the layer using the Properties Panel.
Properties Panel
To navigate to a layer’s properties panel:
- Click
- Select the layer from the list.
This panel displays the position of the layer’s center point on the canvas plane (X and Y values) and the layer’s dimensions (width and height) along with text formatting options.
From the properties panel of a layer, select another layer on the canvas to navigate to its properties panel.
Reposition, resize, rotate or delete a layer
See these common layer editing actions to edit a text or an image layer:
- Reposition the layer: Drag the layer to move it anywhere on the canvas. This action updates the X and Y values in the properties panel.
- Resize the layer: Select the layer and drag its edge handles to resize it. This action updates the W (width) and H (height) values in the properties panel.
- Rotate the layer: Drag the square handle placed vertically above the layer to rotate it around its center. This action updates the angle values in the properties panel.
- Delete the layer: Press Backspace or delete and then click Confirm to delete a selected layer.
Text formatting options
Format your text to your desired font, size, color, style, alignment (in the layer) by changing their values in the respective fields under the Text section of the panel.
Smart Text Resize Ensure to include Smart Text Resize (Copyfitting) to fit any text in the designated area optimally by adjusting its font size and length smartly. This capability prevents text overflow or minimizes extra spaces at the bottom of the text.
Parameterise layers
After creating a template with multiple layers of images and texts, parameterise the selected layers. When a layer or its property is parameterised, it gets a key-value pair (also called as parameter). This parameter can be included in the template URL to update the layer’s position, size or content in real time resulting in template customisation in no time.
To parameterise a layer:
- click
- Toggle Include Parameter to parameterise a property. See this to know the property’s behaviour after parameterisation.
- Optional: Rename the parameter name. A parameter name has layer name followed by a suffix. For a selected layer all its parameterized properties share the same layer name followed by a varying suffix. Rename the layer name by following the semantic naming convention so that when you include the parameter in the URL, the parameter name self explains about the layer’s content or its purpose.
- Click Save.
To switch between the Parameter panel of an image and text layer, select the layer on the canvas and click Parameters.
Parameters panel option
The parameterised properties can be included as URL parameters in the template URL to edit the template in real time using the URL.
Image parameters:
X: Include to move the layer horizontally along its centreline, parallel to the X-axis of the template plane, by changing the parameter’s value in the URL.
Y: Include to move the layer vertically along its centre line, parallel to the Y-axis of the template plane, by changing the parameter’s value in the URL.
Width: Include to adjust the layer’s width by changing the parameter’s value in the URL.
Height: Include to adjust the layer’s height by changing the parameter’s value in the URL.
Hide: Include to hide or show the layer in the template using 0 (show) and 1 (hide).
Source: Include to replace the layer’s image with new image by changing the image path in the parameter’s value in the URL.
Text formatting parameters:
Include the below parameters to edit the text, its font, colour and size from the URL by updating the parameter values in the URL.
Text: Include to update text from the URL.
Font Family: Include to update the text’s font from the URL.
Font Size: Include to update the text’s font size from the URL.
Text color: Include to update the text’s font color from the URL.
Group layers to control their visibility simultaneously
Another way to keep your templates flexible, is by utilising a single parameter name to control multiple layers. This strategy is helpful for the visibility (hide or show layers) parameter, to update the design or graphics from a single template.
Follow these steps to assign the same name to the hide parameters (
- Navigate to the Properties Panel of a layer.
- Toggle the Hide Parameter if not parameterised earlier.
- Optional: Rename the Hide Parameter.
- Copy the Hide Parameter name.
- Go to the Parameter panel of other layers by selecting them from the canvas and toggle their Hide Parameter if not parameterised.
- Replace their Hide parameter name with the copied name.
- Click Save to group the layers.
- Execute step 3 and then 4 in Preview and Publish section to see your changes.
Preview and publish the template to copy the delivery URL
Execute these steps to preview and publish the template and copy the delivery URL:
-
On the canvas page, click Preview. You can also navigate to Assets Essentials > Dynamic Media Assets > find and select your template > click Edit Template > click Preview. The preview page displays the template, its parameters (parameterized layers and properties), publish status, and the Publish option.
-
Select parameters from Template Parameters panel to edit their values and instantly update the content, size, position, or text formatting of the corresponding template layer in the preview. For example:
- Select a text layer and edit its text or
- Select an image layer, click
The template updates immediately, displaying the edited text and replacing the previous image with the new one. Additionally, the image parameter value reflects the new image path. Similarly, you can resize a layer by adjusting its values, and the changes are applied to the template in real time.
-
Select the hide parameter for grouped layers from the list to show or hide them together in the template.
-
Optional: Change the Hide parameter value between 0 and 1 and click Refresh to see the changes. Layers with the same hide parameter hides or displays together. Similarly, you can control the layers’ visibility from the URL.
You can also toggle Include all parameters to edit all of the displayed parameter values and see the updates in the template preview. -
To publish the template on the preview page, click Publish and confirm to publish. Publish Complete message displays and the publish status updates to Published.
Edit the template
Edit the template by following these steps:
- On Assets Essentials, click Dynamic Media Assets.
- Navigate to the template location.
- Select the template.
- Click Edit Template. The template canvas displays the template and the list of all its layers in the Layers panel. Start editing your template as per your requirements.
Important points to note
- After creating a template with parameterized image layers for dynamic updates, ensure that the images intended for future updates share the same dimensions as the parameterized images. This ensures the images fit perfectly within the layers without overflowing or leaving empty spaces. Currently, the template does not support automatic dimension adjustments to fit images into the layers.
- There is no substring support in a text layer. User cannot apply different font properties on substring of a text layer.
- Support of multiple Dynamic Media companies is not currently available with Dynamic Media Templates.
- In case of copy or move, Destination Selector shows all the folders (including non-Dynamic Media synced folders). Also, currently, it does not display the Dynamic Media Template assets (both of these are limitations of destination selector).
- Any update operation on a folder (for example, Publish or Delete) from Assets section impacts the Dynamic Media Templates available within that folder.
- Trash does not work for Dynamic Media Templates. If an asset is moved to trash and then restored, the asset is restored in AEM but not on Dynamic Media. The same is valid for Dynamic Media Templates.
See also
Experience Manager
- Solution overview
- Release Notes
- Security
- My Workspace
- Get started with Assets Essentials for administrators
- Get started using Assets Essentials
- Supported file types and use cases
- View assets
- Upload and add assets
- Bulk import assets
- Search and discover assets
- Asset management tasks
- Edit images
- Edit videos
- Manage asset metadata
- Bulk rename
- Bulk metadata edit
- Share assets
- Manage collections
- Watch assets, folders, and collections
- Manage reports
- Reprocessing
- Manage tags
- Content Credentials
- Integration with other solutions
- Integration with Creative Cloud
- Videos
- Dynamic Media templates
The Perfect Blend: A New Era of Collaboration with AEM and Workfront
Adobe Customer Success Webinars
Wednesday, Apr 2, 5:00 PM UTC
Explore how Adobe Experience Manager and Workfront integrate to help teams move from ideation to delivery without the usual bottlenecks, ensuring content is organized, on-brand, and ready to go live faster.
RegisterPut the Customer at the Center and Build Relationships That Last a Lifetime
First impressions last a lifetime. Great first impressions feel personal, connected, and relevant right from the start. From the first...
Wed, Mar 19, 2:30 PM PDT (9:30 PM UTC)
Rapid Feature Releases with AEM Cloud: Telegraph Media Group’s RDE Strategy
Hear how Telegraph Media Group, the award-winning publisher of The Daily Telegraph, The Sunday Telegraph, The Telegraph Magazine,...
Wed, Mar 19, 3:30 PM PDT (10:30 PM UTC)
Connect with Experience League at Summit!
Get front-row access to top sessions, hands-on activities, and networking—wherever you are!
Learn more