Get static page rendering
Asked by Gwena?l GRALL:

Hi,

I wish to have a page which content a "current setpoint". This page should be upgrade according to need

This "current setpoint" page should be include in other report page generating with a template. So I need to get a static rendering of the "current setpoint" page.

I see 2 possibilities to make the macro:  
I need to work with the version of page "current setpoint".  
I need to work with a variable "setpoint_number" in properties of page.

How can i retreived the version of page "current setpoint" at the date of report?

Or have you another method to proceed?


Answers:
author: Shannon S
body: Hello Gwena?l,

Thank you for contacting us.

Let me first describe my understanding of your question, so we can make sure we are on the same page.

1. You want to have a page that contains a specific set of information, a "current setpoint". This page will be updated when required.
2. The content from this page will be included in another page which has been generated with a template.

From this understanding, it sounds like the [Include Page Macro](https://confluence.atlassian.com/doc/include-page-macro-139514.html) could be useful for you. You would use this macro if you want to include the entire contents of a page on another page. When you update the content on the original page, it will also show on the page that has the Include Page Macro. Note that if your users do not have access to the included page, they will not be able to see the content displayed using the macro.

Another macro that you could use is called the [Excerpt Include Macro](https://confluence.atlassian.com/doc/excerpt-include-macro-148067.html). This macro works just like the Include Page Macro, but it includes just an excerpt from a page. The same rules apply, your users will need access to the original page in order to see the content generated by the macro.

I hope that helps, but if I have misunderstood your requirements, please let me know and I will be happy to assist.

Regards,

Shannon

comments: author: Gwena?l GRALL
body: Thanks for your reply but this is not exactly my issue.

For example, I have "setpoint" page and the 2019-06-05 I wrote "Today I work".  
In my report page of 2019-06-05, I include some informations, some JIRA requests list and the "setpoint" page where is specified "Today I work".

The next day, I write in my "setpoint" page "Today I sleep"  
In my report page of 2019-06-06, I inclure still some informations, some JIRA requests list and the "set point" page where is specified now "Today I sleep".

But I dont want that in my report page of 2019-06-05 see "Today I sleep" because I was working.

Sorry I don't speak well english language.

Regards


author: Shannon S
body: Gwena?l,

Thank you for explaining. I think I might understand what you're trying to do.

From what I can tell, you have a page that you update each day what you are doing, and another page that is pulling that information into a report. For some reason, the report is pulling data from past entries you created.

What would help us here is if you could show us an example of the problem, by providing a screenshot, and letting us know exactly how you have set this up. Can you please let us know what macros you're using to do this so far, and what the report page looks like? That will help us to better understand what it is you've done so far and how to resolve it.

Regards,

Shannon


author: Gwena?l GRALL
body: My company develops health plan processing software (management of contracts, contributions, benefits and repayments of protected persons). This software is working with differents actors (Health insurance, hospitals, banks, government health services...).  
So we have severals data flow services. When one data flow is shutdown (break), a python script create a Jira issue.

Before Confluence, All days, technicians of exploitation department was verifing states of services with many Jira requests (about 15 to 20 requests every day) - What's happened during the night ?

Today we are working with a page template, dates variables and adapted macro JQL Filter Allowing Variables (<https://community.atlassian.com/t5/Confluence-questions/Using-template-variables-as-input-parameters-to-jira-gadget/qaq-p/189292#M31801>)  
Now, technician have only to provide two dates (start and end) to generate report. (no more jira requests are needed).

This report is consulting by support department to communicate with customers. The report give informations about the resolution of issue.  
It's in this report I wanted to add "current setpoint".


author: Shannon S
body: Hi Gwena?l,

This does sound a bit complicated. So you're saying that you used the answer on the linked article? Are you using a User Macro to create it?

You also asked, "What's happened during the night?" I don't understand what you're asking here - are you saying that you're getting the wrong amount of Jira requests compared to the daytime? If that's an issue you might want to raise a question in the Jira queue so someone familiar with Jira could help out there.

Regards,

Shannon


Tags: confluence-server

server