How to deploy a JavaScript application created using Adobe Acrobat SDK

New Here ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

Developing a javascript application using Adobe Acrobat SDK. Some menu item is added to pdf and some action will be performed on click of that. Please guid me through the process to deploy the same so that the context menu option be available for the user. 

TOPICS
JavaScript

Views

138

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
Most Valuable Participant ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

What do you mean by "context menu option", exactly?

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
New Here ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

Its file menu item. Accessed like this,  File -> My Menu Item

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
Most Valuable Participant ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

LATEST

That's possible. You need to place your code in a .js file and save it under one of the two Javascripts folder of the application (either the "app" folder or the "user" folder). In it you need to use the app.addMenuItem method to add your custom menu item. Specify the cParent parameter as "File" to make it appear under that sub-menu.

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
Most Valuable Participant ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

I don't think I know what you mean by JavaScript application. JavaScript is an Interface available to Acrobat users but it is not deployed as applications.

 

Ditto context menu. I cannot connect Acrobat JavaScript to what I understand by context menu (an extra item in a system or application's right click mouse menu).  

Ditto "menu item added to PDF". 

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
New Here ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

Yes by context menu , I meant "menu item added to PDF" accessed like this , File -> My Menu Item.

My question is if i am adding such menu item to pdf and on click of that menu item i am performing some task. How that functionality can be made avaiable to other users as a part of pdf. 

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 ,
Mar 10, 2021 Mar 10, 2021

Copy link to clipboard

Copied

This is not part of a PDF file. It is part of the application. 

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