Select to view content in your preferred language

How to Bold Text in Map Tour/ArcGIS Pro text field?

162
5
Jump to solution
a week ago
twilliamson_topv
Occasional Contributor

I am working on a map tour of the art of my municipality. This has been quite the learning curve given how few options are in these map tour configurations and how much of this comes from ArcGIS Pro. Compared to attachment viewer, you really do not have much control of the elements of the map tour features as they do not come from a pop-up config. The only real thing I have much control over is the theme. 

Since I really only am able to select two options for what displays for each map feature, I went with the title of the artwork, and the description. That leaves out the artist, which I am thinking I am just going to have to add to the description field in Pro.

The question is how to bold certain parts of text coming from a field in ArcGIS Pro. I do not want to bold the whole description, just the artist. I have tried using <strong> </strong> and <BOL> </BOL> and although it is ingested by Pro (does not show up in the description field as text after publishing), it doesn't seem to do anything. I know it is possible, as the City of Tempe is doing it in their art map tour (see screenshots for theirs).

Any help is SUPER appreciated! 

Critical info: Artwork is coming from a project in ArcGIS Pro 3.5.2, published as a feature service to ArcGIS Online. Attachments are added to each record to provide the picture.  

1 Solution

Accepted Solutions
CodyPatterson
MVP Regular Contributor

Hey @twilliamson_topv 

There's this post here, but I don't think it exactly covers what you're looking for: https://community.esri.com/t5/arcgis-storymaps-questions/story-map-map-tour-text-formatting/m-p/1399...

Would it be possible to use the <b></b> element tag?

Cody

View solution in original post

5 Replies
CodyPatterson
MVP Regular Contributor

Hey @twilliamson_topv 

There's this post here, but I don't think it exactly covers what you're looking for: https://community.esri.com/t5/arcgis-storymaps-questions/story-map-map-tour-text-formatting/m-p/1399...

Would it be possible to use the <b></b> element tag?

Cody

twilliamson_topv
Occasional Contributor

Yeah I saw that one, and it's great information, but like you said, is mainly for general formatting for entire field appearances in Map Tour.

Let me try <b> </b> element tag instead of <BOL> and get back to you! Thanks.

0 Kudos
twilliamson_topv
Occasional Contributor

Hey-hey! That worked!

Using <b>, </b> and not <BOL>, </BOL> was the ticket!

 BoldResult2.pngBoldResult1.png

 

 

Thank you, Cody! 

OwenGeo
Esri Notable Contributor

@twilliamson_topv I'm not sure where the idea to use <bol> as an HTML tag came from, but as you've found out with @CodyPatterson's help, that is not a thing. 🙂 Glad you have things working now.

The set of HTML tags supported in map tour is documented here:

Add map tours—ArcGIS StoryMaps | Documentation

Although you can only choose one field for a map tour's place descriptions, it is quite easy to generate a new field with concatenated information from multiple other fields. HTML can be used to apply rich formatting to create multiple paragraphs, lists, links, and more.

Here are two articles related to this technique that you might find helpful.

Format place descriptions for data driven map tour using HTML
Using ArcGIS Arcade to your story's advantage

Owen Evans
Lead Product Engineer | StoryMaps
twilliamson_topv
Occasional Contributor

Hi Owen,

I got it from here. I was unsure if ArcGIS Pro ingested HTML for field formatting or used this more custom text formatting tag across the application.

https://pro.arcgis.com/en/pro-app/latest/help/mapping/text/text-formatting-tags.htm

I understand now that these tags must be HTML as it is resolved on the StoryMap side once the feature service is published. 

Kind regards,

0 Kudos