Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Answered

Dialog: Pass link of created record to child dialog

Posted on by 417

I created a dialog doing the following:

Mail: main dialog:

  1. Show a page
    1. Customer: lookup field
    2. Type: option set
    3. Product: option set
  2. Create new record from data in different entity "request"
  3. Prevent going back by opening new child dialog

Child dialog:

  1. Show link to new created record (here is the problem)
  2. End dialog

Is it possible to pass the guid/link of the new created record to the child dialog? The user should be able to get a clickable link where he can open the new record.

  • Verified answer
    bernhards Profile Picture
    bernhards 417 on at
    RE: Dialog: Pass link of created record to child dialog

    Ok it was my bad. When you create the arguments you also need to pass the data from the main Dialog:

    Child Dialog:

    Create the arguments as string

    dialog4.png

    Main Dialog:

    Connect the child dialog

    8053.dialog2.png

    Edit the preferences (only possible if the main Dialog does have arguments!)

    8053.dialog3.png

    Follow this https://community.dynamics.com/crm/b/algrapsblog/archive/2014/11/03/crm2011-opening-records-created-from-dialogs and link the passed values on the site

    dialog4.png

    Now it works. :)

  • bernhards Profile Picture
    bernhards 417 on at
    RE: Dialog: Pass link of created record to child dialog

    Thanks for your answer and sorry for the late response.

    Unfortunately your solution didn't work. I can create the argument but it will not shown as link in the child process.

    Will this also work when the record is created in a different entity?

    The Dialog starts in the entity "E-Mail" creates a new record in the entity "Request". After that the child Dialog (in the entity E-Mail) should get the link to the new created record.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Dialog: Pass link of created record to child dialog

    Hi! 

    For Child dialog you can create input paremeters. Add pass your lookup value there.. 

    MicrosoftTeams_2D00_image.png


    Dynamica Labs http://dynamicalabs.com/

    Disclaimer:
    Any post on this page provided "as is" without warranty of any kind and is for educational and information purposes only. We disclaim any liability arising from any reliance placed on any post.

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,277 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,135 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans