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)], '/'))
Yes (see below)
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?
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!
Okay thanks Kory and xander_bakker. I'll contact support about this.