Hi, maybe whoever know is - how possible pull last modified data value from other pages?
Hi Andrii,
This user macro could help:
## @param Page:title=Page|type=confluence-content|required=true|desc=Choose Page to get last modified date for
#set ( $colonIndex = $paramPage.indexOf(":") )
#if ( $colonIndex == -1 )
#set ( $spaceKey = $space.key )
#set ( $pageName = $paramPage )
#else
#set ( $spaceKey = $paramPage.substring(0, $colonIndex) )
#set ( $pageNameIndex = $colonIndex + 1 )
#set ( $pageName = $paramPage.substring($pageNameIndex) )
#end
#set ( $requestedPage = $pageManager.getPage($spaceKey, $pageName) )
$action.dateFormatter.formatDateTime($requestedPage.lastModificationDate)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Thomas. But I need just modified data stamp, not all content as described in this macro docs - https://confluence.atlassian.com/doc/include-page-macro-139514.html
p.s.: same problem with Excerpt and Excerpt Include.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.