Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Answered

Can I get formContext in xml?

Posted on by 15

Hi, I'm Kim

I want to put PowerBI report in Dyanmics365

So I open customizations.xml, put section for PowerBI report.

But I need more condition. So I want to get to formContext in xml like JavaScript.

How can I get form's attribute in xml?

If that's impossible, How I add condition to PowerBI report in D365

(ex: account's name = A, so call PowerBI report for A or account's name = B, call PowerBI report for B)

Thanks in advance.

  • TokyoKim Profile Picture
    TokyoKim 15 on at
    RE: Can I get formContext in xml?

    Thanks a lot.

    I have one more question.

    There are no way to get form's attribute in xml?

  • Verified answer
    ankit_singhal Profile Picture
    ankit_singhal 560 on at
    RE: Can I get formContext in xml?

    Yes. In Iframe you can set Power BI report Path and as parameter you can pass account name. So use JavaScript and you can try with OOB Iframe feature. Like in HTML web resource we can pass dynamics parameter.

    Please mark my answer verified if this is helpful!

  • TokyoKim Profile Picture
    TokyoKim 15 on at
    RE: Can I get formContext in xml?

    Thanks your reply.

    Can I get more detail explain?

    You mean I should use script? not xml?

  • Suggested answer
    ankit_singhal Profile Picture
    ankit_singhal 560 on at
    RE: Can I get formContext in xml?

    You can show Power BI report in IFrame and use JavaScript to pass parameter as Account name n IFrame

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans