Confiforms: how to have > 1 layout for registration&editing shared (pointed to) by multiple views

Nat Grauman July 31, 2024

Hi all. We have one Confiform with many different views, basically tableview macros on separate pages.  We'd like one group of these views to all share the same layout for input (ie registration?) and edit, and another set of views to use the same different layout. 

 I understand that in the Registrations Control I can use the Use the layout from main 'ConfiForms Registration Control' setting to determine whether I point to one central layout or, if unchecked, a layout defined on the current page.  However I would like several of my views to point to the same layout that is not the one defined on the same page as my form definition lives. In essence, I'd like to be able to point some views to layout a and some other group of views to point to layout b, but I don't see how to do this. I hope this makes sense!  @Alex Medved any ideas?

1 answer

0 votes
Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 31, 2024

Hi @Nat Grauman 

At the moment you can reference only the Registrations Control (form) view that is configured with the ConfiForms Form Definition. Such form view is then considered as the "default"

If you ware on data center version then consider creating a user macro with a form's layout and then use it inside the Edit Controls/Registrations Controls

 

Nat Grauman August 1, 2024

Thanks Alex, where would I need to place that User Macro?  In my view (different page where the form definition lives) or in the form definition?  

Nat Grauman August 1, 2024

Also, after I define the User Macro, how do I reference (ie point to) it from a different page?  

Alex Medved _ConfiForms_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 1, 2024

So, a user macro (https://confluence.atlassian.com/doc/writing-user-macros-4485.html) with a custom contents (what you have INSIDE the ConfiForms Registrations Control (FormView) now, for example, but placed as a template in the user macro). Then just putting this user macro inside the ConfiForms Registrations Control macro body

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events