QR code with Deep links to prefilled form

Hello,

I'm working on an application that needs to have custom QR codes that prepopulate a form. I've tried using deep links and I've tried manually constructing the URL, but whenever the QR code is scanned, the mobile device just pulls up the unfilled form. 

Is this a limitation with the system, or is it something I'm doing wrong. 

 

Thanks,

Solved Solved
0 3 2,070
1 ACCEPTED SOLUTION

I think it's possible to do with your approach but you need to know exactly where to place parameters in the constructed URL used for opening the prepopulated form. Don't forget to convert some letters with respect to URL syntax (use ENCODEURL function may be). Here's another approach if you need to use LINKTOFORM(...) with action.

1.You need a new physical table having only 1 column & 2 rows (name the top cell like 'QR'). Add this table to AppSheet and set to update allowed only. Aso, set its column type to text & check the scan option.

2 You need a form for edit this column, which would be auto-built by AppSheet.

3.You need an action to open your prepopulated form after user scan text (that contains form's parameters) and save the form. In LINKTOFORM(...), you extract all prarameters from the scanned text and place in proper places.

That's it.

View solution in original post

3 REPLIES 3

You're doing something wrong.

I think it's possible to do with your approach but you need to know exactly where to place parameters in the constructed URL used for opening the prepopulated form. Don't forget to convert some letters with respect to URL syntax (use ENCODEURL function may be). Here's another approach if you need to use LINKTOFORM(...) with action.

1.You need a new physical table having only 1 column & 2 rows (name the top cell like 'QR'). Add this table to AppSheet and set to update allowed only. Aso, set its column type to text & check the scan option.

2 You need a form for edit this column, which would be auto-built by AppSheet.

3.You need an action to open your prepopulated form after user scan text (that contains form's parameters) and save the form. In LINKTOFORM(...), you extract all prarameters from the scanned text and place in proper places.

That's it.

Yes! This worked. I was not properly encoding the URL. My improperly encoded UR could be made into a functional QR code, but only by non-Google QR codes.

since I needed to generate QR codes automatically, I needed to make it work for Google. 

I then saw that the first part of my URL was not properly encoded like you recommended, and then was able to solve it!

 

thank you!

Top Labels in this Space