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

AnnotationManager: CreateAnnotation()

Explorer ,
Jun 09, 2021 Jun 09, 2021

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
500
Translate
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.

Translate
Community Expert ,
Jun 09, 2021 Jun 09, 2021

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.

Translate
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
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
Translate
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
LATEST

You can use any GUID or UUID generator for that.

Translate
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