Conditional creation of children on two places at the same time
Hello,
Let's say I have a template based on Scaffold plugin, used for task assigning and reporting. Once I open this page, I am able to "assign" a task to anyone. This means, I enter Joe Black's Tasks and assign myself a task by creating a children page. In my template, there is an option to choose someone else who is in your team by using checkboxes.
My question is, if I check Angelina Jolie as my Team member, is it possible the page I create to be also created in Angelina Jolie's Tasks as children page?
Let's say I have a template based on Scaffold plugin, used for task assigning and reporting. Once I open this page, I am able to "assign" a task to anyone. This means, I enter Joe Black's Tasks and assign myself a task by creating a children page. In my template, there is an option to choose someone else who is in your team by using checkboxes.
{list-data:Team Members|type=check|multiple=true}
{user-options:groups=HPGDC.OPSTEAM1}
My question is, if I check Angelina Jolie as my Team member, is it possible the page I create to be also created in Angelina Jolie's Tasks as children page?
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?If you're asking can Scaffolding move a page to a new parent, the answer is no. Even if Scaffolding could move a page, each page can only have one parent.
You can, however, use the Reporting Plugin to list any tasks that are assigned to Angelina. You'd have something like this (assuming all your tasks are children of the 'Tasks' page):
{report-table}
{local-reporter:page:children|source=Tasks}
{collection-filter:data:Team Members|matchItems=any}
{user-filter:reference:value|user=a.jolie}
{collection-filter}
{local-reporter}
{report-column:title=Tasks}{report-info:page:title|link=true}{report-column}
{report-table}
Loading Profile...



EMPLOYEE