rwilson504 / PCFControls

Reusable PowerApps Control Framework (PCF) controls.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] [PDF Form Filler] Error Message Not Displayed

rwilson504 opened this issue · comments

Which PCF Component
PDF Form Filler

What type of Power App are you using this PCF component in?

  • Canvas App

Describe the bug
When there are any errors generator during the PDF fill process the outputErrorMessage property is never updated to include the error.

To Reproduce
Steps to reproduce the behavior:

  1. Create Canvas App
  2. Configure the PDF Form Filler component
  3. In the OnChange action of the component set a variable to the outputErrorMessage property.
    Set(outputErrorMessage, PDFFormFillCanvas1.outputErrorMessage);
  4. Create a new text field on the canvas set to the outputErrorMessage variable.
  5. Attempt to generate a PDF using a PDF that is corrupt.
  6. No error message is ever shown.

Expected behavior
An error message should be displayed with will provide additional information as to why the PDF did not generate. Additionally the outputError property should be set to true.