How to Create a Meeting Invitation from a PDF Button in Acrobat
Question details
The user wants to configure an interactive button within a PDF document to generate and send a calendar meeting invitation instead of a standard email.
- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Adding interactive scheduling and calendar booking elements to a PDF document.
- Observed behavior
- Acrobat JavaScript's App.mailMsg function only creates standard text emails and fails to reliably generate formatted calendar meeting invitations.
Understand that standard PDF JavaScript is optimized for drafting emails and submitting forms. Generating a functional calendar invitation is best handled by linking out to an external calendar service or an online ICS file rather than relying on built-in PDF scripts.
Link the PDF Button to an External Calendar Invitation
Since Acrobat JavaScript cannot natively format meeting invites, linking the button to a web-based calendar event (like Google Calendar or an online ICS file) is the most reliable method across all devices.
A calendar invite requires specific formatting (MIME types) that the App.mailMsg JavaScript function does not support. By hosting your event online, you ensure the recipient's default calendar application can properly interpret the invitation.
Create your meeting event in a web calendar (e.g., Google Calendar, Outlook Web) or upload an ICS file to a cloud drive and copy the shareable link.
Open your PDF document in Adobe Acrobat and navigate to the right-hand pane to select 'Prepare Form'.
Click the 'Add a Button' icon from the top toolbar, place it on your document, and double-click the button to open the Properties dialog box.
Go to the 'Actions' tab. Select 'Mouse Up' as the trigger, choose 'Open a web link' from the Select Action dropdown, and click 'Add'.
Paste the URL of your calendar invitation or hosted ICS file into the prompt, click 'OK', and then close the Properties window.
Use Acrobat JavaScript to Send an Email Requesting a Meeting
If you must use JavaScript within the PDF, you can configure the button to draft a standard email requesting the recipient to reply with their availability.
Easily Add Hyperlinks and Interactive Elements to PDFs with WPS Office
WPS Office includes a powerful PDF editor that allows you to easily insert text, images, and clickable hyperlinks. You can link text or shapes to external calendar URLs seamlessly without writing complex JavaScript.
- 1. Open the PDF: Launch WPS Office and open your PDF document.
- 2. Access the Link tool: Navigate to the 'Edit' tab on the top ribbon and click on 'Link'.
- 3. Select the interactive area: Draw a rectangle over the text or image where you want the clickable region to be.
- 4. Insert the calendar URL: In the pop-up dialog, choose 'Open URL', paste your Google Calendar or hosted ICS link, and click 'OK'.

Frequently Asked Questions
Can I attach an ICS file directly to a PDF button using JavaScript?
No, standard Acrobat JavaScript (like App.mailMsg) does not support directly generating and attaching an ICS file on the fly. You must host the ICS file online and link the button to that URL.
Why does App.mailMsg not create a calendar invite?
App.mailMsg is designed strictly to format and open a standard plain-text email draft in the user's default email client. It lacks the protocol support to format email headers as a calendar invite (like text/calendar MIME types).
Does the mailto protocol support meeting invitations?
The standard mailto protocol can populate the 'to', 'subject', and 'body' fields of an email, but it cannot automatically trigger the specific calendar invitation formatting required by platforms like Outlook or Google Calendar.
Can I use a regular hyperlink instead of a form button for invitations?
Yes. Adding a standard hyperlink to a text block or an image that points to a web-based calendar event is often simpler and more universally supported across different PDF readers than using interactive form buttons.




