Page 1 of 1

How to exclude a field when export to pdf?

Posted: Fri Mar 22, 2024 7:16 am
by Cat

Hello everyone

When exporting to PDF and there is a .pdf file in some field, the exported file appears with a box with an x ​​in the center "Image not found or unknown type"
How could I hide that field when exporting but I need to see it in the viewpage or how to export the file location url

// PageRender event
function Page_Render()
{
    //Log("Page Render");
if (IsExport("pdf")) {
$this->CERTIFICATION->Visible = FALSE; // adjust FieldName to your current field name
}
}

this code does not work


Re: How to exclude a field when export to pdf?

Posted: Fri Mar 22, 2024 9:22 am
by arbei