How to configure authoring tools components | HCL Digital Experience
Authoring tools components that are rendered in a web content viewer allow you to create, read, edit, delete, approve, or reject content items directly in the web content viewer, instead of requiring you to browse to the HCL Web Content Manager authoring portlet to run the same action. The web content viewer either opens a window from the current page or redirects the user to another portal page that contains the authoring portlet.
format
attribute
of the placeholder tag determines what URL is created to run an authoring
task:format="tag"
- The placeholder is rendered as a URL that opens a window that contains the authoring portlet.
format="url"
- The placeholder is rendered as a URL that redirects the user to another portal page that is used by the web content viewer for inline editing.
Authoring tools components that open in a window
When you use a window to display an authoring task, the window opens on the portal page and can be moved within the boundaries of the browser window while still showing the portal page. After you complete the task that is triggered by the authoring tools element, the window closes automatically, and the portal page refreshes, updating the view in the web content viewer. You can cancel the authoring task by clicking the close icon in the window's title bar. When a task is canceled, no web content information is saved, unless you explicitly save changes before manually closing the window.
format
attribute for a placeholder tag is tag
, so to use a window for inline editing,
it is not necessary to specify a value for the format
attribute.
Either of the following design examples creates a URL that opens a
window for authoring tasks:<Placeholder tag="namelink"/>
<Placeholder tag="namelink" format="tag"/>
<a href="<Placeholder tag="href"/>">
<Placeholder tag="name"/>
</a>
<a href="<Placeholder tag="href" format="tag"/>">
<Placeholder tag="name"/>
</a>
target="_blank"
to
the HTML anchor tag in the design.Authoring tools components that open on another page
Instead of running tasks from authoring tools elements in a window on the current page, you can open authoring tasks by browsing to a hidden portal page that contains a web content viewer that contains the reserved authoring portlet. Clicking a link for an authoring tools element automatically redirects you to the other page, but after you complete the authoring task, you must manually browse back to the original page. If the page with the reserved authoring portlet was opened in a new browser window or tab, you must close the window or tab and manually refresh the original page to see any changes.
url
for the format
attribute
in the placeholder tag in the authoring tools element design. Either
of the following design examples creates a URL that redirects users
to another portal page for authoring tasks:<Placeholder tag="namelink" format="url"/>
<a href="<Placeholder tag="href" format="url"/>">
<Placeholder tag="name"/>
</a>
<a href="<Placeholder tag="href" format="url"/>" target="_blank">
<Placeholder tag="name"/>
</a>
target="_blank"
to
the HTML anchor tag in the design.