cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

WEBAPI - Update Parameters for a control

Hi,

 

I have added a control to embed a Power BI Report on a form  

 

<row>
<cell id="{7d18b61c-c588-136c-aee7-03e5e74a09a1}" showlabel="true" rowspan="20" colspan="1" auto="false">
<labels>
<label description="Accounts (Parent Account)" languagecode="1033" />
</labels>
<control id="filteredreport" classid="{8C54228C-1B25-4909-A12A-F2B968BB0D62}">
<parameters>
<PowerBIGroupId>xxxxx-xxxxx-xxxxx-xxxxxx</PowerBIGroupId>
<PowerBIReportId>xxxxx-xxxxx-xxxxx-xxxxxxxx</PowerBIReportId>
<TileUrl>https://app.powerbi.com/reportEmbed?reportId=xxxxxx-xxxxx-xxxxx</TileUrl>
<PowerBIFilter>{"Filter": "[{\"$schema\":\"basic\",\"target\":{\"table\":\"Projects\",\"column\":\"msdyn_subject\"},\"operator\":\"In\",\"values\":[$a],\"filterType\":1}]", "Alias": {"$a": "msdyn_subject"}}</PowerBIFilter>
</parameters>
</control>
</cell>
</row>

 

Question: Using WebAPI/JavaScript - can I access the Parameters (e.g. getControl) and update those parameters ?

 

Thanks for assistance!

 

- Rory

1 REPLY 1
Highlighted
Advocate I
Advocate I

Re: WEBAPI - Update Parameters for a control

Since it's still a feature that needs to be fully developed there are no such methods. You can always get a form XML  parameter from the Form entity via SDK/API and change it there.

 

I'm doing it that way in my XTB tool. You can check how it's done in the repository

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Users online (7,579)