Hello,
I am working on passing a parameter value. The requirement is to read the value in the form for the specific attributes and pass that value in the quick create form/ or a ribbon button. For instance if field First Name = Jon, Last Name = Doe, Case Id: 12345, when a user click a button I want those fields with the value to out populate.
I appreciate the help!
*This post is locked for comments
You need to store both lookup Id and name so that you can set the lookup value.
community.dynamics.com/.../how-to-set-lookup-field-value-using-javascript-dynamics-crm
Hi Goutam, thank you for the above link. I was wondering how i can implement for a lookup field?
Another option , you can use browser local storage to set dynamic value in parent page and get the value in quick create form local storage data.
See Rawish's Blogs -
passion4dynamics.com/.../populate-values-from-on-quick-create-form
Hi
You can pass dynamic values to form as custom query string parameters. You will have to define the parameter name and type on the form.
Please follow the link below to know how this custom query string works
docs.microsoft.com/.../configure-form-accept-custom-querystring-parameters
And follow the link below to see example JS code to see how you can extract the value passed
www.powerobjects.com/.../passing-parameters-between-forms-crm-2011
Thank you Radu. The problem I am facing is I don't the value of the parameters to pass it as a static value. I was wondering if there is a way to do it dynamically?
Hello,
You can use the openForm method docs.microsoft.com/.../openform and set the form parameters
Please see the example on this page: docs.microsoft.com/.../set-field-values-using-parameters-passed-form
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156