Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How to Change Property "Inline Page URL" in code when init form for control PowerBiReportviewer

(0) ShareShare
ReportReport
Posted on by 15

Hi, 

I want change Url in property "Inline Page URL" control PowerBiReportviewer when init form.

But, in code i can`nt find this property.

Maybe someone knows how to do it?

  FormContainerControl powerView = element.design().control(element.controlId(TestPowerBIReportViewer")); - this is how I connect to the object

6404.pastedimage1673872146755v1.png

  • Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    RE: How to Change Property "Inline Page URL" in code when init form for control PowerBiReportviewer

    If it answered your question, please mark the reply as the verified answer (by using Did this answer your question? > Yes).

  • ValeriyKa Profile Picture
    ValeriyKa 15 on at
    RE: How to Change Property "Inline Page URL" in code when init form for control PowerBiReportviewer

    Thanks for the answer.

    You are right - "refer to the control by name". this is the right decision.

    have a nice day.

  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,853 Most Valuable Professional on at
    RE: How to Change Property "Inline Page URL" in code when init form for control PowerBiReportviewer

    It's because you're using a wrong type. You need PowerBIReportViewer or PowerBIReportViewerBuild, not FormContainerControl.

    By the way, can't you simply refer to the control by name (TestPowerBIReportViewer.parmExternalPageURL(...)).

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... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans