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 Pages / Retrieve record from d...
Power Pages
Unanswered

Retrieve record from dataverse: Liquid error: Value cannot be null. Parameter name: key

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I try to get the value and label of a custom column choice field in the contact table. However, when I view the output in the PowerPages designer, it is able to retrieve the correct value and label, but when I view it on the webpage it gives the error: Liquid error: Value cannot be null. Parameter name: key for

{% assign contact = entities['contact'][request.params.contactid] %}

label {{ contact.cref8_type.label}}
value {{ contact.cref8_type.value}}

and the label and value return nothing. 

 

Why does it work in the designer but not on the webpage?

Categories:
I have the same question (0)

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 Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard