How to insert company logo, name of user, address on header popup print report? - Forum - Rollbase - Progress Community

How to insert company logo, name of user, address on header popup print report?

 Forum

How to insert company logo, name of user, address on header popup print report?

This question is answered

Hi there!!!

            In Rollbase Private Cloud. How to insert company logo, name of user, address on popup print report? (see picture)



Thanks for answer

Best regards

BOY!!

Verified Answer
  • Hi Boy,

    You can add a code in the list page, but this code only works in print preview.

    <div id="customLogo"> 
    	<!--Company logo, in this sample I save the logo in the hosted file-->
    		<img src ="{!#HOSTED_FILE.135984}" />
    		<br />
    	<!--Below is the user name token-->
    		<span> {!#CURR_USER.name#text} </span>
    </div>
    
    <!--Hide the logo in the main page-->
    <style>
    #customLogo {
    	display: none;
    	position: absolute;
    	top: 0;
    	text-align: center;
    	width: 100%;
    }
    </style>
    <!--Show the logo in print preview only-->
    <style media="print">
    #customLogo {
    	display: block;
    }
    </style>

    ScreenShot:

    Hope this may help.

    Regards,

    Orchid

All Replies
  • Hi Boy,

    You can add a code in the list page, but this code only works in print preview.

    <div id="customLogo"> 
    	<!--Company logo, in this sample I save the logo in the hosted file-->
    		<img src ="{!#HOSTED_FILE.135984}" />
    		<br />
    	<!--Below is the user name token-->
    		<span> {!#CURR_USER.name#text} </span>
    </div>
    
    <!--Hide the logo in the main page-->
    <style>
    #customLogo {
    	display: none;
    	position: absolute;
    	top: 0;
    	text-align: center;
    	width: 100%;
    }
    </style>
    <!--Show the logo in print preview only-->
    <style media="print">
    #customLogo {
    	display: block;
    }
    </style>

    ScreenShot:

    Hope this may help.

    Regards,

    Orchid