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:
- Disable the New Analysis Engine:
- In the app settings, turn off the 'New analysis engine'.
- Select the Data Source:
- Choose the ModelDrivenFormIntegration and select the appropriate DataSource table, which should be 'Employee'.
- Check for Suggestions:
- After making the above changes, check if the suggestions are now working correctly.
- Use ModelDrivenFormIntegration.Item:
- Ensure to use ModelDrivenFormIntegration.Item instead of ModelDrivenFormIntegration.Data to select the current user data.
- Adjust App Settings:
- 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.
- Network Trace:
- 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.
- Create a New Canvas App:
- 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.
- Schedule a Meeting:
- If further assistance is needed, schedule a meeting with relevant team members to discuss the issue in detail and collaborate on debugging.
