Hi,
I have an Account form contain the Contact Grid which allow to click on New button to open the Quick Create contact form.
Can you please advise on how do I fill get the account name value (from the Account form) and fill it in the contact quick create form Account name field ( the Quick create form has the Account name field in the form)?
Thanks,
Ddee
*This post is locked for comments
Hi,
You can do this following ways-
1. Create a mapping between account and contact entity where name of account is mapped with account name field of contact entity. You can see the impacts when you saved the records.
2. Use JavaScript sessionstorage when you open the account form, in the onload just set the account name value in the javascript sessionstorage by using key like "loginusername + LastAccessAcccount)
Lets say for you the key will be "DeeLastAccessAcccount"
Using quick create javascript onload event get the session storage value and set .
[View:https://www.w3schools.com/jsref/prop_win_sessionstorage.asp]
Make sure using this approach you can not work by opening two window parallel , it will show same value .
HI..
This should be done by default.. when you are creating contact record from account form, then by default account name is mapped to contact form.. to make parent child relationship.
In case if you need to move some more information from account to contact when creating contact, then you need to user attribute mapping. You can define attribute mapping form entity relationships.
Hi DDee,
I am not sure that I understand your question, but you can find more information on Quick Create Forms in this article.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156