Estou tentando passar uma variável (Nome) de um bloco de lista via URL para um campo(Produtos) de um formulário (/form-pedidos), os formato que tentei:
/form-pedidos?Nome={{record.Nome}}
Porém ocorre erro com esse comando, em um teste fiz:
/form-pedidos?Nome=Bolo
E o formulário carregou e preencheu o campo Produtos corretamente, porém o “Bolo” é uma variável que já deve carregar de forma automática no formulário, alguém sabe alguma forma de resolver esse problema?
Hi @Jose_Carlos,
Please note that the Open URL button doesn’t support passing dynamic placeholders or variables.
To achieve this, you’ll need to create a concatenated formula in your database that dynamically generates the full URL for each record. In your formula, include the first part of the URL , then add /form-pedidos?Nome= followed by the field where you store the name.
For example, if your form URL is https://example.com/form-pedidos, your formula could look like this:
CONCATENATE("https://example.com/form-pedidos?Nome=", {Name})
or (depending on your database syntax):
"https://example.com/form-pedidos?Nome=" & {Name}
You will need to replace {Name} with the actual field name that you have in your base.
Once you’ve created that field, map the formula field to your action button instead of using a static URL with placeholders.
1 Like