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
Amit Yadav 9Amit Yadav 9 

Question ralted to accounts

1. Create a custom tab naming, “Assignment”
2. Clicking on Assignment, it will open a VF page(showingbelow)
3. Click on Account Lookup - . It will open a lookup window, select the Account.
4. Account will appear in the following box
Account Name :
 SUBMIT            Total Contacts: 4


5. Click on Submit, will display the contact list related to theaccount
6. User can edit any of the Contact. Clicking on edit, will redirect to Contact page editand save.
7. User can delete the contact.
8. Total Contacts should show the total number of contacts in the selected Account


account name is lookup field to choose a account and submit is a button which when clicked gives the details of contacts related to the selected account.

thank you
please help