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
This is how it looks in the Web App:
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:
The Feature Layer:
Have I uncovered a new bug?
Thank you!
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.
@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.
@SaurabhUpadhyaya - the issue you mentioned does not appear to be related to the original issue here. I responded to your other post.