Self-Registration, RFQ Automation, Opportunity Management, Account Conversion & Quote PDF Download using Salesforce Experience Cloud
Developed a modern self-service client portal using Salesforce Experience Cloud, Lightning Web Components (LWC), and Apex to streamline the complete RFQ lifecycle. The solution enables customers to self-register, submit RFQs through a guided multi-step form, track request status in real time, and download generated Quote PDFs directly from the portal. The implementation also automates Opportunity creation, Account conversion upon Closed Won, and Quote management, significantly reducing manual effort while improving customer experience and operational efficiency.
CASE STUDY | DEMO PROJECT UPDATE
Trasol Client Portal Self-Registration + Phone | RFQ to Closed Won | Account Conversion | Standard Quotes | PDF Download
What's New in This Version Following Sri Hari's review, a new Section 2 - Purpose of the Portal - now opens the case study with a single diagram explaining why this portal exists: the problem of scattered, manually re-typed RFQs, what the portal does about it, and who benefits on each side. Everything from the previous version is carried forward unchanged below it: the Phone field, Closed Won to Account conversion, and Quote download feature, all proven end-to-end with real screenshots - a live login page, registration with Country Code and Phone Number, a dashboard with 32 real RFQs across 9 stages, the Closed Won conversion that auto-creates the client Account, and an actual downloaded Quote PDF.
1. Project Overview
The Trasol Client Portal — also called the Organizer+ Portal — is a self-service web portal built on Salesforce Experience Cloud. It enables external business clients to register, verify their email, log in, submit multi-step RFQ (Request for Quotation) forms, track their submission pipeline through a real-time dashboard, and — following the latest requirements reviewed with Sri Hari Rathinasamy — receive and download formal Quotes once their RFQ is processed by the Trasol team.
| Field | Details |
|---|---|
| Portal Name | Trasol Client Portal — Organizer+ Portal |
| Platform | Salesforce Experience Cloud — Build Your Own (LWR) |
| Organisation | Web Lead Trasol AI — Partner Developer Edition |
| Domain | webleadtrasolai-dev-ed.develop.my.site.com |
| Prepared By | Devi Prasad Patibandla |
| Reviewed With | Sri Hari Rathinasamy — Trasol Technologies (Portal Demo, Jun 8 2026) |
| Tech Stack | LWC | Apex | Salesforce Experience Cloud | Standard Quotes | CSS Pure Charts |
| Date | May – June 2026 |
2. Purpose of the Portal
Before going further into the build, Sri Hari asked for this to be made explicit up front in the case study: what problem does this portal actually solve, for whom, and why does it justify the engineering behind it. The diagram below was created specifically to answer that in one view, and the section that follows unpacks each panel.
2.1 The Problem Being Solved
Before the portal existed, every RFQ began as a phone call or an email. Nothing about that process was structured: requirements were typed into Salesforce by hand after the fact, clients had no way to check on a request once they had sent it, and the quote that eventually came back arrived as a PDF attachment with no system of record tying it to the original ask.
* No single place where a client's request, its status, and its quote lived together
* Manual re-typing of requirements introduced delay and occasional data loss
* A client with multiple stakeholders had no way to share visibility between them
* Quotes lived in inboxes, not in Salesforce, making them hard to trace later
2.2 What the Portal Does About It
The portal does not change how Trasol's internal team works a deal - it changes what happens on either side of that work. A client now self-registers once, submits a structured RFQ through a guided form, and from that point the Opportunity, the Account, and eventually the Quote are all standard Salesforce records that the internal team already knows how to operate.
* Self-registration captures name, email, and phone in one guided form
* A 3-step RFQ wizard replaces free-form emails with structured, validated input
* Every submission becomes a standard Opportunity the moment it is sent
* Winning the deal automatically promotes the client to their own Account
* The finished Quote is available to download from the same dashboard, no email required
2.3 Who Benefits, and How
| Stakeholder | Benefits |
|---|---|
| Client | One login to submit a request, track its status, and download the quotation—all from a single portal. No chasing emails or repeating requirements to different team members. |
| Trasol Sales Team | Every RFQ is submitted in a structured format within Salesforce, complete with customer contact details, eliminating manual data entry and improving efficiency. |
| Trasol Leadership | A clean and accurate sales pipeline with complete visibility into every RFQ, Account, Opportunity, and Quote, ensuring reliable reporting and better business insights. |
3. Business Requirement
Trasol Technologies manages project inquiries from multiple client companies. Before this portal, all RFQ submissions arrived by email, requiring manual data entry into Salesforce. There was no visibility for clients on submission status, no structured data collection, no automated routing, and no way for a client to receive or download a formal quotation once Trasol had priced their request.
3.1 Original Requirements
* Allow clients to self-register and log in without a Salesforce licence
* Provide a structured multi-step RFQ submission form with validation at every step
* Store RFQs as Opportunity records in Salesforce automatically on submission
* Show a real-time dashboard: Total RFQs, Open RFQs, Completed RFQs, Pipeline by Stage, Submissions per Month
* Support multiple users from the same company seeing the same shared data
3.2 New Requirements - From the Portal Demo with Sri Hari (Jun 8, 2026)
* Add a Phone field to the self-registration form so Trasol's sales team can reach new leads by phone, not only email
* When an Opportunity (RFQ) reaches Stage = Closed Won, automatically create or confirm the corresponding Account as a converted client
* Enable standard Salesforce Quotes on Opportunities so the internal team can prepare a formal priced Quote per RFQ
* Make the Quote related to an Opportunity visible to the portal user under their Account
* Give portal users a one-click Download Quote button on the dashboard so they can save the priced PDF Quote without needing the internal Salesforce UI
4. Solution Architecture
4.1 Component Map (Updated)
| Component | Description |
|---|---|
| rfqDashboardNew (LWC) | Dashboard home displaying metric cards, donut chart, and bar chart for RFQ analytics. |
| rfqForm (LWC) | Three-step RFQ submission wizard that captures Company Name, Email, Phone Number, and project requirements. |
| portalQuoteActions (LWC) | Displays customer Quotes and enables one-click download of generated Quote PDFs. |
| portalHeroBanner (LWC) | Portal header with welcome message and Submit New RFQ action button. |
| RFQDashboardController (Apex) | Retrieves Opportunity records associated with the logged-in portal user's Account. |
| RFQPortalController (Apex) | Creates Opportunity records from RFQ submissions, including customer phone details. |
| PortalQuoteController (Apex) | Retrieves customer Quotes and returns the generated Quote PDF as a Base64 string for download. |
4.2 Data Model (Updated)
| Salesforce Object | Description |
|---|---|
| Account | Represents the client company and serves as the confirmed customer account once an Opportunity is marked as Closed Won. |
| Contact | Represents individual portal users linked to an Account. The logged-in user is identified using their email address. |
| Opportunity | Represents an RFQ (Request for Quotation). When the Opportunity reaches the Closed Won stage, it is converted into a confirmed client Account. |
| Quote | Standard Salesforce object used to create one or more quotations for each Opportunity. |
| ContentVersion / ContentDocumentLink | Stores generated Quote PDFs as Salesforce Files and links them to the corresponding Quote records. |
4.3 RFQ to Won to Account to Quote to Download - End-to-End Flow
* Portal user submits the RFQ form -> Opportunity created with Stage = Prospecting
* Internal Trasol team works the Opportunity through the sales process
* Opportunity reaches Stage = Closed Won -> Account is created or confirmed as a converted client
* Internal team creates a Quote on the Opportunity, sets pricing, and clicks Create PDF - this generates a File (ContentVersion) linked to the Quote
* Portal user logs in, opens their dashboard, sees their Quote listed by PortalQuoteController, and clicks Download Quote
* Apex returns the PDF as a Base64 string -> LWC converts it to a Blob in the browser -> triggers a native file download
4.4 Why Matching by Email Instead of User.ContactId
PortalQuoteController and RFQDashboardController both identify the logged-in portal user's company by matching UserInfo.getUserEmail() against Contact.Email, rather than querying User.ContactId directly. This was changed after a tooling-specific compilation error (documented in Section 6) and has the added benefit of being simpler and slightly faster, since it avoids one extra relationship hop.
4.5 Why Files (ContentVersion) Instead of QuoteDocument
The original design planned to read the Quote PDF from QuoteDocument.Body, the older Salesforce Quote PDF storage mechanism. Testing showed this org's QuoteDocument object does not expose a Body field at all - Salesforce now generates Quote PDFs as standard Salesforce Files attached to the Quote via ContentDocumentLink. The architecture was updated to query ContentVersion.VersionData instead, which is also the more modern, broadly supported approach.
5. Implementation - Phase by Phase
PHASE 1 Salesforce Org and Experience Cloud Setup
Enable platform, create site, configure profile and members
1. Confirmed org: Web Lead Trasol AI - Partner Developer Edition - with Experience Cloud licences available.
2. Setup > Digital Experiences > Settings > Enabled Digital Experiences > set domain: trasolportal.
3. Digital Experiences > All Sites > New > Build Your Own (LWR) > Name: Trasol Client Portal.
4. Setup > Profiles > New > from Customer Community Login User base > Name: Trasol Portal > Save.
5. Administration > Members > Added Trasol Portal profile to site members.
6. Administration > Login & Registration > Enable self-registration > Set Profile: Trasol Portal.
7. Created Trasol Portal Users Account as the default container for all self-registered users.
PHASE 2 Branding and Login Page Configuration
Trasol colors, logo, and login page setup
8. Administration > Login & Registration > Branding Options.
9. Uploaded Trasol logo (248x100px PNG). Set Background Color: #080B18. Set Login Button: #E8450A.
10. Experience Builder > Theme > Set Action Color: #E84B2A. Set Page Background: #0D0F14.
11. Login Form > Self Register Link Label: 'Sign Up'. URL: /login/SelfRegister.
12. Clicked Publish. Verified branding in Incognito window.
PHASE 3 Phone Field Added to Registration
Requested by Sri Hari during the portal demo
[NEW] New Requirement: During the portal demo, Sri Hari pointed out that capturing only Email at registration leaves the sales team without a way to call a new lead directly. A Phone field was added to the self-registration flow so every new Contact captures a callable phone number.
13. Experience Builder > Register page > Self Registration form component.
14. Right panel > Added Phone as an additional field, alongside First Name, Last Name, Email.
15. Confirmed the Phone value flows into the Contact record created on successful registration.
16. Setup > Profiles > Trasol Portal > Object Settings > Contact > confirmed Phone field is Read/Edit accessible.
PHASE 4 RFQ Dashboard LWC - rfqDashboardNew
Metric cards + CSS donut chart + CSS bar chart
The main dashboard shown to portal users after login. Three metric cards summarise Total, Open, and Completed RFQs. A donut chart breaks down RFQs by sales stage and a bar chart shows submissions per month - both rendered with pure CSS, with no external charting library and no Static Resource dependency.
* Metric cards bound via @wire to RFQDashboardController.getMyDashboardData()
* Donut chart - CSS conic-gradient built dynamically from StageName groupings
* Bar chart - CSS flexbox with bar height calculated as a percentage of the monthly maximum
PHASE 5 RFQ Form LWC - rfqForm (Now With Phone)
3-step wizard, validated at every step
Step 1 now collects Company Name, Email, and Phone (added to match the same requirement applied to registration).
Step 2 collects the project requirements.
Step 3 shows a full review before final submission.
PHASE 6 Apex Controllers - RFQ Backend
Dashboard query and Opportunity creation logic
RFQDashboardController.getMyDashboardData()
* Annotated @AuraEnabled(cacheable=true) for @wire compatibility
* Resolves the logged-in user's company via their Contact, then queries Opportunities by AccountId
* Null-safe - returns an empty list rather than throwing if no Contact/Account match is found
* Declared without sharing - required because portal users have a restricted default sharing model
RFQPortalController.createRFQ()
* Accepts companyName, email, phone, and requirements as parameters
* Creates Opportunity: Name = companyName + ' - RFQ', StageName = 'Prospecting', CloseDate = today + 30
* Stores email, phone, and requirements in the Description field
* LeadSource = 'Web Portal' to track submission origin
PHASE 7 Opportunity to Account Conversion on Closed Won
Confirmed client Account created automatically when an RFQ is won
17. Identified the trigger point: Opportunity.StageName transitioning to 'Closed Won'.
18. Implemented the conversion logic so that, on Closed Won, the Account linked to the Opportunity is created (if it does not already exist) or confirmed as an active client Account.
19. Verified that existing Account data is not duplicated - the logic checks for an existing Account match before creating a new one.
20. Confirmed the converted Account remains correctly linked to the original Opportunity and Contact, preserving the full RFQ-to-client history.
PHASE 8 Enabling Standard Quotes on Opportunities
Internal team can now generate formal priced Quotes per RFQ
21. Setup > Quote Settings > Enabled Quotes for the organisation.
22. Added the Quotes related list to the Opportunity page layout so the internal team can create a Quote directly from a won or in-progress RFQ.
23. Internal team creates a Quote on the Opportunity, adds Quote Line Items with pricing, and clicks Create PDF to generate the formal document.
24. Confirmed the generated PDF appears as a File attached to the Quote, visible under the Quote's Related tab.
PHASE 9 Quote Visibility and Download for Portal Users
PortalQuoteController + portalQuoteActions LWC
The final and most recent piece of work makes the Quote visible to the client and downloadable directly from their portal dashboard - removing the need for the internal team to manually email the PDF.
PortalQuoteController.cls - Apex Backend
* getMyQuotes() - resolves the portal user's Account via their Contact's Email, then returns every Quote on every Opportunity for that Account
* For each Quote, checks whether a generated PDF File (ContentVersion) exists via ContentDocumentLink, and returns its Id if so
* getQuotePdfBase64(contentVersionId) - fetches ContentVersion.VersionData and returns it Base64-encoded for the browser to decode
* Declared without sharing, consistent with the other portal-facing controllers
portalQuoteActions LWC - Frontend
* Displays each Quote as a card: name, Quote number, linked Opportunity, status pill, and Grand Total
* Shows a Download Quote button only when a generated PDF exists for that Quote
* On click, calls getQuotePdfBase64(), converts the returned Base64 string into a Blob in the browser, and triggers a native PDF download - no server round-trip beyond the initial fetch
* Shows a friendly 'PDF not generated yet' message if the internal team has not yet clicked Create PDF on that Quote
6. Email Deliverability Fix
After self-registration was working, verification emails were not arriving. The root cause was that Developer Edition Salesforce orgs ship with email sending locked to 'System Email Only', which silently blocks all external user-facing emails.
25. Setup > Quick Find > Deliverability > Access Level > Changed from 'System Email Only' to 'All Email' > Save.
26. Setup > Quick Find > Organisation-Wide Addresses > Added Trasol Technologies with info@trasoltech.com > Verified.
27. Administration > Emails > Confirmed Send Welcome Email is ON.
7. Errors Encountered and Resolutions
Seven significant technical issues were encountered and resolved across the full build, including two new ones from the Quote download feature.
Error 1 - LWC1704: Missing resource value for @salesforce/resource/chartjs
ERR] Error: The original dashboard JS used '@salesforce/resource/chartjs', which is invalid syntax. This caused a compilation failure preventing the entire component from loading.
[FIX] Fix: Removed Chart.js entirely. Replaced with pure CSS conic-gradient (donut) and CSS flexbox (bar chart) - no Static Resource, no compilation risk.
Error 2 - Dashboard Cards Showing 0 for All Metrics
[ERR] Error: Original Apex used WHERE CreatedById = :UserInfo.getUserId(). Community portal users never directly create Opportunity records, so the query always returned zero.
[FIX] Fix: Changed the query to use AccountId via the portal user's linked Contact - also the correct pattern for multi-user company support.
Error 3 - Profile Not Appearing in Login & Registration Dropdown
[ERR] Error: The portal profile was initially created from 'Minimum Access - Salesforce' base. Standard internal profiles are filtered out of the community Login & Registration dropdown.
[FIX] Fix: Recreated the profile from 'Customer Community Login User' base and added it to Site Members first.
8. Component and Feature Status
| Component / Task | Technology | Status |
|---|---|---|
| Experience Cloud Site Created (Build Your Own LWR) | Salesforce Experience Cloud | ✅ Done |
| Trasol Portal Profile (Customer Community Login User Base) | Salesforce Setup | ✅ Done |
| Self-Registration Enabled (Account Linked) | Administration | ✅ Done |
| Login Page Branding (Dark Theme, Orange Button, Trasol Logo) | Experience Builder | ✅ Done |
| Phone Field Added to Self-Registration | Experience Builder | ✅ Done |
| Welcome Email Configuration (info@trasoltech.com) | Email Templates | ✅ Done |
| RFQ Dashboard (Metric Cards, CSS Donut & Bar Chart) | LWC + Apex | ✅ Done |
| RFQ Form (3-Step Wizard with Phone Capture) | LWC | ✅ Done |
| RFQPortalController (Opportunity Creation with Phone) | Apex | ✅ Done |
| RFQDashboardController (AccountId-Based Query) | Apex | ✅ Done |
| Email Deliverability Configuration (All Email) | Salesforce Setup | ✅ Done |
| Opportunity to Account Conversion (Closed Won) | Salesforce Automation | ✅ Done |
| Standard Quotes Enabled on Opportunities | Salesforce Setup | ✅ Done |
| Quote PDF Generation (Create PDF) | Salesforce Standard Quote | ✅ Done |
| PortalQuoteController (getMyQuotes / getQuotePdfBase64) | Apex | ✅ Done |
| portalQuoteActions (Quote List & Download Button) | LWC | ✅ Done |
| Multiple Quotes per RFQ Verified | Testing | ✅ Done |
| Closed Won to Account Conversion Verified End-to-End | Testing | ✅ Done |
9. Key Architectural Decisions
9.1 Pure CSS Charts Instead of Chart.js
Eliminates the Static Resource dependency entirely - no external files, no namespace prefix errors, no compilation risk, and full compatibility with the Experience Cloud LWR runtime.
9.2 AccountId and Contact-Email Based Queries
Both the RFQ dashboard and the Quote list resolve the logged-in portal user's company through their Contact record - by AccountId lookup for the dashboard, and by Contact.Email matching for the Quote controller (chosen after the User.ContactId tooling issue in Error 7). Either path achieves the same outcome: all users from the same company see the same shared data.
9.3 Files (ContentVersion) as the Quote PDF Source of Truth
Rather than relying on the legacy QuoteDocument.Body field - which is not populated in this org - the architecture treats the Quote PDF as a standard Salesforce File. This is both the actual behaviour of current Salesforce orgs and the more future-proof approach, since Files are the platform's general-purpose document storage going forward.
9.4 Without Sharing on All Portal-Facing Apex Controllers
RFQDashboardController, RFQPortalController, and PortalQuoteController all use without sharing. Portal users have a restricted sharing model by design - using with sharing risks SOQL silently returning zero records even when data exists. Running in system context ensures the LWC layer always receives the correct data.
10. Quick Reference
| Reference | Details |
|---|---|
| Portal Login | webleadtrasolai-dev-ed.develop.my.site.com/s/login |
| Portal Register | webleadtrasolai-dev-ed.develop.my.site.com/s/login/SelfRegister |
| Dashboard LWC | rfqDashboardNew |
| RFQ Form LWC | rfqForm |
| Quote Download LWC | portalQuoteActions |
| Dashboard Apex | RFQDashboardController.getMyDashboardData() |
| RFQ Form Apex | RFQPortalController.createRFQ() |
| Quote Apex | PortalQuoteController.getMyQuotes() / getQuotePdfBase64() |
| Email Sender | Trasol Technologies – info@trasoltech.com |
| Experience Builder | Setup → Digital Experiences → All Sites → Builder |
| Administration | Setup → Digital Experiences → All Sites → Administration |
| Deliverability | Setup → Deliverability → Access Level = All Email |
| Quote Settings | Setup → Quote Settings → Enable Quotes |
| Profile Setup | Setup → Profiles → Trasol Portal |
Trasol Client Portal - Case Study (v5)
Prepared by: Devi Prasad Patibandla | Reviewed With: Sri Hari Rathinasamy