Dear all
I have a problem to viewing my custom pop on Esri enterprise online despite it is work on map viewer beta please see in below ....
It is working on ( map viewer beta ) as picture in below
![MohammedAlhassan_0-1633009105401.png MohammedAlhassan_0-1633009105401.png](https://community.esri.com/t5/image/serverpage/image-id/24246i9A4DAA56D11FBD85/image-size/medium?v=v2&px=400)
But it did not work on ( Map Viewer classic ) and ( dashboard) as pictures in below
![MohammedAlhassan_1-1633007787294.png MohammedAlhassan_1-1633007787294.png](https://community.esri.com/t5/image/serverpage/image-id/24241i8E6D276BBC875B6C/image-size/medium?v=v2&px=400)
![MohammedAlhassan_2-1633008084781.png MohammedAlhassan_2-1633008084781.png](https://community.esri.com/t5/image/serverpage/image-id/24243i13E5A2DC8A477357/image-size/medium?v=v2&px=400)
Here is my configure attributes code
var portal = Portal('https://bsgis.ho##ingapps.##/portal/')
var Ejar_Units = FeatureSetByPortalItem(portal,
"f7e691a11d##912#f14e7879500", 0, ['F_PROPERT', 'rental_uni' ])
var Ejar_Properties = FeatureSetByPortalItem(portal,
"a252cc##########e91f82a3ab9d23652", 0, ['PROPERTY_T',])
var F_PROPERT = $feature.F_PROPERT
var filterF_PROPERT = 'F_PROPERT = @F_PROPERT'
var PROPERTY = $feature.PROPERTY_T
var relatedData = Filter(Ejar_Units, filterF_PROPERT)
var relatedDataSorted = OrderBy(relatedData, 'rental_uni ASC')
var popupString = ''
for (var f in relatedDataSorted){
popupString += text(f.RENTAL_UNI, ) + textFormatting.NewLine
}
DefaultValue(popupString, 'No measurements to show')