report Scaffolding from dynamic page

  • 1
  • Question
  • Updated 2 years ago
Im trying to get a value in reporting from a dynamic page 
I have a template where i choose via list-data (content options) a value from a specific Page (Project_Status) - that's not a Problem
but how can I access a  scaffolding (or maybe excerpt-value) provided  data by this selected page. 
In the Project::View template should be shown the status of the in Project::Edit - page. 

I hope somebody can follow my thoughts and give me a hint. 

(the Answer why I'm thinking so (complicated) is: that I want some status fields flexible editable and thus easy maintainable) 

Thanks 

Best regards André
Photo of André

André

  • 7 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Con

Con

  • 17 Posts
  • 0 Reply Likes
If I understand you right here something I use.

Dynamic scaffold list of values

{table-data:name=mbolist}

||MBO ID||MBO Detail||
|
{text-data:atlassian-macro-output-type=INLINE|content=text|name=mbolist}
{text-data}
|
{text-data:atlassian-macro-output-type=INLINE|name=mbodetail}
{text-data}
|
{table-data}


List on reporting page to draw in values, just change the source.

{list-data:atlassian-macro-output-type=BLOCK|multiple=true|name=mbo|separator=newline|width=70px}

{report-block:atlassian-macro-output-type=BLOCK}
{local-reporter:data:mbolist|source=~corsog:My MBO List}
 {local-reporter}
{report-body:injected=true}
{list-option:value=%data:mbolist%} {list-option}
{report-body}
{report-block}

{list-data}
Photo of André

André

  • 7 Posts
  • 0 Reply Likes
Hi Con, thanks for your answer, in other situations I'm using this method as well and it works like charm.
But I don't want to use unknown dynamic data (which are added via table-data macro) I want to display known dynamic data from the sub-pages. 
I'm able to make a drop down with the page names but I'm not able to visualize content from the selected page within the report section.
Best regards 
Photo of André

André

  • 7 Posts
  • 0 Reply Likes
Hi @ll, after some tries I found a suitable solution - which looks quite easy

{report-block}
{local-reporter:data:project_status}
{local-reporter}
{report-body}
{report-info:data:projct_status:render=richtetext} 
{report-body}
{report-block}

Best regards 

Andre