Attribute Type Class

By default, an attribute can take any value type: a text, a number, a date, true / false, a link, a user mention, or any user-defined object type. All of the values are collected into a JSON array during conversion. Class dsattrtype-<type> is used to restrict an attribute value to a certain type. For example, to indicate that an attribute quantity can only take a numeric value, you should add class dsattrtype-number to your markup:

<td class="dsattr-quantity dsattrtype-number">

If you need to restrict an attribute to a user-defined type, you should specify the type name of the class:

<table class="dsattr-participants dsattrtype-user-details">
<tr class="dsobject dsobjtype-user-details">
<td class="dsattr-lastname">
<ac:placeholder>Last name</ac:placeholder>
<td class="dsattr-firstname">
<ac:placeholder>First name</ac:placeholder>

Some type names are reserved:

  • dsattrtype-number

  • dsattrtype-date

  • dsattrtype-user

  • dsattrtype-page

  • dsattrtype-link

  • dsattrtype-boolean

  • dsattrtype-text

The class dsattrtype-number indicates that a table cell should contain a number.


The class dsattrtype-date indicates that a table cell should contain a date. To enter a date, use the standard Confluence date picker.


The class dsattrtype-user indicates that a table cell should contain a Confluence user mention. To enter a user mention, use the standard user picker:


The class dsattrtype-page indicates that a table cell should contain a link to a Confluence page. Use standard link dialog to add a page link:


The class dsattrtype-link indicates that a table cell should contain a link to a web page. Use link dialog or just copy-paste a web page URL:


The class dsattrtype-boolean indicated that a table cell should contain true or false. Use Confluence tasklist item to enter a boolean value:


The class dsattrtype-text indicates that a table cell should contain a text value. All other values ​​(objects, dates, links, etc.) will be discarded during the conversion.