Get URL parameters

I would like be able to call my app like this:

https://www.appsheet.com/start/32dc2d71-f30e-447c-aab3-019e468d51c2?CompanyName=Acme

And have a field be able to read CompanyName from the URL parameter.  Is this possible?

Thanks

Solved Solved
0 11 862
1 ACCEPTED SOLUTION

You can populate a form view via URL parameters, is that what you're wanting?

View solution in original post

11 REPLIES 11

I don't think it's possible.

You can populate a form view via URL parameters, is that what you're wanting?

Yep, I was able to get that to work.  Thanks for the reminder!

Hi, how can i do that?

To populate a field called Calculator Title with Secure Shred Service I pass this at the end of my URL (%22 is a URL-encoded double-quote, and %20 is URL-encoded space):

&defaults={%22Calculator%20Title%22:%22Secure%20Shred%20Service%22}

Thank you! It works ๐Ÿ˜€

In my current app the first view is "onboarding" and by end of this onbarding view i can select a "finish view" so there i send the user to a form. I need to set an initial value in this form from the url parameters, i have tried it but it seems its not posible to do it in this setup. Any ideas?? thanks

Perhaps try temporarily storing the URL parameter in a hidden field on the onboarding table, then when you go to your finish view use the hidden field value to set the finish table field.  You probably would need a two-step action to do this.

Thanks, i did try that with a non hidden field but it seems that onboarding
does not take values, and even if it did, i cant add actions, only chose an
end view.
My solution was basically to create different views for the same data and
use context to add the values (instead of the url parameter). I can control
which views to go from onboarding, so also i have different onboarding
views too


[image: Copia de COLEGIO (1) (1).gif]

Nicolรกs Cabello Vargas

Administrador TI

Magรญster Innovaciรณn y Tecnologรญa

www.fundacioncondell.cl

Celular: +56937899850

Hola Nicolรกs! Curioso el ver otro compatriota por acรก.

Los LINKTOFORM() te permiten asignarle valores por defecto a cualquier campo de la tabla destino. Puedes hacer una acciรณn con ese DeepLink y asociarlo al Onboarding

LINKTOFORM() - AppSheet Help

Hola compa, gracias!, la traba es que debo comenzar con el onboarding para
mostrar las clรกusulas de un contrato, pero con un view/slice distinto en
cada sitio web donde quedarรก el link de la app (son colegios distintos y
tienen clรกusulas diferentes), y luego del onboarding no se puede pasar
ningรบn valor (no deja agregar acciones), solo seleccionar una view, por eso
hice views distintas (nuevamente) para cada colegio, pues aqui solo quiero
colocar el valor de quรฉ colegio se trata, y eso lo puse con context, podia
dejarlo eso para seleccionar por el usuario pero por evitar errores...todo
eso para tener a todos los colegios en una misma base de datos


[image: Copia de COLEGIO (1) (1).gif]

Nicolรกs Cabello Vargas

Administrador TI

Magรญster Innovaciรณn y Tecnologรญa

www.fundacioncondell.cl

Celular: +56937899850
Top Labels in this Space