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 :
Power Apps - Microsoft Dataverse
Answered

Connections can only assign one connection role

(0) ShareShare
ReportReport
Posted on by 128

Hello, I am considering the use of connections in my app and imported CDM connection and connection role entities to my solution. It is my understanding that you could assign a role to each of the connected records to describe the relationship, e.g. Doktor - Patient.

Using the Main Information Form -  I could only enter one role either for the "from" or "to" record but never both. Am I doing something wrong or is this a bug? Thanks in advance. 

I have the same question (0)
  • Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at
    Re: Connections can only assign one connection role

    Hi @SandraSoniec 

     

    When you create a new Connection you see the Connect To tab by default.  On this tab you can set the role as Doctor (for example).  If you then click on the Details tab you can set the reciprocal role and set the Connected From role as Patient.

     

    Annotation 2020-04-18 0857561.png

     

    Additionally, you can also set up reciprocal Connection Roles to populate on the Details tab by default.  When you create a Connection Role you can set Matching Connection Roles.  In my example below, I have the Employee Connection role matched with the Employer Connection Role.  This mean that when I create a new Connection from an Account and set the Connected To as Employer then on the Details tab Employee will be automatically populated in the Connected From role.

     

    I hop this makes sense.  Easiest way to understand is to give it a try.

     

    Annotation 2020-04-18 0857562.png

     

    -----
     
    If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

  • Sandra Soniec Profile Picture
    128 on at
    Re: Connections can only assign one connection role

    @HSheild I have experienced trouble in the Details pane (your first screen shot). Anytime I entered something "As this role" in both pane, I could only store role rather than two, the entry in the other pane was always deleted. Will try harder including trying out connection roles. Thxs for your advice. 

  • Verified answer
    Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at
    Re: Connections can only assign one connection role

     Hi @SandraSoniec 

     

    The reason why the 2nd role gets deleted on the Connection is usually because you don't have the Matching Connection Roles set up on the Connection Role entity (the second screenshot).  Try add some Matching Connection Roles and see how that works out.

  • Sandra Soniec Profile Picture
    128 on at
    Re: Connections can only assign one connection role

    @HSheildWorks - Thank you!

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 819 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 308 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 222 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics