Author Topic: Access to combo in config of config based combo  (Read 324 times)

Patrique

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Access to combo in config of config based combo
« on: October 26, 2020, 03:08:10 pm »
If I have a combo based on a config, I can access fields in the config of the selected entry via app.getFieldValue("comboName.fieldFromTargetConfig"). But if the target config contains anther config based combo and I want to access a value from this one... is there some easy way?
« Last Edit: October 27, 2020, 01:40:13 pm by Patrique »

volker.thebrath

  • Administrator
  • Newbie
  • *****
  • Posts: 46
    • View Profile
Re: Access to combo in config of config based combo
« Reply #1 on: October 27, 2020, 10:27:50 am »
Hi Pastrique,


no, you get access to the combobox underlying config, but only one level. You would need another combobox with that config and set the value to it, or you could use app.loadConfigRecordById()



Patrique

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: Access to combo in config of config based combo
« Reply #2 on: October 27, 2020, 01:39:56 pm »
Ok, thanks. Just wanted to make sure I'm not doing a workaround although there's an better way.