Using the DynamicPickList class and the datasource attribute on the .design file is pretty straightforward. I can create a dynamic picklist this way.

What I want is to be able to have two picklists. One so the user can select the object, and other for him/her to select a field of said object.

I searched for a while now, and it looks like it is not possible to reference another field from the dynamic picklist class. If this is not correct, how can I achieve this?


You can't. The method signature does not have any information about other selected values, so you cannot make a list like this right now.

  • 1
    That's a shame. I hope it gets introduced on a future release. – Renato Oliveira Dec 1 '18 at 15:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.