.fetchRelationships() showing outdated data

Hello,

I have:

Promise () => Method => Back to Promise and perform .fetchRelatioships() of one of the items manipulated in the method.

There is still data in .fetchRelationships that should no longer be there, as Method was performing SQL deletions. I am wondering if I need to swap it to AML posts within the method, or if I am missing a way to force update AML dom.

Best Regards,

Frank

Parents Reply Children
  • fetch is only used to get DB data.

    Easy example: You have manually opened a Part in Innovator. Typically the BOM relationship is visible too after you have opened the item.

    Now you can immediately use "get" to work with data from the BOM. Cause you already HAVE the data. It´s visible for you and present in the DOM. But if you need to work with data from the "AML" tab in a Method (without opening the tab), you need to "fetch" the data first. 

    "fetch" is just a command for the item dog. (Greetings to the attendees of Innovator Dev Course Gröbenzell 2018)