Page 1 of 1

Wiki - Display revision of another document

Posted: Wed Mar 01, 2017 8:31 am
by Slenderwoman
Hi all!

I am trying to make a table via Wiki Content which display information about another documents like its title, date of update, revision etc.
Info Page won't work for me as I have to use too many fields from outside of a Polarion, I tried.

So right now I have:

Code: Select all

#set ($thisdoc = "Space/Name")

{table:header=no|bold=1|align=center|width=100%}
Name | SRS | Instruction
Title | {document:$thisdoc} | Instruction Title
Polarion revision | $thisdoc.getRevision() | 12345
Date | {document-property:$thisdoc|updated} | 2016-01-01
{table}


Of course the part $thisdoc.getRevision() doesn't work.
Any suggestions how to make it?

Re: Wiki - Display revision of another document

Posted: Tue May 22, 2018 8:23 am
by Kakaomonster
Hi,

I know the post is a little time ago, but maybe it is helpfuly for others.

Change the revision to" $page.Revision " an it works.
regards, Ralf