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

PA Community Call

Power Apps Community Call

Next call is happening on April 21st at 8a PST.

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

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