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?

up vote 2 down vote accepted

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.

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

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

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