Versions placeholder not giving value

Comments

5 comments

  • Avatar
    Roman Serazhiev

    Hi Mary,

    I could not reproduce the issue on my Confluence. I have added the placeholder to PDF template, selected the version in the dropdown first, and then exported the document. The PDF document had the version that I have chosen.

    Could you please answer these questions, so I could have a deeper look:

    1. Were you exporting from the "master" space where Versions are activated or from the "target" space?
    2. What version of Confluence and add-ons are you using?
    3. It would also be great if you could send us an XML export of the space you are kicking the export from. I could then try to reproduce the behaviour. To create a full XML export of a space, please follow these instructions: http://www.k15t.com/display/SUPPORT/Creating+a+XML+Export+of+a+Space. Please send the export to support@k15t.com.

    Cheers,

    Roman.

    0
    Comment actions Permalink
  • Avatar
    Michal Gregor

    In case of Author view The Scroll Versions placeholder ($scrollVersions.Version) is giving me 

    • com.k15t.scroll.confluence.integration.versions.Version{id='0A00693201533772A27FCF684035C1F6', name='2.14.1',description='2.14.1.23.2', releaseDate=null, releaseDateMillis=null,archived=false}

    In case of Reader view The Scroll Versions placeholder ($scrollVersions.Version) is giving me.

    • com.k15t.scroll.confluence.integration.versions.Version{id='current', name='Currently Published', description='currently published version', releaseDate=null, releaseDateMillis=null, archived=false}

    I need informations about versions for Reader view export. Is it possible???  

    0
    Comment actions Permalink
  • Avatar
    Nils Bier

    Hi Michael,

    Thanks for contacting us and your interest in Scroll PDF Exporter.

    In order to get the Scroll Versions version name displayed in your exported PDF file, you should use the placeholder "$scrollVersions.Version.Name".

    You can then select the wanted version to be exported and its name will be displayed in your exported file (wherever you've defined it).

    Does that lead to the wanted behavior? You can find a complete overview on all available placeholders here: https://www.k15t.com/display/PDF/Using+Placeholders

    I hope that information helps. If you have any further questions, please let me know.

    Best,Nils

     

    0
    Comment actions Permalink
  • Avatar
    Michal Gregor

    Hi Nils,

    I know.  I can see label "Reader View (represents version 2.14.1 from Apr 10, 2016)" in reader view. In this view am not able to switch versions and $scrollVersions.Version.name is giving me "Currently Published". But the correct name is '2.14.1' .That is the issue. 

    Michal

     

     

    0
    Comment actions Permalink
  • Avatar
    Nils Bier

    Hi Michal,

    Sorry, I misunderstood your latest comment. For the problem with the placeholder returning "Currently Published", I've created the following improvement in our JIRA System: https://k15t.jira.com/browse/EXP-1095

    Unfortunately I'm not sure if we can actually improve the behavior with acceptable effort. Would the workaround mentioned in the issue be an option for you?
    Please sign up at https://k15t.jira.com/secure/Signup!default.jspa to watch, comment on or vote for this issue. You'll then get a notification for every status update on the issue.

    Best,Nils

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk