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
Responsive Resident
Responsive Resident

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
Responsive Resident
Responsive Resident

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power Apps Community Call Jan. 2022 768x460.png

Power Apps Community Call

Please join us on Wednesday, January 19th, at 8a PDT. Come and learn from our amazing speakers!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (2,883)