UI Builder: How to change the view of a form component

senon
Tera Sage

Hello experts

I just started using UI Builder in Yokohama version.

How can I change the View of a Form component from the default to another View I've created?

 

The View property of the Data source is set to the view pill shown by default, but no other views are set.

Even if I enter the view name manually, it does not change.

senon_0-1750854382485.png

 

Best regard.

senon

 

1 ACCEPTED SOLUTION

prerna_sh
Mega Sage

Hi @senon 


- To display the view you've created, you need to specify the view name under "Form controller" either in the "View" or "Forced View Name" field. Use static data and enter the name of your custom view.

- Alternatively, you can use the "Client State Parameter" method by setting your view name as the initial value.

Please refer to the screenshot for guidance.

client state parameter.pngcustom task.pngForm controller.png

 

 

If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful. Let me know if anything else is required.
Thanks,
Prerna

View solution in original post

3 REPLIES 3

prerna_sh
Mega Sage

Hi @senon 


- To display the view you've created, you need to specify the view name under "Form controller" either in the "View" or "Forced View Name" field. Use static data and enter the name of your custom view.

- Alternatively, you can use the "Client State Parameter" method by setting your view name as the initial value.

Please refer to the screenshot for guidance.

client state parameter.pngcustom task.pngForm controller.png

 

 

If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful. Let me know if anything else is required.
Thanks,
Prerna

Hi @prerna_sh 
Thanks for your reply.
I'll try your method.

Hi @senon 

Let me know if anything else is needed.
If my response resolved your query, please mark it as "Accepted as Solution" or "Helpful".

 

If my response solves your query, please marked helpful by selecting Accept as Solution and Helpful
Thanks,
Prerna