Some days ago, I got an requirement of mass updating, everything was just fine but got stuck at Dynamic look-up, where I need to make a single look field but if user want to that he can change it to the another Objects look-up and save the record.
That means if I want to create a single look field having dependent on another picklist of Object Names,
If user selects Account Object, then our look-up field will pop-up the records of Account object.
But if user change the Object in the picklist and now he selects Contact object, then our look-up field will pop-up Contact records.
Here is the Snapshot for more understanding.
When you chose Account
And when you chose Contact from the picklist
Then your pop-up window will show me Contact records
The code is so simple but I just like the functionality so I thought to post it.
Hope some of you will like it.
Here is Controller Class "DynamicLookupController"
Visualforce Page "DynamicLookup"
Happy Coding..!!!! CHEERS
That means if I want to create a single look field having dependent on another picklist of Object Names,
If user selects Account Object, then our look-up field will pop-up the records of Account object.
But if user change the Object in the picklist and now he selects Contact object, then our look-up field will pop-up Contact records.
Here is the Snapshot for more understanding.
When you chose Account
And when you chose Contact from the picklist
Then your pop-up window will show me Contact records
The code is so simple but I just like the functionality so I thought to post it.
Hope some of you will like it.
Here is Controller Class "DynamicLookupController"
Visualforce Page "DynamicLookup"
Happy Coding..!!!! CHEERS



seriously u got an requirement of mass updating.......
ReplyDeleteThis is really good coding!...and very useful..!
ReplyDeleteThanks Abhi, :)
25EEBDB537
ReplyDeletehacker arıyorum
hacker kiralama
tütün dünyası
-
-
ReplyDeleteIf you're interested in experiencing a unique entertainment event, you might want to consider attending a ücretli show. These shows offer a variety of performances that cater to different tastes and preferences. For those seeking a memorable night out, exploring options like this can be very rewarding. To learn more about upcoming events, visit the official website. Don't miss the chance to enjoy a ücretli show.
632FCB74
ReplyDeleteKars
Niğde
Osmaniye
Bartın
Kayseri
Düzce
Tokat
Van
Manisa
0FE7F47F
ReplyDeleteHendek
Balçova
İnegöl
Esat
Kemalpaşa
Kiraz
Kahramankazan
Şile
Midyat
115C9F23
ReplyDeleteKaratay
Göcek
Alaşehir
Canik
Kalkan
Beykoz
Avanos
Akçakoca
Sapanca