You need to sign in to do that
Don't have an account?
bhanu_prakash
display popup with options
Hi Team,
Need to display popup with contains account and contact button .. If i click on contact need to display list of contacts with pagination .
if i click on accounts need to display list of accounts with pagination
need to support both lightning and classic.
Thanks for advance
Need to display popup with contains account and contact button .. If i click on contact need to display list of contacts with pagination .
if i click on accounts need to display list of accounts with pagination
need to support both lightning and classic.
Thanks for advance
Its good to see that you have tried something. You are very close to the solution, you actually don't need apex to redirect. It can be done directly by JavaScript, please see the below code and change in your VF page accordingly and you can delete the controller methods in which you are redirecting.
If this answer solves your problem then mark it as the solution to help others. Thanks.
All Answers
Have you tried something by yourself yet or you have just posted the requirement? Its a humble request that you should only use this community to get answers for your queries.
If you have already done/tried something and getting stuck somewhere then I can surely help you. Thanks.
Page
controller
Need to redirect after click on account or oppournity stuck over here
Thanks for advance
Its good to see that you have tried something. You are very close to the solution, you actually don't need apex to redirect. It can be done directly by JavaScript, please see the below code and change in your VF page accordingly and you can delete the controller methods in which you are redirecting.
If this answer solves your problem then mark it as the solution to help others. Thanks.