Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Adding link between two datasources in a form in d365

(1) ShareShare
ReportReport
Posted on by 38
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:
  • Martin Dráb Profile Picture
    Martin Dráb 230,543 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
    CU12101739-0 38 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
    Martin Dráb 230,543 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,543 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans