Step 5: Creating a custom Component Template for products in a dynamic content mashup

Create a new custom Component Template to use with your product Components in a dynamic content mashup scenario.

Before you begin

Before beginning this task, you should have already created a custom Schema.

Procedure

  1. In Content Explorer, go to the following folder:
    100 Master Publication\Building Blocks\Modules\TridionDocsMashup\Editor\Templates
  2. In the Templates subfolder, create a new Component Template.
  3. On the General tab, define the following:
    1. For the Metadata Schema, select Component Template Metadata.
    2. For the Entity View Name, enter TridionDocsMashup:Bicycle.
      Where:
      • TridionDocsMashup is the name of the module.
      • Bicycle is the name of the entity view in the DXA sample implementation. If you create your own entity view, replace Bicycle with the appropriate view name.
    3. For the Controller Name, enter TridionDocsMashup:TridionDocsMashup.
      Where:
      • The first TridionDocsMashup is the name of the module.
      • The second TridionDocsMashup is the name of the controller in the DXA sample implementation.
    4. For HTML Class(es), enter a single value, tridiondocsmashup.
  4. On the Linked Schemas tab, add the Schema for a product Component.
  5. When finished with the new Component Template, click Save and Close.

What to do next

Create your product Components based on the new Schema and using this new Component Template.