Select to view content in your preferred language

Display attribute of a feature layer according to the previous answer

677
2
Jump to solution
01-13-2023 08:14 AM
RaynerCastro
Emerging Contributor

RaynerCastro_0-1673626026476.png

I created a list of people from a feature layer in arcgis online.

I want it to show me attributes from the same layer according to the person selected from the list.

I tried this

pulldata("@layer","getValue","attributes.ci","https://services8.arcgis.com/2jmdYNQsteiDSgjD/arcgis/rest/services/Personal_Trnasporte_USB/FeatureSe...",${registro_name})

but it shows nothing

Thanks

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
ZacharySutherby
Esri Regular Contributor

Hello @RaynerCastro

It looks like your where clause may be invalid, it should be something like concat("<namefield>='",${registro_name},"'"). Please check out the Query a Feature Layer sample in Connect and the documentation for more information. 

Thank you,
Zach

View solution in original post

2 Replies
ZacharySutherby
Esri Regular Contributor

Hello @RaynerCastro

It looks like your where clause may be invalid, it should be something like concat("<namefield>='",${registro_name},"'"). Please check out the Query a Feature Layer sample in Connect and the documentation for more information. 

Thank you,
Zach
RaynerCastro
Emerging Contributor

it worked! thank you!

0 Kudos