It would be great to have han additional value “parameter” to send parameters to destination page to open. An use case example it could be:
- you have an employee table + contract table
- from employee detail view you haven action button “Create new contract” to open a page a page “new contract” with a form to fill some information for new contract and hidden field "employee id card” which define who is the employee we are creating the contract for.
This logical it is easy using an open url action button with url params but it is not possible on “open page” action buttons.
1 Like
Hi @asanchezg Thanks a lot for all the details, do I get it correctly that you case is to add a new contract from the employee detail page and prefill it with some specific parameters you decide to be passed along to the contract page’s URL after submitting?
Best,
Hi Andranik,
In my case, it’s not exactly like that. My use case is the following:
-
In our database, we have “Contract Templates” used to define pre-filled values when a user needs to create a new contract. (These template records are not linked with employees because they are just that: “templates”).
-
From the user detail page, you can click “Create New Contract.” This action opens a page to choose which template you want to use. Once you choose a template, a new contract should be created with many fields already pre-filled (based on the chosen template record).
The Issue: I can’t use an “Open Page” action that sends parameters (at least as far as I know). So, the only way is to create a “Run Custom Flow” button, call a flow with params to be processed there, and then open a dialog at the end of the workflow.
If “Open Page” or “Open URL” had a feature like “Data to send as URL param,” I could avoid using a workflow as a gateway between pages.
Maybe I am missing something and there is another way to solve this issue? Please let me know if that’s the case.
Thanks a lot for the details @asanchezg That clarifies it, We will log in this as a feature request for now!
Best regards,
1 Like