Launching Invoice PDFs with a Salesforce Aura Quick Action

Launching Invoice PDFs with a Salesforce Aura Quick Action

Industry

Higher Education / Executive Education

Client

UCLA Anderson Executive Education

I built an Aura component that launches invoice PDFs through a Salesforce quick action. JavaScript connects the action to Visualforce pages, giving staff a direct way to open invoices from their Salesforce records.

Technology Manager | Solution design and implementation

The challenge

Flatbridge, the department’s long-standing system, was discontinued. I replaced it with EE-Ops, a custom Salesforce platform that included an invoicing workflow. That workflow needed an entry point for opening PDF invoices from Salesforce records.

My approach

I built an Aura component and exposed it as a custom quick action. Its JavaScript launches the Visualforce pages used to generate invoice PDFs, placing the action within the Salesforce record workflow.

I kept the launch behavior separate from the document presentation. The Aura component handles the action, while the Visualforce pages define the invoice layout and render the PDF. This separates changes to how staff launch an invoice from changes to how the invoice looks.

The invoicing implementation uses two Visualforce PDF pages, both with Salesforce standard controllers. Those controllers provide record access without a custom Apex controller or extension.

Outcome

Staff gained a direct way to open invoice PDFs from their Salesforce records as part of the replacement for Flatbridge. The broader EE-Ops invoicing workflow is in use by the Business Office, which logs invoices and payments in Salesforce. I supported adoption with a how-to video library and offered in-person walk-throughs.

What I’d do differently

I would evaluate replacing the Aura quick action with a Lightning Web Component. I would also create an admin runbook covering the component, its Visualforce dependencies, and the checks needed after changes, so another administrator could maintain the workflow.

What it shows

Technologies used: Salesforce Enterprise Edition, Aura Components, JavaScript, Salesforce quick actions, Visualforce PDF pages, and Salesforce standard controllers.