I read in Author a Webmap that "You can define pop-ups in ArcGIS Pro for all web feature layers so that when shared, the pop-ups are already configured." However, I configured a popup in Pro with two expressions (highlighted below) and neither the label nor the values are showing up correctly in the webmap.
Are you using Arcade expressions?
In addition to what Kory asks, can you post the expression that you are using? If ArcGIS Arcade | ArcGIS for Developers is used, it should be available in web map. Also please enter the pop up configuration of the web map and see if the expression is there (the field/expression name is there, but is the expression there too?).
Yes, I'm using Arcade expressions in Expression Builder in ArcPro 2.1.0.
My expression named BookPage:
IIF(IsEmpty($feature.book) && (IsEmpty($feature.page)), '', concatenate([Text($feature.book),Text($feature.page)], '/'))
My expression named qcxfer:
IIF(IsEmpty($feature.qt_book) && (IsEmpty($feature.qt_page)), '', concatenate([Text($feature.qt_book),Text($feature.qt_page)], '/'))
Your expression seems to be valid when used in a web map:
Can you enter the expression editor in your web map and see if the Arcade expression is there?
Yes (see below)
I don't see an expression editor option in the webmap. But I opened the custom attribute display window and it doesn't reflect the custom attributes that I created in ArcPro.
You could copy and paste the Arcade expression from ArcGIS Pro into new Arcade expressions in the pop-up configuration, but that is not the idea. It should have passed directly from ArcGIS Pro to the published map. Let's CC Kory Kramer to be sure that this is true. I normally design my Arcade expressions in the web map rather than bring them over from ArcGIS Pro, but it should be a valid procedure to start in Pro.
Might be best to contact Support and work with them to see what is happening in the process.
I agree that it would be best to work through Support to fully investigate at this point. Xander is right that the concept is that Arcade expressions authored in ArcGIS Pro should be carried across the platform. If that is not happening, it should be investigated through technical support. Thank you!
Xander Bakker We're now on Portal 10.6 and are able to able to configure Popups in Pro (I'm on version 4.2.3) and have them propagate to our Portal.
However in custom attributes in the popups, the Arcade TextFormatting.NewLine works fine in Pro but doesn't seem to be honored in Portal. Do you know of any fix for this? Is it a known bug?
Hi Angela Deegan ,
If you are on Portal 10.6, it means that you are using Arcade versión 1.2 (see: Version Matrix | ArcGIS for Developers ). I'm not sure what versión of Pro you are using (4.2.3 does not exist, current versión is 2.5), but you may have a different version of Arcade in Pro than you have in Enterprise. What I deduce from the screenshots it that WATER should be on the second line, but the web map does not do that in the pop-up. This is something that would normally work in the web map, but I guess you are running into a limitation caused by the version of Enterprise you are using. Best recommendation would be to update Enterprise (current version is 10.8), but that is normally easier said than done.
You deduced correctly, Xander. Thanks for the recommendation.Gavin Runyon Quince Lunde Rebecca Vanegas
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.