Questions tagged [powerapps-modeldriven]

Model-driven PowerApps allows creating component-focused Microsoft PowerApps. Also add the general [powerapps] tag and [dynamics-crm] to your question.

Model-driven PowerApps is a component-focused approach to Microsoft PowerApps. Compared to Canvas Apps where the designer has full control over the layout of the app, with model-driven apps a great part of the layout is determined and largely defined by the components you add to the app.

Dynamics CRM SMEs will be able to help answering the questions in Model driven powerapps, as the core SaaS product is the same.

133 questions
3
votes
1 answer

Accessing From Context From WebResource Hosted In Form Post Xrm.Page Removal

What is the best approach to access the FormContext of a form from a WebResource hosted on the form? The docs say to access the Form Context from a html WebResource to use parent.Xrm.Page. An HTML web resource added to a form can’t use global…
Daryl
  • 18,592
  • 9
  • 78
  • 145
2
votes
1 answer

D365 CRM Model Driven App's Audit History Error when embedding a Canvas App

Working on a Model Driven App using D365 Customer Service Module and when we add/embed a Canvas App we're getting a Server Error application when we viewing the Audit History (Highlighted Below). The Server Error disappears and the Audit History…
2
votes
1 answer

Powerapps Xrm.WebApi in a stand alone Web Resource

I have a stand alone web resource linked from the site menu in a Model Driven App. It does multiple api calls using parent.Xrm.WebApi and currently works fine. According to Microsoft deprecation notice,…
2
votes
1 answer

Calling Dynamics CRM Rest API from PCF component, Embedding in Model-Driven App

We are working on a Canvas app that allows user to perform bulk operations such as assigning roles to users, manage privileges, etc. For this, we created a custom connector at the PowerApp that calls the Dynamics CRM Rest API to perform various…
2
votes
1 answer

React rendering new view with filtered Data in Model Driven PowerApps

Currently I am implementing a custom list in a model driven app. I noticed that while filtering the data the init method as well as the updateView method is called, furthermore the updateView method is called 3 times. However, the new view is not…
1
vote
0 answers

Power Apps: Table Mapping Only works with Associated View

I have two Tables: Customer and Payments. The Customer has Details such as First Name, Last Name, Address, etc. Payments has the Last Name, First Name, Payment and Payment Date. I created a 1:N relationship between Customer and Payments i.e. A…
Ziggy
  • 491
  • 1
  • 6
  • 17
1
vote
0 answers

Power Apps Embed Canvas App into a model driven app and give data through

I have a model driven app with some data in tables. If i choose a certain row, it opens a new form where I can edit this data. In the same form I have embedded a canvas app. This canvas app contains a pdf viewer. Now I want to "connect" the canvas…
1
vote
1 answer

Javascript not returning expected value in power apps web resource (onChange Event)

I found some code online that populates a lookup field based on another lookup field. I have applied it to my scenario and it works fine for the first part. In my scenario, im on an enquiry form and when i use the lookup to select the client the…
1
vote
3 answers

How to Access Parameters in New Form

I have a custom button that I have the below JavaScript attached to that opens an entity form and I am trying to pass viewName to it. function sendContextToQC(selectedControl) { var entityFormOptions = {}; entityFormOptions["entityName"] =…
1
vote
1 answer

Dynamics 365 Passing Regarding Entity Type to a Form

I am passing following parameter to a form var parameters = {}; //Set the Parent Customer field value to “Contoso”. parameters["regardingobjectid"] = orderID; parameters["regardingobjectidname"] =…
1
vote
1 answer

Source of PrimaryControl (CRM Parameter)

In Ribbon Workbench I had created custom button(custom action with help Custom JS Action, so set Crm Parameter like PrimaryControl). In JS function for example is bottom, we pass formContext and can using API methods. Pass Customer Engagement data…
1
vote
1 answer

Dataverse to Synapse Link - missing Lake database in Workspace

I was able to successfully configure link integration between Dataverse and Azure Synapse. The data flow between Dataverse and the Lake works and I can see files with data from Dataverse inside my Azure Storage. My problem is that when I'm opening…
1
vote
1 answer

Calling a custom api via c# sdk

I have this custom api called "pits_PostProjectLineEntries" which takes in a EntityCollection called Transactions. I am using the option to have the entities in that EntityCollection to be expando since I really not need to create a table to hold…
1
vote
1 answer

Prepopulate the ComboBox using comma-seperated String

The string looks like: teststring = "Sunday,Monday" In combobox's DefaultSelectedItems when I write like this, it works. How can I make this kind of format dynamically using the above teststring (even when teststring changes to something else)??
1
vote
1 answer

PowerApps M:M relationships with additional attributes

I'm new to PowerApps. I'm creating a model-driven app. I've created some custom tables in the DataVerse - Information System, and Business Process. These tables have a M:M relationship. An Information System supports one or more Business…
1
2 3
8 9