function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sssssssssssssssssssssss ssssssssssssssssssssssss s 

show product object fields as dependent drop-down on a contact object?

Hi Team,

I have a requirement for contact object, for which I need to add the details from product object. There are 4 levels of product as shown below,
 
Batch Type --> Course type   --> Class Type     --> Class
A           -->  B            --> C              --> D
A           -->  B            --> C              --> E
A           -->  B            --> C              --> F
A           -->  B            --> C              --> G
A           -->  B            --> C              --> H
A           -->  B            --> C              --> I
A           -->  B            --> C              --> J
K           -->  L            --> M              --> N
K           -->  L            --> M              --> O
K           -->  L            --> M              --> P
K           -->  L            --> M              --> Q
K           -->  L            --> M              --> R
K           -->  L            --> M              --> S
K           -->  L            --> M              --> T
 
 
How can I ensure that the product detail fields Batch Type, Course type, Class Type and Class are shown as drop down in the contact object? Also is it possible to achieve the requirement using out of the box features?
 
 
Meghna Vijay 7Meghna Vijay 7
Hi,

By using visualforce page and apex:detail tag in it. No it cannot be acheived using out of the box features.

Thanks
 
sssssssssssssssssssssss ssssssssssssssssssssssss s
Is there a sample code which I could use to test and see the results? I’m new.