Is it possible to store data of the parent page in the child page?
I want to access data from the parent page and store it in the child page with the scaffolding plugin. I want to do something like the following:
{set-data:Child}parent.data.Example{set-data}
{set-data:Child}parent.data.Example{set-data}
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?Before I answer, can I ask what your objective is? It's rarely necessary, or even a good idea to do this.
Thinking about it, I'm not even sure it's possible. The main reason is that {set-data} stores the wiki markup, not the rendered result of any macros. As such, you can store some wiki text that will retrieve the value when executed, but it won't be the actual value. You may as well just use the contained markup directly.
Also, {set-data} only actually stores data when the page is being saved, so later changes will be lost.
1 person says
this answers the question
-
Inappropriate?The objective is to make the report generation via the reporting plugin faster. When I don't store the data of the parent in the child. I always have to read the parent.
-
Inappropriate?I'm not sure how much that will help with performance. It probably depends on what you are getting from the parent page. Can you post your report markup?
1 person says
this answers the question
Loading Profile...



EMPLOYEE