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

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Adding link between two datasources in a form in d365

(2) ShareShare
ReportReport
Posted on by 89
Hi Experts,
Need your help to add link between two same table having different datasource name in a form.
I have a form where I have two InventDim datasource with different names ---InventDimReqItemTable and InventDimInventItemTable
But I need to link these two datasources with their inventSiteId.
 
Appreciate your help 
Categories:
I have the same question (0)
  • Martin Dráb Profile Picture
    235,796 Most Valuable Professional on at
    Adding link between two datasources in a form in d365
    I'm sorry, but I can't help you until you give us mor information.
     
    To remind you, you can you use addDynalink() if the data sources are linked and you can't add a link if they aren't related at all.
  • CU12101739-0 Profile Picture
    89 on at
    Adding link between two datasources in a form in d365
    Thanks Martin for the response,
     
    The datasources are not joined I want to link them with InventSiteId.
    Can you please help me with some sample code.
    InventDimReqItem.InventSiteId == InventDimItemTable.InventSiteId
     
  • Suggested answer
    Martin Dráb Profile Picture
    235,796 Most Valuable Professional on at
    Adding link between two datasources in a form in d365
    If the data sources are joined, you can use addLink() to add a join condition. If they're linked (e.g. with a delayed link), you can use addDynalink() to add a dynamic link.
     
    If they're unrelated, you can't make any link between them. But you could use a filter.
     
    If you don't know what to do, please explain your business requirement to us and we'll help you with the technical design.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans