publication for a limited time
Asked by EtienneD:

Hi there,

is there anyway to publish a page for a specified segment of time (e.g. from 1st till 28th of February).

Maybe a typical question for a newbie as I am !

Thanks for your help


Answers:
author: Thomas Schlegel
body: Hi Etienne,

no, there's no way out-of-the box to remove a page automatically on a specified date. You have to take care of your removal date by yourself.

You can use page the page properties macro for that. Just put the macro on a page and put a table like that into the macro:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/15890i4BA53FD5D1A7B9FC/image-size/large?v=v2&px=999 "image.png")

Then, add a label to the page, e.g. "toberemoved".

Create a new page, call it e.g. "Pages to be removed"

Add a page properties report macro to the page:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/15892i172A59F97811017D/image-size/large?v=v2&px=999 "image.png")

And save it.

As a result, you get a list of all your pages with a removal date.

comments: author: EtienneD
body: Thanks for the workaround.

Is there any way to show the property "removedate" beside the page name and even sort the page on "removedate" ?


author: Thomas Schlegel
body: Yes, of course, the removedate is shown by the page properties report macro and you can also sort the columns:

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/15901i142006A28AD9251A/image-size/large?v=v2&px=999 "image.png")


author: EtienneD
body: Thanks !

Etienne


author: Thomas Schlegel
body: You're welcome, [@EtienneD](/t5/user/viewprofilepage/user-id/1191612)

If you think, your question is answered or you like the answer, please mark the check or vote for the answer.

Questions with such a marker can be found more easy by other people having a similar question.

Thank you.


author: EtienneD
body: [@Thomas Schlegel](/t5/user/viewprofilepage/user-id/781483) Thread updated: Let me know if I should start a new one with this additional question:

How would it be possible to make some basic calculation in the page properties themselves? To be more explicit, here is my situation:

* I have a space describing business processes
* those processes have amongst other metadata their "maturity" and their "criticality"
* processes with a criticality set to High must be reviewed every 6 month, while processes with a criticality set to Medium must be reviewed after a year.
* I don't need this information to be visible, but I would like to use it in Comala Document Management. Somewhere I would like to calculate : *criticality = High --\>* *duedate=P6M* and criticality = *Medium--\> duedate=P1Y*
* as rules may evolve, I'd like to avoid hard-coding this in the Stale Workflow code, rather have a conversion table somewhere

Thanks for your help

comments: author: James Conway
body: Hello [@EtienneD](/t5/user/viewprofilepage/user-id/1191612)

It would be useful to get more details of your use case and your full workflow markup. As that level of detail is unlikely to be appropriate for the community I suggest that you reach out to us at <https://support.comalatech.com>

Please attach your workflow markup as a txt file

Kind regards

James


Tags: public

time