Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Pages - Customize & Extend
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?

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey 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 > Power Pages

#1
Fubar Profile Picture

Fubar 69 Super User 2025 Season 1

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 49 Most Valuable Professional

#3
Jon Unzueta Profile Picture

Jon Unzueta 43

Featured topics