I am creating a label expression in Pro using Arcade. Are there any tags or functions in arcade to make part of the label text bold?
Looking for something similar to the <BOL>[Field1]</BOL> tags that are available in VBscript.
Thank you
You can use something similar in Arcade:
<SPAN class="string token">"<BOL>"</SPAN> <SPAN class="operator token">+</SPAN> $feature<SPAN class="punctuation token">.</SPAN>Field1 <SPAN class="operator token">+</SPAN> <SPAN class="string token">"</BOL>"</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Xander,
Do you know if using these codes will be possible in AGOL in the future? I am currently using an arcade expression in a webmap popup configuration to return a number of fields from a related table based on this post, and I would like to be able to format (bold, in this case) the values from one of the returned fields. Since there are multiple fields being returned, I am not aware of a way to style it using custom HTML in a way that would only apply to one of the fields.
Thanks,
Lindsay
In ArcGIS Online you cannot use these codes. You can style the pop-up using custom HTML instead of normal fields display.
Is this possible in ArcGIS Online as well? I just tried it and it doesn't seem like it works, but perhaps I'm missing something.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.