How to Create an Outlook Meeting Window from an Acrobat PDF Form
Question details
The user wants to configure an Acrobat form button to attach a PDF and launch a new Outlook meeting invitation instead of a standard email.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating interactive PDF form buttons to streamline scheduling and trigger meeting invitations directly from the document.
- Observed behavior
- The standard Acrobat JavaScript command (this.maildoc) only creates a standard email draft, failing to open an Outlook meeting or calendar window.
Verify your system's default email client settings and ensure you have administrative rights, as launching external meeting automation scripts from a PDF requires bypassing strict application security restrictions.
Implement a Custom Outlook Automation Script Workaround
Since Acrobat's native JavaScript cannot natively open a meeting window, use a trusted function to trigger an external local script to automate Outlook.
Acrobat JavaScript's `this.maildoc` method is strictly designed for standard emails via MAPI. To generate an Outlook meeting invitation, you must bypass native functions and trigger an external automation script (like VBScript or PowerShell) using Acrobat's trusted functions.
Write and save a VBScript (.vbs) or PowerShell script that utilizes the Outlook.Application COM object to create a new AppointmentItem (olAppointmentItem).
Set up a folder-level JavaScript file in your Acrobat installation directory to create a trusted function. This function must be explicitly allowed to execute external local applications via `app.launchURL` or similar methods.
In your PDF form, assign a 'Run a JavaScript' action to your button. Code this action to call your custom trusted function, which will silently run the VBScript and launch the Outlook meeting window.

Alternative: Use an Attached .ICS Calendar File
Instead of executing complex scripts to launch a meeting window directly, attach an iCalendar (.ics) file that users can open to add the event to Outlook.
Explore WPS Office for Comprehensive PDF and Document Management
While complex Outlook automations require enterprise-level script deployment, WPS Office offers a free, lightweight suite with robust PDF editing, form creation, and deep compatibility with standard Office formats—perfect for streamlining your daily workflow.
- 1. Download and Install: Get WPS Office from the official website and complete the quick, lightweight installation process.
- 2. Open Your PDF Form: Launch WPS PDF and open your interactive PDF document to test existing form fields and annotations.
- 3. Share via Email: Use the built-in share feature to quickly send your filled PDF forms via your default email client.

Frequently Asked Questions
Can I use mailto: to create an Outlook meeting invitation?
No, the standard 'mailto:' protocol only supports creating email drafts (with fields like CC, BCC, Subject, and Body). It cannot trigger the calendar or meeting features of Outlook or any other email client.
Why does this.maildoc only open an email instead of a meeting?
The 'this.maildoc' method in Acrobat JavaScript is explicitly programmed to interface with the operating system's MAPI email capabilities. MAPI's basic implementation is strictly limited to sending standard electronic mail messages.
Are there any security issues with running external scripts from a PDF?
Yes. Because malicious PDFs could theoretically launch harmful scripts on a user's computer, modern PDF readers strictly sandbox JavaScript. Running local scripts requires bypassing these safeguards by configuring trusted functions and folder-level security.
How do I embed an ICS file in a PDF?
You can use the 'Add Attachment' tool (usually found in the left sidebar under the paperclip icon) to embed an ICS file. You can then add a button with custom JavaScript or a 'Go to a page view' action to prompt the user to open the attachment.




