Set Parameter Value When Open Page

Hi Community,

I noticed that in the Business Process Configuration, we can set a Static value when open a page.

Is there a workaround to set a static value when opening the page through the page editor configuration or client-side code?

 

Setup via page editor(Can't set static value)

Setup via code (without setup param)

Like 0

Like

4 comments
Best reply

Resolved using client-side code customization

Hello,
If the page is opened outside of a business process but still requires a static value to be applied, the page must represent an object. You can achieve this by setting up a business rule.

In the business rule, you can define an "If" condition to check whether the necessary field is empty. If it is, the rule will automatically assign the desired value to that field.

Hello Nick,

Thank you for your response.

The reason I want to set a static value for the page parameter when opening the page is that I have a modal for confirming the delete process. The value from the page parameter will be used to determine which object is being deleted when the "YES" button is clicked.

That's why I need to assign a static value to the page parameter based on where the confirmation modal is being used. Currently, i can set static value using the Business Process (BP), but I don’t think it’s good practice to rely on BP only for opening the page.

Unfortunately, there are no default values for page parameters at the moment. I will register this idea for future development.
As for now, this can only be implemented via BP or through development.

Resolved using client-side code customization

Show all comments