Showing results for 
Search instead for 
Did you mean: 
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:




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')




Helpful resources

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

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!


Experience what’s next for Power Apps

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

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Top Solution Authors
Top Kudoed Authors
Users online (54,362)