Skip to main content
Participant
June 7, 2018
Question

Need help to create save to document management system button in a PDF form

  • June 7, 2018
  • 3 replies
  • 1308 views

Hi All,

We are using iManage Filesite 9.0 client as a document management system which uses an API "IManAcrobatReader10.api" to display Save to Worksite option under the File menu. I need to access this using the Action "Execute the Menu item" but I only Save As option in there is which is local save to disk. I need to somehow call this API probably using a java script. I am not familiar doing that. Could someone provide probably an example of code.

I will appreciate the help!

This topic has been closed for replies.

3 replies

Legend
June 8, 2018

Well, you have your solution. You cannot do this without their SDK.

try67
Community Expert
Community Expert
June 8, 2018

Did you try the listMenuItems (not ListMenuItems) mentioned above? It should list the internal names, even of items added by plugins.

Participant
June 8, 2018

This is the output on the console, Highlight is the one I am looking for.

Acrobat EScript Built-in Functions Version 11.0

Acrobat SOAP 11.0

[cName:File, oChildren:[[cName:Open],[cName:BH_Open],[cName:iMan:iManOpen],[cName:endOpenGroup],[cName:SPAObject 73],[cName:SPAObject 74],[cName:iMan:iManSave],[cName:endNewDocumentOnlineGroup],[cName:Save],[cName:SaveAs],[cName:SaveAsSubmenu, oChildren:[[cName:ADBE:SaveAsAccText],[cName:SPAObject 75],[cName:SPAObject 76]]],[cName:BH_Save],[cName:endSaveGroup],[cName:SPAObject 77],[cName:Email],[cName:SPAObject 71],[cName:SPAObject 72],[cName:],[cName:],[cName:],[cName:Revert],[cName:Close],[cName:endFormDataGroup],[cName:GeneralInfo],[cName:endDocInfoGroup],[cName:Print],[cName:endPrintGroup],[cName:SPAObject 67],[cName:SPAObject 68],[cName:RecentFile1],[cName:RecentFile2],[cName:RecentFile3],[cName:RecentFile4],[cName:RecentFile5],[cName:endRecentFileGroup],[cName:Quit]]]

Yousuf Ali

[Personal contact information removed]

Legend
June 8, 2018

You will need to contact the makers of the plugin. Unless they make a way for you to do this, you can’t do it. There is no way to automate things which show a dialogue unless a specific way is made.

Participant
June 8, 2018

Thanks I have contacted them and they asking me to buy a SDK license which cost $15000 for one line of code. I appreciate your help.

Yousuf Ali

[Personal contact info removed]

Joel Geraci
Community Expert
Community Expert
June 8, 2018

I've worked with document management systems in the past. I assure you, it's not one line of code to expose their plugin to the Acrobat JavaScript menu item interface... especially after Acrobat X and the whole JS/MenuItem blacklist architecture.

Assume you can't call the menu item. What is it you actually want to do? Check in the document? There's very likely another way.

BarlaeDC
Community Expert
Community Expert
June 8, 2018

Hi,

Could you call the app.ListMenuItems call to list all the menu items with the plugin installed, then see what the menu is called if it is listed and then you should be able to call app.execMenuItem ( "INSERTNAMEHERE"); to call that menu.

This is a bit of a shot in the dark as I don't have access to the product you are using so can't test.

Hope this helps

Malcolm