[#assign mdf_claim_id = (request.getAttribute("INFO_ITEM").objectEntryId)! /] [#macro document_card document]

Reimbursement Invoice

[/#macro] [#if mdf_claim_id?has_content] [#assign claim = restClient.get("/c/mdfclaims/${mdf_claim_id}") /] [#if claim.reimbursementInvoice?has_content] [@document_card document=claim.reimbursementInvoice /] [/#if] [#else]

To use this fragment either place it on a Display Page Template to see which attributes are available from request.getAttribute("INFO_ITEM").

It's important to note that this will only display the attributes of a display page when you view the published display page not when you are editing it.

[/#if]