Skip to main content
Member
Aug 7, 2023 4:56 PM UTC

Move Company Logo to Right on Reports

Is there a way to move the company logo to the right header side of reports? I have applied a business rule to move the report title on the left but now it is hidden behind the company logo. 


TYIA!

    2 replies

    Aug 8, 2023 3:49 PM UTC

    Not sure how you currently have your report(s) constructed but this can be done from within the Report Designer.  If you are using a Report Component under a Dashboard Maintenance Unit with an assigned Data Adapter, you can simply drag the Company Logo from the left to right and Save from within the Report Designer tab.  

    TonyToniTone_0-1691509443477.png

     

    Contributor
    Aug 29, 2023 7:45 PM UTC

    Yes you can. In your cube view, go to General Settings --> Report --> Change Custom Report Task to "Execute Cube View Extender InLine Formula", click on the formula bar and paste this:

    Move Logo in Header

    Case Is = CVExtenderFunctionType.FormatReportUIItem
           Dim uiItem As CVExtenderReportUIItem = args.Report.CurrentUIItem
           If uiItem.UIItemType = XFReportUIItemType.PageHeaderPictureBoxLogo Then
           uiItem.Left = args.Report.CurrentPageInfo.RightPosition - uiItem.Width    
    End If

    NOTE: CurrentPageInfo can also use CenterPosition in order to move the logo to the center of the report.

     

    🙂