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
venkat bojjavenkat bojja 

On Junction Object having Two Look-Up fields. If Junction object record is creating from it's parent1 related list no need to visible the Parent2 Look-Up field vise versa

I have ObjectA,ObjectB and ObjectC

I have two look-up fields on ObjectB 

Like :ObjectA Name
        ObjectC Name
     
     Now When I'm trying to create the ObjectB record from it's parent object ObjectA related list, no need to visible ObjectC Name Look-up field same like while creating the ObjectB record from it's another parent ObjectC  no need to visible ObjectA Name Look-up field

Thanks in advance ....

Thanks & Regards
Venkat.
PriyaPriya (Salesforce Developers) 

Hey Venkat,

Do you want to hide the one field when you chose the second field value?

Thanks

Priya Ranjan

venkat bojjavenkat bojja
Hi Pria,
Thanks for your reply...
Yes, as I mentioned above if I want to create the child record(ObjectB) from parent objectA related list need to hide the look-up field ObjectCName and  vice versa.

Thanks & Regards
Venkat.