Can not view a custom on Esri enterprise !!

135
0
09-30-2021 06:32 AM
Labels (3)
MohammedAlhassan
New Contributor

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

 

 

But it did not work on ( Map Viewer classic ) and ( dashboard) as pictures in below 

 

MohammedAlhassan_1-1633007787294.png

MohammedAlhassan_2-1633008084781.png

 

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')

 

 

Tags (3)
0 Kudos
0 Replies