Select to view content in your preferred language

Multiline Label Created in ArcGIS Pro: bug with ArcGIS Online's Feature layers

1188
3
03-09-2021 12:57 PM
NicolasLapointe
New Contributor

It is not the first time I create multiline labels in ArcGIS Pro projects destined to be exported and converted into Web Apps. It usually works, but in all previous instances, the items in questions were used as Web Map Images. I always use the Arcade Command TextFormatting.NewLine.

This time, I wanted to create a Multiline label for an Online Feature Class. Indeed, my App will allow user to create and modify features. However, the label is not respected. All the elements appear in one line when it should appear in three.

This is how it looks in ArcGIS Pro

NicolasLapointe_0-1615322724333.png

This is how it looks in the Web App:

NicolasLapointe_1-1615322797396.png

I am pretty sure that the probleme is the Feature Layer. Obviously, when exporting a Web Layer with a Feature Layer, you are obliged to also export a Web Map Image version. When looking at both in Enterprise through Map Viewer, the Web Map Image version was fine while the Feature Layer version showed the same problem.

The Web Map Image:

NicolasLapointe_2-1615323157908.png

The Feature Layer:

NicolasLapointe_3-1615323223450.png

Have I uncovered a new bug?

Thank you!

0 Kudos
3 Replies
JonEmch
Esri Regular Contributor

Hey there Nicolas,

   That is an interesting find! I would recommend logging a tech support ticket which will allow our support staff to investigate the issue and log a defect as appropriate or troubleshoot it. If you already have a ticket open, please let me know what the number is, so that I can keep this thread updated with outcomes.

Keep on keeping on!
0 Kudos
SaurabhUpadhyaya
Frequent Contributor

@Noah-Sager @JonEmch  This is very long pending issue related to Labelinginfo in featurelayer when trying to export the big text like of 50 character of big area is not showing in ExportMap. Same text of 50 charccters length able to print if we polygon is small. Can you please share workaround to this issue.

0 Kudos
Noah-Sager
Esri Regular Contributor

@SaurabhUpadhyaya  - the issue you mentioned does not appear to be related to the original issue here. I responded to your other post.

0 Kudos