Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

ReportLayoutStyleTemplate not working in Sandbox and Production

(0) ShareShare
ReportReport
Posted on by 655

Hi All,

I'm having issue with ReportLayoutStyleTemplate applied to one of my report tables. It's working correctly in my development environment but once the package is deployed in sandbox, the report layout is completely broken. Any idea on how to fix this?

Sensitive data has been removed from these reports.

What it looks like on my DEV environment

pastedimage1677719216326v3.png

What it looks like in my Sandbox/Production

pastedimage1677719166071v1.png

 

  • Suggested answer
    Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: ReportLayoutStyleTemplate not working in Sandbox and Production

    Hi,

    Just like Mohit said, it is obvious that the updated report did not get applied to the UAT. Reapply the update and check.

  • Suggested answer
    Mohit Rampal Profile Picture
    Mohit Rampal 12,554 Super User 2024 Season 1 on at
    RE: ReportLayoutStyleTemplate not working in Sandbox and Production

    Hi, if working in Dev environment and report component missing in package then it would be either check-in issue or merge issue.

  • RyanC Profile Picture
    RyanC 655 on at
    RE: ReportLayoutStyleTemplate not working in Sandbox and Production

    Hi Komi,

    Thank you for the response. Yes, both environments are on the same version.

    I noticed that the deployable package compiled from my pipeline in DevOps has a different copy of the report .rdl file from the development machine .rdl. It's missing the <page></page> portion of the template. It's just a default <page></page> with default page height, width and margins. I made sure that the report.xml is checked in, could there be a file missing from the check in that's causing this?

    I made sure the report.xml associated with my extension is checked in with the template layout defined in it.

    Best Regards,

    Ryan

  • Komi Siabi Profile Picture
    Komi Siabi 12,759 Most Valuable Professional on at
    RE: ReportLayoutStyleTemplate not working in Sandbox and Production

    Hello The AX Padawan,

    Are both environments on the same version?

    Did you test the report with data from the sandbox?

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,160 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,962 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans