Editing Array values

:us: Guys, I’m still learning to program. But I’m trying to develop a Custom App here at Make.
I managed to make all the requests I needed, except for one.

Galera, to aprendendo ainda a programar. Mas to tentando desenvolver um Custom App aqui no Make.
Consegui fazer todas as requisições que precisava, exceto uma.


In these two images, you can see how I configured the module.
In the next one, you’ll see what the output looks like:

Nessas duas imagens, vocês conseguem ver como configurei o módulo.
Nessa próxima, vocês verão como está a saida:


So far, so good. However, I need the value of the array (collection) to always start with “field__”, but I would like it to be recognized automatically. Without the user having to type this value every time.

Ex:
“Accounts": ‘test’ ==> would become ==> ‘field__Accounts’: ”test”

Até aqui tudo bem. Porém, preciso que o valor do array (collection) comecem sempre com “field__” porém, gostaria que isso fosse reconhecido de forma automática. Sem a necessidade do usuário digitar esse valor sempre.

Ex:
“Contas”: “teste” ==> passaria a ser ==> “field__Contas”: “teste”

Welcome to the Make community!

You could probably write a custom JavaScript function for this.

For more information, see

Hope this helps! Let me know if there are any further questions or issues. P.S.: investing some effort into the tutorials in the Make Academy will save you lots of time and frustration using Make!

@samliew

1 Like

:us: Hi, Samiliew!
Thank you!

I only managed to get the custom IML functions released after asking support.
Without this function, it would have been impossible.
Thanks again!


Oi, Samiliew!
Obrigado!

Só consegui após solicitar auxílio no suporte para me liberarem as custom IML functions.
Sem essa função seria de fato impossível.
Obrigado novamente!