Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Getting the parent node failed

(0) ShareShare
ReportReport
Posted on by 8

Hello,

I developed new form with my 2 datasources that are also datasources on the form from which my new form is called.

So, main form has menu item that calls new form with the same datasources.

One datasource is parent and one is child.

When I save the data on my new form its ok and I dont get an error but when I click refresh (only the data refresh) I am getting Getting the parent node failed error and I am unable to debug it.

Any help?

Thanks in advance

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed

    Any thoughts?

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed

    Lets say I have a lease object which is the parent:

    pastedimage1684152247992v1.png

    And it has areas as you can see (child).

    When I click on Merge I want to select other lease objects that I want to merge from (their areas):

    When I enter that page I click on New, select some of the existing lease objects (it actually doesnt create new record, I made it so it just populates the field needed to relate these two lease objects)

    pastedimage1684152378534v2.png

    When I click on New on Area tab it should show me lookup for lobj2 but when it creates record, it should relate to the calling lease object (lobj1), so I am basically creating a child (area) for the calling parent.

    So these datasources on my form that I enter by clicking on Merge are not joined.

  • Martin Dráb Profile Picture
    232,978 Most Valuable Professional on at
    RE: Getting the parent node failed

    What do you mean by the result? It sounds like you want to create two table records, but each of them will have a different table schema. It's also not clear to me how it's related to the previous discussion. Please elaborate.

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed

    On the main form I have those mentioned datasources.

    I needed new form that I will use to merge data from other records.

    Example:

    1. record: Record 1 (parent) has Child record 1 quantity 10.

    I want to merge more records (quantity from child DS).

    So I select other record (parent also, for example Record 2) that I want to use child 2 from that has quantity 5.

    So the result needs to be

    Record 1, CHild 1 qty 10, Child 2 qty 5

    Record 2, Child 2 qty 0 (decreased since it is now part of Record 1)

    And when I reopen the new form it should show only the child records that are merged, so no the ones that alreadi existed.

  • Martin Dráb Profile Picture
    232,978 Most Valuable Professional on at
    RE: Getting the parent node failed

    Please forget implementation details of your current solution for a moment and explain what you're trying to achieve from users' point of view. I'm unable to design a solution from what you told us so far, without knowing the bigger picture.

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed

    Yes, I have two independent, I just fill the field that is used for relate child and parent datasource.

    How can I relate datasource on caller form and child datasource on new form?

  • Martin Dráb Profile Picture
    232,978 Most Valuable Professional on at
    RE: Getting the parent node failed

    If you didn't join (or link) the child data source to the parent, then you have no join and no parent and a child. You have two independent data sources at the same level.

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed D365FO

    I removed it on purpose cause this child datasource should be actually showing data joined with caller form data source.

    So, FORM A: Parent1 DS, Child1 DS

    FORM B: Parent2 DS, CHild 2 DS

    (but parent 1 and parent 2 are the same table, as well as child 1 and 2)

  • GirishS Profile Picture
    27,825 Moderator on at
    RE: Getting the parent node failed D365FO

    This type of error i have never seen before. Can you check whether you have provided join source on child datasource?

    Thanks,

    Girish S.

  • techAx Profile Picture
    8 on at
    RE: Getting the parent node failed D365FO

    Hi

    Here is the error when i click on refresh. It doesnt stop me from inserting the data, only displays an error

    pastedimage1683279678434v1.png

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,217 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,978 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans