Implementing Dreamweaver function to Dreamweaver Templates

A Dreamweaver template is typically used to define the design of a Web page. You need to add the Dreamweaver GetFromDctm function for Documentum Connector to your Dreamweaver Templates to identify specific renditions to be published from within HTML.

Procedure

  1. In the Content Manager Explorer, open a Publication.
  2. Select the Folder where your templates are stored:
    • choose New > Template Building Block in the context menu to create a new Dreamweaver Template (in the General tab, enter a Name, and in the Source tab select the Template Type Dreamweaver).
    • select an existing Dreamweaver Template and choose Properties in the context menu to open for editing.
  3. Open the Source tab.
  4. Add the GetFromDctm function to your Dreamweaver Template:
    @@GetFromDctm(tcmUri,renditionname,extension)@@

    For example:

    <img src="@@GetFromDctm(Fields.link,"jpeg_th", "jpg")@@" tridion:variantid="jpeg_th" />
    For detailed information, see Dreamweaver GetFromDctm function.
  5. Click Save and Close.