Skip to main content
Finance forum
Suggested answer

Dynamic logo SSRS

editSubscribe (0) ShareShare
ReportReport
Posted on by 6,603
Hi, I have a requirement to display a different company logo on a small number of custom SSRS reports based on the transaction site / warehouse. First of all, is there an existing area within F&O where I can upload and store the logo image. The thought is I would allow the currently logo attached to the legal entity to load into the tmp table if site/warehouse match a specific value. And if the site/warehouse were a different value, I would load the 'other' logo into the tmp table. Any suggestions would be greatly appreciated.
Attachments
  • bankk Profile Picture
    bankk 6,603 on at
    Dynamic logo SSRS
    Hi Waed,
    I appreciate the detailed steps provided. I think in general, what you describes make sense. The only thing is, the 'other' logo is not from a different company, it would be a second logo for the same company. I have only one company which has this requirement. I gave it some more thought today, and it appears there are other images associated with the legal entity (e.g., banner) which maybe I could use to load the second logo. 
    Thanks!
  • Suggested answer
    Waed Ayyad Profile Picture
    Waed Ayyad 1,961 on at
    Dynamic logo SSRS
    Hi bahnk,
     
    For this question "First of all, is there an existing area within F&O where I can upload and store the logo image"
     

    In the Temp table, have a field type as Container with EDT Bitmap. In DP class, you can use  FormLetter::CompanyLogo(); to assign your Legal entity Logo. (Note: Use JPG, JPEG) formats. 

    In Visual studio, add image in Header using Toolbox by dragging or by right-clicking in Header, in Image properties, select the Dataset, and Image type. Finally Deploy the SSRS report.

     

    And for this question "I would load the 'other' logo into the tmp table. Any suggestions would be greatly appreciated."

    You can based o the logic you want to apply to do change company to the company that you want to get its logo and then call FormLetter::CompanyLogo().

     

    Thanks,

    Waed Ayyad

    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
     

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans