Greetings.
I have hit a bit of a roadblock and it's either something simple or I am going about this the incorrect way.
I have established three pages.
Page 1 is a simple form that will create a new page from a template based on inputs on page 1.
Page 2 is the new page that is created by the form with macros & ifttts on page 1.
Page 3 is a separate page with a form and data.
What I'm trying to accomplish: I would like page 2 (the new page created via template) to display results from page 3 but only for whoever the current user is on page 2.
The issue: In the template, I have the Confiforms TableView Macro. If I set "Filter to apply on entries dataset" to field:[entry._user.fullName], when the new page is created, it's simply hard-coding my name as I was the one who tiggered the creation of the new page.
I can see just my results which is fine. But other users just see my results too, not theirs.
Is there a way I can set the Filter to apply on entries dataset to look for whoever the future users of the page will be?
Thank you.
Corey
Hi @Corey Keiner and welcome to this community
As you create a page with a ConfiForms the instruction you have for [entry.field_name] notations are evaluated agains the values in the record used to submit the form and create the page
To bypass that you can use the asEntryRef virtual function https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions
field:[entry.id.asEntryRef(entry._user.fullName)]
So, on the created page the expression will be as you need it to be
field:[entry._user.fullName]
Alex
Thank you Alex.
This fully resolved my issue.
This was the last major obstacle to closing out this project so I very much appreciate your quick response!
This community is a great place.
-Corey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.