This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Populate a combo-box using a 3rd party API

Hi,

I want to populate the data of a combo-box in my SBM application by calling a 3rd party API that returns JSON data, I tried using javascript but I was not able to get the combo-box id out of InitFieldLookup which is being generated automatically by SBM, is there any way to do that scenario?

Thanks!

Tags:

  • Verified Answer

    +1  

    I believe when you put the combo-box on the form, you can give it a name. Then, that name will be used when trying to access that field. The big thing to keep in mind is that a combo-box on the form is not a data field. Any selections made in the combo-box will not be saved unless you copy that value to an actual sbm field (defined in the primary or aux table). I hope that helps.