Tree Schema Definition Reference

ReportFunctionAction

This element defines an action that shows a document with custom content. It has the following attributes:

  • Label
  • Tooltip
  • Icon
  • PermissionTypes
  • DocumentLabel
  • DocumentIcon

It must also contain one <f:function> element. The content of the element must be an CMS function call that returns XHTML.

Label

A label of the custom URL action. Required.

ToolTip

A custom tooltip of the report function action. Optional. Defaults to the value of the Label attribute.

Icon

The icon of the action. Optional.

The names of C1 CMS standard icons you can use in your application are listed in ~\Composite\images\icons\StandardIcons.xml

PermissionTypes

A list of permissions on the report function action. Optional. The list can include one or more comma-separated values:

  • read
  • edit
  • add
  • delete
  • approve
  • publish
  • administrate

Defaults to “read”.

DocumentLabel

The label of the document. Optional.

You can use “${C1:Data:[TypeName]:[FieldName]}” to get a field value of a parent (or self) data element.

Defaults to the value of the Label attribute.

DocumentIcon

The icon of the document. Optional. Defaults to the value of the Icon attribute.

The names of C1 CMS standard icons you can use in your application are listed in ~\Composite\images\icons\StandardIcons.xml