So I currently have a API which does address validation and the account form contains a state lookup control. I want to be able to change the state lookup value from my API result, however I need the GUID of the state lookup field I'm trying to change to. I currently have a array of GUIDs hardcoded to the state lookup fields and this isn't a robust solution. How can I get GUIDs of the lookup fields so I can change the values? Example: The value GA is the value displayed before the api call and than it returns FL. I cant set the value of FL because I don't have that lookup field guid but I have the guid of GA.
*This post is locked for comments