Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

testing BC virtual tables with power pages: synthetic relation issue

(1) ShareShare
ReportReport
Posted on by
Hi,
 
I'm testing a power pages site to display BC data on it.
So I follow this article
 
it's working... until I add a security layer through synthetic relations.
the article mention that I have to create a key in my source table in dataverse, like in the contact table.
and if I have multiple employees in the same company, my key can have the BC Customer columns + another one like the email or phone number (because a key in dataverse is a unique index so no duplicate authorized)
so I setup my key like that: BC Customer + email1
which should allow me to have more than 1 contact per company.
 
after that, I can't setup my synthetic relation because the system wants to match my 2 columns from my key index in the contact table to 2 columns in the virtual table.
but only 1 column can be matched (the bc customer one) 
the email1 column has no match to the sales order table, and should not be used
so I can't create my synthetic relation in this case, while the documentation say it's should be possible.
 
and another problem:
apparently the security is not working on child rows, so I apply the security to my sales orders table, and after I want to display the sales order lines in my forms, a classic parent / child requirement.
I setup my child permission in power pages correctly, the sales order header I can see it, but the child rows (the sales lines) are not displayed (/internal server error/)
 
the documentation did not mention all of these limitations.
any idea or deeper guides to setup this properly?
 
thanks.
 
  • Neil Phelan Profile Picture
    161 on at
    testing BC virtual tables with power pages: synthetic relation issue
    Hi
     
    Did you manage to solve this issue as I am getting the same error?
     
    Thanks Neil.
  • Suggested answer
    YUN ZHU Profile Picture
    84,265 Super User 2025 Season 1 on at
    testing BC virtual tables with power pages: synthetic relation issue
    Hi, because this feature is still in the Preview stage, there are not many partners currently using this feature. I personally recommend that you submit your questions to the BC Yammer Group. The person in charge of Microsoft will see and solve your questions.
     
     
    aka.ms/BCYammer: Dynamics 365 Business Central Partner Community (Formerly: Development)
    More details: About Business Central partner community on Viva Engage (formerly Yammer)
     
    Hope this helps.
    Thanks.
    ZHU
  • Gerardo Rentería García Profile Picture
    19,644 Most Valuable Professional on at

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans