Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Referencing Confiform data from another page

Jim Rogers September 1, 2022

I have the need to create a table view of data found in a Confiform form on another page.  This will help me to specialize the data view, filtering, sorting to a specific use case without replicating the data via IFTTT.   

I have tried creating the table view with the source as formName:pageId in the formName field in the table view definition.  

Also, if I reference correctly, can updates on the sub page update the main form without IFTTT going the other direction?

Thanks,

Jim

1 answer

0 votes
Alex Medved _ConfiForms_
Community Champion
September 5, 2022

Hi

You can have a ConfiForms TableView or just any other "view" macro from ConfiForms on any page you want showing the data from a form that is on a different page.

As long as the user has view access to both pages.

You just need to set the "form name" and the "page name where the form is defined" parameters in your TableView and that's it (both parameters)

Screenshot 2022-09-06 at 08.50.10.png

Alex

Chris Jones January 27, 2024

What if the confiform that you are trying to pull data from is in a completely separate confluence site?

Alex Medved _ConfiForms_
Community Champion
January 27, 2024

On a different Confluence server?

Jim Rogers
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 29, 2024

Alex and Chris, I have this working with Alex's post from Sept 2022.  Thank you for the follow-up! 

Sam Schotsmans February 13, 2025

@Alex Medved _ConfiForms_ 

Following the above principle, is there a way that the entries of a form which creates a page can be displayed on the newly created page?

I don't want the entries of all forms to be visible on all pages.

i.e. User A fills in Form 1 which creates a page displaying the form data entered by User A only.
User B fills in Form 1 which creates a page displaying the form data entered by User B only.

Alex Medved _ConfiForms_
Community Champion
February 13, 2025

Of course :-)

The easiest way is to have ConfiForms View macros in your "page template" with a filter set to 

id:[entry.id]

This way it will be substituted with a ID of the record used to create the page and all the data will be filtered according to that

Like Sam Schotsmans likes this
Sam Schotsmans February 13, 2025

@Alex Medved _ConfiForms_ I'm receiving the following error when trying this method:

Cannot render 'confiform-table'. No form found

We could not find a form with the name 'test999' on the page

Page (page id = 1410357676) has no ConfiForms Form macros defined



Do you have a practical document/screenshots i could follow?

Alex Medved _ConfiForms_
Community Champion
February 13, 2025

In the "page template" when you add a view then make sure you put a correct form name AND point it to the page where the form is configured - first 2 parameters of any view macro

Like Sam Schotsmans likes this
Sam Schotsmans February 13, 2025

Superstar! that worked, thanks for the help!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events