Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script to export dashboard as pdf
#1
Use it on any label/image

sdk.getWidget('label_AG').m_scrnshotorientation = "P";
sdk.getWidget( 'label_AG' ).m_loadermessage = "<span style ='color:#000;font-size:32px; font-weight: normal; font-family: BizvizFont''>Export in progress </span><br> <span style = 'color:#000;font-size:16px; font-weight: normal; font-family: BizvizFont; align=center'>Please wait while the PDF is prepared for export </span>";
sdk.getWidget( 'label_AG').m_scrnshotfilename = "Sales Overview";
sdk.getWidget( 'label_AG').setCustomExportPdf([
['box83','datagrid87','map64','image2','image8','image9','image10','image11','image33','image68','image89','image87','image74','label3','label12','label13','label14','label15','label16','label17','label18','label19','label22','label23','label28']
]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)