Views:

Applies to Product - Power Apps

What’s happening?
Customers are unable to pass parameters from a model-driven app to an embedded canvas app, specifically when trying to use the ModelDrivenFormIntegration control.
 

Reason:
This may stem from a potential conflict between the data of the stand-alone canvas app and the model-driven form integration. Additionally, there may be settings related to the 'New analysis engine' that affect the visibility and functionality of the ModelDrivenFormIntegration control.
 

Resolution:

  1. Disable the New Analysis Engine:
  2. In the app settings, turn off the 'New analysis engine'.
  3. Select the Data Source:
  4. Choose the ModelDrivenFormIntegration and select the appropriate DataSource table, which should be 'Employee'.
  5. Check for Suggestions:
  6. After making the above changes, check if the suggestions are now working correctly.
  7. Use ModelDrivenFormIntegration.Item:
  8. Ensure to use ModelDrivenFormIntegration.Item instead of ModelDrivenFormIntegration.Data to select the current user data.
  9. Adjust App Settings:
  10. Check the app settings for 'Screen size + orientation' and set it to 'Scale to fit'. Confirm if enabling this setting resolves any view issues, such as large spaces above and below the app.
  11. Network Trace:
  12. If issues persist, collect a network trace of the app in play mode, capturing everything from the moment you navigate to the model app until both the model and canvas apps are fully loaded.
  13. Create a New Canvas App:
  14. If the problem continues, create a new canvas app form from the model-driven app instead of using an existing app to test if the ModelDrivenFormIntegration.Item collects and displays data correctly.
  15. Schedule a Meeting:
  16. If further assistance is needed, schedule a meeting with relevant team members to discuss the issue in detail and collaborate on debugging.
If these steps do not resolve the issue, further investigation may be required, and additional information may need to be gathered from the Engineering team.