I have a master form (including Registration Control and Table View) located in a separate space where various pieces of data are stored. On this form is a "SpaceKey" field which I am using for sorting. I'm then creating Spaces whose Space Key matches the value of this field.
In one of those spaces, I'm creating a page with only the Registration Control form, and Table view, referencing the master form in the other space. I'd like to set a filter on this form to only show values whose "SpaceKey" field, matches the current Space Key.
I can enter this manually, however I'm trying to template the idea in order to reduce the amount of manual updates required when creating a new space.
Are there any variables that ConfiForms has available (Examples: @self or @spaceKey) which can be used in a filter, which references whatever the current Space Key value is?
You can use the context variable for current page [entry._page] and access it's space key
[entry._page.spaceKey]
As "_page" is a rich object of type Page then you can access any property the page has, including, of course, the space key
Super! Thanks, as always, for your help Alex.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As a quick follow up, is it possible to have Confiforms create a new Space? I've checked through the IFTTT options, as well as a few other places, including Google, but nothing jumped out at me as the obvious answer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, you can create Confluence spaces with ConfiForms
There is no dedicated IFTTT action, but you can easily setup an web-request type IFTTT action and use https://docs.atlassian.com/ConfluenceServer/rest/6.13.0/#api/space-createSpace API to create a space in Confluence with ConfiForms
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.