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

Announcements

News and Announcements icon
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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
Valantis Profile Picture

Valantis 59

#2
11manish Profile Picture

11manish 53

#3
Vish WR Profile Picture

Vish WR 29

Last 30 days Overall leaderboard