I am working in Acumatica Modern UI customization and I have a Smart Panel with an Upload button. When the user clicks the Upload button, a file upload dialog (<qp-upload-dialog>) should appear.
Here is the code I currently have:
When I click the Upload button, the file upload dialog does not appear in Modern UI. But it was working as expected in Classic UI.
Thanks in advance for your time and support.
Best answer by RohitRattan88
@nimmip43
You must have an action associated with upload button as described in the documentation:
To display the dialog box, you need to invoke the dialog box in the graph code (in an action delegate) by doing the following:
Calling the Ask or AskExt method of the view or the DialogManager class
Specifying the dialog box properties in the method parameters.