Support

 View Only
  • 1.  Get "Version" of Item Type to Export in Velocity Report

    Posted 09-19-2023 06:32

    Does anyone know the velocity code that can be used in a context sensitive report to have it print out what version the item being exported is?Thanks!



    ------------------------------
    Sara Wertanen
    Oceaneering Entertainment Systems
    FL
    ------------------------------


  • 2.  RE: Get "Version" of Item Type to Export in Velocity Report
    Best Answer

    Posted 09-19-2023 06:58

    loop over $documentList, get the $id, pass it to $documentSource.getVersionByDocumentId( $id ).getVersionNumber()



    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------



  • 3.  RE: Get "Version" of Item Type to Export in Velocity Report

    Posted 09-19-2023 07:30

    That worked! Thank you so much!



    ------------------------------
    Sara Wertanen
    Oceaneering Entertainment Systems
    FL
    ------------------------------