Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

How to pass parameter while navigating from one form to another?

Posted on by

I have following two forms of Phonecall activity

1) A

2)  B

when i select a contact, and add a phonecall activity for the contact. The business rule is based on the regarding field of the activity.

for example...

if the regarding user is X than navigate to form A. i can navigate to form A but the regarding field loses its value.

what i want is, after navigating to form A , the regarding value should already be set.

thanks 

*This post is locked for comments

  • Suggested answer
    Mithilesh Kumar Profile Picture
    Mithilesh Kumar 10,045 on at
    RE: How to pass parameter while navigating from one form to another?

    Hi Zia,

    Using "navigate" function in JScript for CRM, you won't be able to pass parameters because it does not accept that.

    You will have to make use of the concept called Query String which is tabbed as Form Parameters under the Form Properties window. You will need to build a URL to invoke the form.

    For reference you can find this article which will help you build a URL to invoke the form and pass parameters as Query String.

    msdn.microsoft.com/.../gg328483.aspx

    Hope that helps

    Thanks

  • zia ul haq Profile Picture
    zia ul haq on at
    RE: How to pass parameter while navigating from one form to another?

    Hi kumar,

    i have gone through it already... actually i have two forms of the same entity and i navigate it this way

    Xrm.Page.ui.formSelector.items.get(InformationFormGuid).navigate();

    where informationFormGuid is the guid of the form where i want to navigate.........

    there is no such methods with navigate function where i can pass parameter

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to pass parameter while navigating from one form to another?

    have you tried to use Mapping ?

    www.zero2ten.com/.../save-time-entering-data-into-crm-by-mapping-fields-between-records

  • Suggested answer
    Mithilesh Kumar Profile Picture
    Mithilesh Kumar 10,045 on at
    RE: How to pass parameter while navigating from one form to another?

    Hi Zia,

    You can make use of Form Parameters which will act as Query String.

    Here is an example of what you need.

    www.powerobjects.com/.../passing-parameters-between-forms-crm-2011

    Hope that helps

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans