cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AndrewG-AU
Level: Power Up

PowerApp Portal liquid "entities" not working

Hi,

I'm trying to display the basic information of account on a page, but this syntax not working - the account variable is always null.

 

{% assign account = entities.account[<account record id goes here>] %}
{% if account %}
{{ account.name }} ({{ account.statecode.label }})
{% endif %}

Not supported yet??

1 ACCEPTED SOLUTION

Accepted Solutions
AndrewG-AU
Level: Power Up

Re: PowerApp Portal liquid "entities" not working

SOLVED!

 

The issue was with permissions. This is how to fix it:

  1. Go to "Entity Permissions" in the portal management app, Security group
  2. Add New, specify the CDS entity you are trying to access, scope - Global
  3. Save
  4. Then on the saved entity permission in the "Web Roles" section add the roles you want to have access (or all roles)
  5. The liquid record lookup as in the previous step works!

If this would help someone.

1 REPLY 1
AndrewG-AU
Level: Power Up

Re: PowerApp Portal liquid "entities" not working

SOLVED!

 

The issue was with permissions. This is how to fix it:

  1. Go to "Entity Permissions" in the portal management app, Security group
  2. Add New, specify the CDS entity you are trying to access, scope - Global
  3. Save
  4. Then on the saved entity permission in the "Web Roles" section add the roles you want to have access (or all roles)
  5. The liquid record lookup as in the previous step works!

If this would help someone.

Helpful resources

Announcements
firstImage

PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.

firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 135 members 4,584 guests
Please welcome our newest community members: