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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Relation Problems with...
Power Apps
Unanswered

Relation Problems with Virtual Tables (Virtual Connector Provider)

(0) ShareShare
ReportReport
Posted on by 29

Hi Guys,

we have a pretty old on-premises SQL-Server based CRM system. To access the Data easily within MS Power Platform tools, we installed the on-premises Data Gateway. As we don’t want to modify the original Datamodel, we are planning to solve this via Dataverse Virtual Tables. The Virtual Connector Provider (VCP) Preview looks like a good way to deal with it.

I followed the instructions from https://docs.microsoft.com/en-us/powerapps/developer/data-platform/virtual-entities/create-virtual-tables-using-connectors and now I can see and create all the tables and access the data.

However, there are a few strange behaviors and one big problem. I know the feature is still in a preview... but maybe someone can help me out here. Maybe it is not connected to VCP at all.

 

Problem:

Relationships between Virtual Tables and native tables are not working. As a result, a can only lookup correctly 2 of 3 Virtual Tables. Adding a record only saves 1 out of 3 lookup values.

 

Let me try to show you the facts:

I added 3 Tables via the VCP (yellow)

Arne_Christmann_11-1646596909410.png

 

and created 1 native table (blue). My goal is, to connect those via the native table.

So I created 3 lookup cols in the blue table.

Arne_Christmann_12-1646596960960.png

 

They also have (seemingly) correct relations to the VCP tables

Arne_Christmann_13-1646596974313.png

 

I added those columns to the main form as well:

Arne_Christmann_14-1646596987644.png

 

 

And now the strange behaviour kicks in.

 

When I try to add a record through Dataverse the main form is invoked:

Arne_Christmann_15-1646597014663.png

 

 

The lookup for the first column works just fine. Unfortunately, the lookup for the second column shows only 1 out of 3 records:

Arne_Christmann_17-1646597071127.png

In Dataverse, I can see all 3 records..

Arne_Christmann_18-1646597143317.png

Also interesting: When I try the advanced search, the result is one different record:

Arne_Christmann_20-1646597184599.png

 

 

The lookup for the third column works good - it shows all records:

Arne_Christmann_21-1646597209241.png

 

So just before I hit the save button, the complete record looks like this:

Arne_Christmann_22-1646597221446.png

 

Once, the save button was hit, the second and the third column changes:

Arne_Christmann_23-1646597240691.png

 

Dataverse shows the same result:

Arne_Christmann_24-1646597260534.png

 

Does anyone have a clue what I am doing wrong? Why is only one out of two values stored correctly?

I have the same question (0)
  • Arne_Christmann Profile Picture
    29 on at

    And here is another strange behavior; While the VCP Solution creates and synchronizes those custom entities, it also creates a primary key (GUID) for it. In my understanding, it has to be unique. But it isn't..

    Arne_Christmann_0-1646666155826.png

     

  • Nhelgren Profile Picture
    on at

    Hi Arne, please log a bug on this behavior and we will review.

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

Forum hierarchy changes are complete!

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard