macro in forms

Diana Nohelová asked on November 6, 2023 13:03

Is there any way to replicate the following scenario in Kentico 13? We have an internal system that collects requests from our Partners to send feedback forms to our clients. These requests get patched into a sharepoint list through powerapps. A Power Automate flow then generates a custom URL for each client based on our internal ID value that is unique for each request . That means that it takes the base URL of the form and adds for example ?ID=25. In the form builder, we have a macro in the default value of a hidden „ID“ field: {% QueryString.ID #%}. When the client recieves an email asking them to fill out the feedback form, it automatically prepopulates the ID field with the ID from our database and therefore after sending us the answers, our system can reliably match these answers back to the initial request.

Recent Answers


Juraj Ondrus answered on November 6, 2023 14:07

I would recommend creating a custom form component and its logic will be just reading the query string value. No need to use macros anymore.

0 votesVote for this answer Mark as a Correct answer

Diana Nohelová answered on November 8, 2023 14:08

If I'm only an editor, and not developer, what are my options?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on November 8, 2023 14:11

I am afraid but the only option would be contacting the developers and asking for this form component. The thing is that the form is actually loaded and handled by the front end app, which is different from the Kentico admin app.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.