web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Passing Parameter with dynamic value

(0) ShareShare
ReportReport
Posted on by 274

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

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    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

  • MituCRMing Profile Picture
    274 on at

    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?

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    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.

    ScreenClip-_5B00_744_5D00_.png

    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

  • Verified answer
    gdas Profile Picture
    50,091 Moderator on at

    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

  • MituCRMing Profile Picture
    274 on at

    Hi Goutam, thank you for the above link. I was wondering how i can implement for a lookup field?

  • gdas Profile Picture
    50,091 Moderator on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans