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

PDF Embed API: Annotations API, ANNOTATION_ADDED event not triggering for notes

Community Beginner ,
Sep 29, 2023 Sep 29, 2023

Hello,

I am encountering an issue with the Annotations API. When adding a message to the document with the subtype "note," the ANNOTATION_ADDED event is not being triggered. It does work as expected for other subtypes such as "strikeout," "highlight," "underline," and "shape.". This was working fine a few days ago.

This issue can be tested with the Angular demo (/annotationAPIs/UIConfigurations)

Here, you can observe two events (related to drawing and highlighting marks), but none for note-type marks:

FacundoFabianMoonDesk_1-1695977603907.pngexpand image

 

Thanks!

6.2K
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

Participant , Nov 28, 2023 Nov 28, 2023

@Raymond Camden we need an answer on this, how is one of the most important annotations of adobe pdf viewer still broken with no response?

 

It's both add comment via toolbar and "right click" > "add comment"

Translate
Community Beginner ,
Oct 03, 2023 Oct 03, 2023

Any solution !!!!!!!!!!!!!!!!!

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 Beginner ,
Oct 05, 2023 Oct 05, 2023

Is there any solution to revert to the previous release ?

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 Beginner ,
Oct 09, 2023 Oct 09, 2023

This is definitively a major bug of Adobe Embed API  3.10.0_3.2.1
Please advise.

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 Beginner ,
Oct 10, 2023 Oct 10, 2023

@Raymond Camden please can you provide any input

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 Beginner ,
Nov 24, 2023 Nov 24, 2023

Any update on this? Still not working

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
Participant ,
Nov 24, 2023 Nov 24, 2023

Still broken!! 

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
Participant ,
Nov 28, 2023 Nov 28, 2023

@Raymond Camden we need an answer on this, how is one of the most important annotations of adobe pdf viewer still broken with no response?

 

It's both add comment via toolbar and "right click" > "add comment"

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
Adobe Employee ,
Nov 29, 2023 Nov 29, 2023

I am unable to reproduce this. To be clear, what do you mean by 'note'? Garret below mentioned right click/add comment, and when I do, I get an event fired.

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
Participant ,
Nov 29, 2023 Nov 29, 2023

Sending you video over email

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
Adobe Employee ,
Nov 29, 2023 Nov 29, 2023

I built this codepen.io which only logs the event. 

 

https://codepen.io/cfjedimaster/pen/oNmPqBw?editors=1011

 

When I right click add comment, I get an event fired.

 

Note that I've seen Embed take 1-2 seconds to 'register' the event so be sure to give it a sec.

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
Participant ,
Nov 29, 2023 Nov 29, 2023

Hey Raymond, can you try with comments panel collapsed? It's waiting for a body value, but it never gets one, thats the reason it works in the codepen

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
Adobe Employee ,
Nov 29, 2023 Nov 29, 2023

When I load the PDF initially, the comments panel is closed. I right click, add comment, it opens automatically and I type. Are you adding comments in a way that doesn't open the panel so you can type?

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
Participant ,
Nov 29, 2023 Nov 29, 2023

var annotationManagerConfig = {
showToolbar: false,
showCommentsPanel: false,
showToolsOnTextSelection: false,
downloadWithAnnotations: false,
};

Pass these settings into annotation manager config

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
Participant ,
Nov 29, 2023 Nov 29, 2023

If you have the comments panel collapsed, there is no way for the annotation to get its bodyValue, and it never fires the event

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
Adobe Employee ,
Nov 29, 2023 Nov 29, 2023

After updating the CodePen, I'm able to reproduce this. Will file the bug.

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
Participant ,
Nov 29, 2023 Nov 29, 2023

It's also an issue for the "Text Comment" in the toolbar, I just have disabled the toolbar.

 

Thanks very much for taking a look @Raymond Camden 

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
Participant ,
Dec 09, 2023 Dec 09, 2023

@Raymond Camden any update on when this bug will be prioritized and deployed to production?

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
Adobe Employee ,
Dec 11, 2023 Dec 11, 2023

Nope.

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 Beginner ,
Jan 12, 2024 Jan 12, 2024

@Raymond Camden Hi!, any update? 

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
Adobe Employee ,
Jan 12, 2024 Jan 12, 2024

Folks, nothing has changed in this regard. I wish I could say more, but no.

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
Participant ,
Jan 05, 2024 Jan 05, 2024

@Raymond Camden any good news in the new year regarding this incredibly vital bug?

Something as simple as "right click > add comment" not functioning at all, destroys the whole UX

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
Adobe Employee ,
Jan 05, 2024 Jan 05, 2024

I do not have an update. 

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
Participant ,
Jan 05, 2024 Jan 05, 2024

Is there any workaround where we can prevent right clicking inside of the iframe?

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
Adobe Employee ,
Jan 05, 2024 Jan 05, 2024
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