AnnotationManager: CreateAnnotation()

Explorer ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

Hi, 

 

I'd like to have this one more API for creating new annotations, as currently there are only addAnnotations().

 

I'd like to use this API to create new annotations from my code or at least creating new replies to existing APIs.

 

I wonder if this API will be implemented soon? 

 

thank you, 

TOPICS
PDF Embed API

Views

27

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct Answer

Adobe Community Professional , Jun 09, 2021 Jun 09, 2021
You can use any GUID or UUID generator for that.

Likes

Translate

Translate
Adobe Community Professional ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

Annotation objects are defined using JSON. To create a new annotation that can later be used by the addAnnotations() call, you can simply define it using the annotation schema. Just be sure to set the "source" property to the id of the file that you load into Embed API.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

hi thanks for the prompt reply.

i've thought about this solution. the only question i have is that how to create hash-like ID strings for the new reply.

thanks

Get Outlook for iOS

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

LATEST

You can use any GUID or UUID generator for that.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines