• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

303

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

Community Expert , Jun 09, 2021 Jun 09, 2021

You can use any GUID or UUID generator for that.

Votes

Translate

Translate
Community Expert ,
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.

Votes

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

Votes

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
Community Expert ,
Jun 09, 2021 Jun 09, 2021

Copy link to clipboard

Copied

LATEST

You can use any GUID or UUID generator for that.

Votes

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
Resources