cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
anandk2016
New Member

List Records from CDS (Current Environment) error our while retrieving records

Hi,

 

I have used List record component from the CDS (current Environment) in that I have filter criteria as mentioned below:

lastname eq 'O'Brien' 

 

This error out with 404 error. Problem I see hear is the colon in the search string. I wanted to check how to handle such special characters in search string, because in my case the search string is dynamic, sometime I can get other special characters like / or - 

 

I would like to check how can this scenario be handled?

1 ACCEPTED SOLUTION

Accepted Solutions
krishnags
Super User
Super User

You may need to encode the single quotation. Special Characters to be escaped. Try 'O%20%20Brian' or EncodeUriComponent(StringValue)

View solution in original post

2 REPLIES 2
krishnags
Super User
Super User

You may need to encode the single quotation. Special Characters to be escaped. Try 'O%20%20Brian' or EncodeUriComponent(StringValue)

View solution in original post

Thanks EncodeUriComponent(StringValue) solved my issue.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (15,151)