Views:

Applies to Product - Power Apps

What’s happening?
Customers are unable to open submitted attachments in the MDLZ DEV & QA Environment. An error message is displayed stating, "This XML file does not appear to have any style information associated with it. The document tree is shown below."
 

Reason:
This arises when attempting to access attachments in play mode, while they can be accessed in edit mode. The underlying cause may relate to the configuration of the attachment control or the environment settings.
 

Resolution:

  • It is recommended to replace the existing attachment control with a Modern Link control. This control allows users to click and download files directly.
  • Utilize the Launch() function in Power Apps to open the attachment link directly from the gallery. This function can be associated with a label, triggering the download process when clicked.
  • If the issue persists, create a minimal repro app that does not depend on external data sources like SharePoint lists. This will help isolate the problem and facilitate further investigation by the product team.
  • For detailed instructions on creating a minimal repro app, refer to the documentation: "Create a minimal repro canvas app for troubleshooting - Power Apps | Microsoft Learn."
  • If further assistance is needed, schedule a call with the support team to discuss specific requirements and address any questions or concerns.