Pageproperties - use status/information from K15t Tools
Hello Together,
do someone know, how to use automatically Values form K15t Tools inside the Pageproperties?
Background:
Every document get a Pageproperty (Dokumenttitel, type of dokument, name of the version, Version of Dokument, Release date, Status of Workflow, etc.).
on one introsite, i get a overview with a Property report.
at this moment, i fill all the values by hand. Only for the Comala Workflow a Pagestatuskey is availble.
Is there any possability the get the Version Name, Release Date, Translation language Key automatically?
kind regards Henry
-
Hi Henry.
We already have a feature request for a user macro or to extend Scroll Metadata one.
As a workaround you could add this code in a user macro:## @noparams
#set( $pageManager=$containerContext.getComponent('pageManager') )
#set( $page = $pageManager.getPage($content.id) )
$svThemeHelper.getScrollPage($page).getTargetVersion().getName()
$bodyThis code should print the name of the version. If you switch to a version where a page fallback to another version, the version of the fallback will be visible instead of the working one.
Hope this helps.
Cheers,
Roman. -
Hi Henry.
I have checked with developers, and it turns out that $svThemeHelper was removed in version 3.11.1 as it was not a public API.
To achieve what you want, you would need to create a custom app that uses our public Java API to access such information as version name.
If you have any questions, please let me know.
Roman.
Please sign in to leave a comment.
Comments
4 comments