Document toolboxDocument toolbox

Sammensat tekst - Forekomster_

You can string two or more attributes together using Composite text feature. Composite text are available for Items, occurrences and products and allows you to concatenate values in existing attributes into a new text value in a separate attribute.

Note: Currently this feature can not be reported in xml or PDF, but is available in excel exports and for configurations in Revit/ArchiCAD plugin configurations. 

Combining existing attributes to composite text

Setup

To be able to create composite text you need superuser access to your dRofus database. From the top menu in dRofus navigate to Administration→ Settings→ Items;

There are three options for composite text; Composite text - item, Composite text - occurrence and Composite text - products.

In this example, a Composite Attribute will be created for items. The described process can be used for occurrences and products as well. 

To create new composite text (for items) go to 'Composite text item' and click 'Add':

  • Name: Name of the new attribute containing the composite text

  • Group: Where you want the attribute to be placed in the items property panel. You can use existing groups like "General", "Connections" or "Classification", or type in a new name - which will create a new group in the item property pane.

  • Tooltip: Optional help-text that will be visible when hovering the cursor over the attribute.  

  • Show in property panel: Choose if you want the composite text attribute to be shown in the property pane or not. In most cases you will want to have it visible in the property panel, but in some cases the project might want to e.g. sync the text directly to the model without having it visible in dRofus at all.

  • Composite text: Defines how to composite the chosen fields in the new attribute. The text can be customized by using {0} to refer to the first field in the list of fields, {1} to refer to the second field etc. You can add delimiters between fields (e.g. URL's , - / etc.)