We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.
Did you install the SDK?
Thank you for the reply. I presently do not have the SDK installed on my computer even though I have Acrobat 2017. I am assuming I can download and install the current SDK for free from the Adobe website. Correct? This aside, I am surprised the JS samples portfolio wasn't included in the Acrobat documents download containing (15) SDK docs in PDF format or am I missing something?
Anyway, you need the SDK. The SDK may not be what you think it is. It's just a collection of docs, samples, header files and stuff like that. It doesn't provide any processing - that's done by Acrobat. (This is the usual thing for SDKs. For example, the Windows SDK describes how to automate the copy of Windows you already have). The SDK is currently free.
I found the download of docs as PDF. https://opensource.adobe.com/dc-acrobat-sdk-docs/acrobatsdk/documentation.html Ironically, they used to all be in PDF format, but switched more than 10 years ago to a maddening collection of HTML docs. Now they are back to PDF. The SDK has been essentially frozen except for a trickle of "needed for a new feature" stuff for 15 years. I observe the download page says "The SDK library is rapidly evolving." This could be an interesting time for those of us who'd got used to it being frozen.
BarlaeDC was right on in that the JS Portfolio Collection is provided in the latest SDK created in 2021 that I was able to download from the Adobe website. Once again, I am quite surprised that Adobe didn't include the JS Portfolio in the zip file of all the other PDF docs. Unfortunately, my only issue is that I am rusty and not well versed in using the Acrobat JS console that I believe is required in order to open/view and run the scripts contained in the portfolio collection. Any suggestions on where to find instructions for using the console to access/run the scripts? Thank you ahead of time?
Why do you insist that these are the same folder? Please use app.getPath to find the correct location of the user folder.
In the recent version of Acrobat the installer does not create the user folder by default, in some instances (depending on the OS and version of Acrobat), so it has to be created manually. This is not something specific to you.
And you'll find a tutorial on the console window here:
It's a question of permissions, more than anything. One folder is located under "C:\Program Files", which all users have access to, and the other is located under the sub-folder of the individual user, under C:\Users\, which only that user (and the admin) has access to.
It is what it is. It's pointless to debate. Its much more productive to spend your's (and our) time figuring out how to accomplish your task within the parameters of the Acrobat environment, not arguing about those parameters, cause they are not going to change.
Agreed. Not arguing or debating. Just commenting. Didn't intend to get anyone's nose out of joint.
If you select the menu item - "Save Portfolio as webpage", this creates a shockingly bad folder structure of all the files in the portfolio, and if you look through those files you should find "JSCollectionDemo.pdf" that has the sample you mention above, I have attached it but I know that doesn't always work.
I wanted to personally thank BarlaeDC for the reply to my question regarding the JSCollectionDemo.pdf. FWIW, your attachment was all I needed. Unfortunately, I was disappointed in perusing the popup menu script in that I was hopng I would learn something about creating a popup mnu I didn't aleady know. Thank you again for your help.
Sorry, I should have added 'correct answer' to my previous reply.