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)

Thanks EncodeUriComponent(StringValue) solved my issue.

Helpful resources

Announcements
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Power Apps Ideas

Check out the New Ideas Site

We are excited to announce a new way to share your ideas for Power Apps!

Top Solution Authors
Top Kudoed Authors
Users online (5,331)