Select to view content in your preferred language

PullData AGOL Layer AutoPopulate Field

5817
11
Jump to solution
09-12-2023 10:56 AM
ModernElectric
Frequent Contributor

I am beyond frustrated with this even after all the research and and tutorials I have been reviewing and nothing is working. This should be a very simple concept and I am missing something.

Attachment: Enter Inventory Number - The user is to enter the company inventory number (lets say 1050). From there, I would like it to automatically populate the field (Modern's Inventory Description).

I have a hosted feature layer on AGOL that has the Inventory Number and Description.

In the calculation: pulldata("@layer", "getValueAt", "attributes.DESCRIPTION", "PATH TO AGOL", ${Inventory})

However, when I enter 1050 into the survey, the Inventory Description remains blank. 

Please help since I am really lost here.

Thank You

 

0 Kudos
11 Replies
Vinzafy
Frequent Contributor

Awesome! Happy to help 😊

0 Kudos
ModernElectric
Frequent Contributor

I am going to throw one final curve ball - thanks to my manager.

If the user starts typing in the Inventory Description and finds in the drop-down what they want (I need to reprogram that for a drop-down), that it would auto-populate the Inventory Number. 

SO basically, the user would have a choice to enter the Inventory Number and AutoPopulate the Description OR in reverse. Is this able to be programmed?

0 Kudos