Skip to main content
Member
August 7, 2023

Move Company Logo to Right on Reports

  • August 7, 2023
  • 2 replies
  • 0 views

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

    August 8, 2023

    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
    August 29, 2023

    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.

     

    🙂