cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Super User
Super User

Bug: LookUp for a CDS URL field failing - characters not escaped?

My app is saving photos to Azure Blob Storage, setting a secure token then patching that token to a URL field in a CDS table named 'Azure Documents'.

After the save I want to do a LookUp on the URL field to confirm that the record really has saved (yes, I should be able to rely on the return value of the Patch, but that does not appear to be reliable - i.e. the patch will sometimes return true but the record has not been saved). The scenario is that users are often working on the edge Wi-Fi range and when connectivity drops, things can be left in an inconsistent state.

If I try to do a LookUp comparing the URL columns to the value I have just attempted to set for the record, I get the following runtime error:

 

PaulD1_1-1605568203957.png

 

Looks to me like the : character is making the OData query barf.

This is the code that causes the failure:

 

LookUp('Azure Documents', URL = conWebURL, 'Azure Document')

 

 

0 REPLIES 0

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

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