Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

FetchXML Reports and Hiding Images

Posted on by Microsoft Employee

Is it possible to show and hide images based on a value in another field in reports online?  I keep getting an error "This report can’t upload because there are restrictions with SQL Server Reporting Services reports when Report Definition Language (RDL) Sandboxing is enabled."

I am using VS2012

The image is in the header and some text in the footer. I am using the following expression

show Image 1

=iIF(Fields!pricelevelid.Value LIKE "*something*", true, false)

 

show Image 2

=iIF(Fields!pricelevelid.Value LIKE "*something*", false, true)

If I remove these expressions report uploads fine.

*This post is locked for comments

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: FetchXML Reports and Hiding Images

    Then something is considered as denied in your formula. I would suggest to find that member and try to find a replacement for it. Good luck.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: FetchXML Reports and Hiding Images

    If I remove the expression from the report used to  show/hide the images the report imports just fine.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: FetchXML Reports and Hiding Images

    Hello,

    I don't see IIF in the list of denied members - technet.microsoft.com/.../dn531138.aspx

    I believe you have other issue with your report that block import of it to Online Environment.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans