I have an opportunity object that has a picklist field called PO Type. Based on the value of this field, I need to do things:

  1. I need to display fields belonging to a particular PO type. For example PO type 1 has 5 fields and type 2 has 8 fields and so on. In total I have 5 such types. Some of the fields are common some not. And depending on the type selected I have to display the fields of this type. The type cannot be changed once selected. Is it possible using lightning components?

  2. I need an approval process but I need to display the type's fields to the approver. So based on the type the layout to the approver changes. Is it possible?

Your Answer

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

Browse other questions tagged or ask your own question.