Customized signatures export and import events

WebViewer Version: 8.2.0

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? Yes
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
There are export and import functions for customized signatures, for the 3 types of signatures, i.e. draw, type and image upload. We found that for the drawing signatures (Free Hand annotations), the exported data will be an array of array of points, which works totally fine if we import it again. However, the color will be changed since the exported data doesn’t contain the color information, how could we import the Free Hand signatures including the color information?

Please describe your issue and provide steps to reproduce it:

  1. Create customized free hand signature
  2. The signatureSaved event is fired
  3. Store the stringified JSON string
  4. Import the parsed JSON object to importSignatures
  5. the signature is imported
  6. the color of the signature changed

Please provide a link to a minimal sample where the issue is reproducible:

Hi there,

Thank you for contacting WebViewer support forums,

We recommend the xfdf data for import/exporting the annotations:

For example, on the demo site, I created a free hand signature, styled it using the color palette popup:

then I refreshed the page and imported the xfdf:

Best regards,
Kevin Kim

Hi Kevin Kim,

I would like to import the signatures which will be shown in the red rectangle area in the attached screenshot instead.

Hi there,

Thank you for your response,

Please follow this guide to import existing signatures:

Best regards,
Kevin Kim