Error when drawing/uploading signature on PDF viewer

Hi. I'm using the @syncfusion/ej2-angular-pdfviewer version 19.2.57 in my angular app and I'm running into issues when I try to use the draw/upload signature functionality. I attached the document I am using and if it is important, my pdf viewer service is running in an Azure Cloud Service, .Net framework 4.7.2, using the versions in the first screenshot and I am using all of the latest Angular versions. Below the version screenshot are screenshots of the errors I am receiving on my frontend. 



When I attempt to upload a signature I am getting this error.


And when I try to draw one I'm getting this error. 


Along with all of these errors after trying to draw a signature, if I close the window draw signature window and move my cursor around the document I get these errors. 



And here is how I have my pdf editor configured.


Thank you for any assistance you can provide on this matter! 


Attachment: Contempt_and_ins_package_f5f6d49e.zip

3 Replies 1 reply marked as answer

DM Dhivyabharathi Mohan Syncfusion Team September 3, 2021 12:01 PM UTC

Hi Luke, 
 
 
We suspect that the reported issue occurred because you have missed to inject the FormField and FormDesigner module in the Angular sample. We suggest you inject the FormField and FormDesigner module in the app.component.ts file as like below code snippet to get the issue resolved. We have shared the sample for your reference. 
 
 
 
 
Code snippet: 
 
import { 
  PdfViewerComponent, 
  LinkAnnotationService, 
  BookmarkViewService, 
  MagnificationService, 
  ThumbnailViewService, 
  ToolbarService, 
  NavigationService, 
  TextSearchService, 
  TextSelectionService, 
  PrintService, 
  AnnotationService, 
  FormFieldsService, 
  FormDesignerService 
} from '@syncfusion/ej2-angular-pdfviewer'; 
 
 providers: [ 
    LinkAnnotationService, 
    BookmarkViewService, 
    MagnificationService, 
    ThumbnailViewService, 
    ToolbarService, 
    NavigationService, 
    TextSearchService, 
    TextSelectionService, 
    PrintService, 
    AnnotationService, 
    FormFieldsService, 
    FormDesignerService 
  ] 
 
 
 
Kindly try this and revert us, if you have any concerns. 
 
Regards, 
Dhivya. 
 


Marked as answer

LC Luke Carlson September 3, 2021 12:19 PM UTC

Hi Dhivya,


That worked perfectly! Thank you very much. 



SM Selvakumar Murugan Syncfusion Team September 6, 2021 06:40 AM UTC

Hi Luke,

Thank you for the update. We are glad to know that the issue was resolved. Please revert to us if you need any further assistance.

Regards,
Selvakumar 


Loader.
Up arrow icon