Hello,
I am creating a New Report using the default Esri template "Attribute List with Grouping". All seems well but I have two or more columns that needed to automatically "Word wrapped". The row height also must be automatically adjusted when generating single line or two lines text.
The default dynamic text: <dyn type="report" property="field-value" field="name"/>
This is the generated Report.
The Report should look like this:
Is there a dynamic text tags can be used to achieve those requirements? or any other techniques to achieve the mentioned desires output?
Thanks in advance!
Solved! Go to Solution.
Hello! We support word wrap for the Details subsection! Just select the Details subsection in the Contents pane to activate the Details tab on the ribbon. On the ribbon, there is a General group, check on "Wrap text elements". This is available from Pro 3.2 and newer versions.
Thanks!
Hello! We support word wrap for the Details subsection! Just select the Details subsection in the Contents pane to activate the Details tab on the ribbon. On the ribbon, there is a General group, check on "Wrap text elements". This is available from Pro 3.2 and newer versions.
Thanks!
Hello again, I have another related query.
Is it possible to format dynamic text based on conditions?
For example, texts should be in Italic font style, or else Bold font style?
I suggest using conditional Arcade expressions for this, utilizing text tags: Text formatting tags—ArcGIS Pro | Documentation. An example of this would be here: Arcade expression based conditional formatting for... - Esri Community.
Arcade expressions are added as a property of a report: Customize report properties—ArcGIS Pro | Documentation
Thanks for giving a sample but it applies on Labeling only. Pardon, I did not mentioned that I want to apply conditional statements inside the dynamic text on Report on my question.
Dynamic Text I want to apply conditional statement:
<dyn type="report" property="field-value" field="fieldName"/>
This is an answer for reports. The example was from labeling, but the syntax is Arcade, it is the same. Please see how to add Arcade expressions (last documentation link) to add them to your report. They will be added as a field value.
Got it, thanks.