Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Using 'Connections' between two custom entities

(0) ShareShare
ReportReport
Posted on by 180

Hi All,

I'm trying to work out if the 'Connections' functionality in D365 would be useful and am having some trouble getting it to work.

Scenario

I've set-up an environment in a trial D365 instance and have configured the following:

2 Custom Entities

  • Test Candidate and Test Job Opportunity
    • Both with 'Connections' enabled in the entity properties

2 Connection Roles

  • (This is where I get a bit uncertain)
  • Job Opportunity - for the selected record types I've tried All, Test Candidate only and Test Candidate & Test Job Opportunity 
  • Candidate - for the selected record types I've tried All, Test Job Opportunity only and Test Job Opportunity & Test Candidate
    • I've added both as matching connections so when I open the Candidate role I see Job Opportunity in the Matching Connection Roles and visa versa

The issue: When I open a Test Candidate record, and try to create a connection, I can't see records from the Test Job Opportunity entity and visa versa (see below)

5672.pastedimage1579654034645v4.png

The Question:

Is it not possible to connect two custom entities together, or am I doing something wrong?

I've tried following guidance from these sources, but I still haven't got it to work for me:

https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/configure-connection-roles

https://docs.microsoft.com/en-us/dynamics365/customerengagement/on-premises/basics/create-connections-view-relationships-between-records

https://www.magnetismsolutions.com/blog/adammurchison/2017/10/30/a-quick-guide-to-connections-in-microsoft-dynamics-365

https://www.crmsoftwareblog.com/2019/08/how-to-create-connections-and-connections-roles-in-dynamics-365/

https://www.cloudfronts.com/connection-entities-dynamics-365/

  • CamParker Profile Picture
    CamParker 180 on at
    RE: Using 'Connections' between two custom entities

    Thanks Ju Hao! This solved the issue :-)

  • Verified answer
    LuHao Profile Picture
    LuHao 40,872 on at
    RE: Using 'Connections' between two custom entities

    Hi CamParker,

    This is because your custom entity is not added to the app, so you cannot use it in the connection.

    Go to Advanced Settings > My Apps, open in app designer.

    3264.pastedimage1581489748148v1.png    0804.pastedimage1581489835301v2.png

    Click Entities, select your 2 custom entities, save and publish.

    7612.pastedimage1581489889148v4.png    5875.pastedimage1581489959846v5.png

  • CamParker Profile Picture
    CamParker 180 on at
    RE: Using 'Connections' between two custom entities

    bump

  • CamParker Profile Picture
    CamParker 180 on at
    RE: Using 'Connections' between two custom entities

    Any ideas anyone?

  • CamParker Profile Picture
    CamParker 180 on at
    RE: Using 'Connections' between two custom entities

    Hi Abdul, Thanks for your suggestion however I have already tried various combinations for the record types and it didn't seem to help.

    For the Job Opportunity role, I've tried the combinations of selecting 'All',  the 'Test Candidate' entity only and both the 'Test Candidate' & 'Test Job Opportunity'  and done the same for the Candidate role.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Using 'Connections' between two custom entities

    When you define the connection role you need to choose applicable record types. Once done you will be able to choose connection role for that entity.

    5353.pastedimage1579659816610v1.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

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,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans