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

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users


We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

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

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Top Solution Authors
Top Kudoed Authors
Users online (74,821)