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

Programmatically set value to the Comment Input then Trigger click of Post button on Comment panel

New Here ,
Jan 25, 2021 Jan 25, 2021

Copy link to clipboard

Copied

Hello,

 

We want that whenever we highlighted text on the viewer, we will insert the copied text(+ some texts) to the comment input then automatically trigger the Post button. 

 

We can now get the highlighted text using AdobeDC.View.Enum.FilePreviewEvents.PREVIEW_SELECTION_END event but we still don't know how to put that value to the Comment input and trigger the Post button automatically.

 

Is there a a way to access the current Comment controls?

 

Thanks,

 

 

jerson15A7_0-1611639659617.png

 

 

TOPICS
PDF Embed API

Views

122

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
no replies

Have something to add?

Join the conversation
Resources