{"id":486563,"date":"2025-04-09T14:03:07","date_gmt":"2025-04-09T14:03:07","guid":{"rendered":"https:\/\/webkul.com\/blog\/?p=486563"},"modified":"2025-04-09T14:03:16","modified_gmt":"2025-04-09T14:03:16","slug":"add-lwc-component-in-dispatcher-console","status":"publish","type":"post","link":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/","title":{"rendered":"Add LWC to Dispatcher Console in Field Service Lightning"},"content":{"rendered":"\n<p>Are you looking to enhance your Salesforce Field Service Dispatcher Console with custom functionality?<\/p>\n\n\n\n<p>In this guide, we\u2019ll walk you through the steps to add a <a href=\"#addlwc\"><strong>Lightning Web Component in Dispatcher Console<\/strong><\/a>.<\/p>\n\n\n\n<p>By using Lightning Web Component, you can introduce features that go beyond the standard capabilities of the Service Lightbox in the Dispatcher console, enabling a more tailored user experience.<\/p>\n\n\n\n<p><a href=\"https:\/\/eshopsync.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Explore more solutions offered by Webkul<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the Dispatcher Console in Field Service Lightning (FSL)?<\/h2>\n\n\n\n<p>The <strong>Dispatcher Console<\/strong> in <strong>Salesforce Field Service Lightning (FSL)<\/strong> is a powerful tool designed to help dispatchers efficiently manage field operations. <\/p>\n\n\n\n<p>It provides a <strong>centralized interface<\/strong> for scheduling, optimizing, and tracking field service appointments in real-time.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Key Features of the Dispatcher Console:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Interactive Gantt Chart:<\/strong> Visualize work orders, service appointments, and resource availability on a timeline.<\/li>\n\n\n\n<li><strong>Real-Time Tracking:<\/strong> Monitor field technicians&#8217; locations and job statuses.<\/li>\n\n\n\n<li><strong>Drag-and-Drop Functionality:<\/strong> Easily adjust appointments by dragging them to different time slots or resources.<\/li>\n\n\n\n<li><strong>Map Integration:<\/strong> View technician routes and optimize travel time with <strong>geolocation features<\/strong>.<\/li>\n\n\n\n<li><strong>Alerts and Notifications:<\/strong> Receive automated alerts for scheduling conflicts, delays, or technician updates.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What is the Service Lightbox in Salesforce Field Service Lightning?<\/h2>\n\n\n\n<p>The <strong>Service Lightbox<\/strong> in <strong>Salesforce Field Service Lightning (FSL)<\/strong> is a <strong>quick-view pop-up window<\/strong>.<\/p>\n\n\n\n<p>It provides dispatchers with essential details about a <strong>service appointment<\/strong> without leaving the <strong>Dispatcher Console<\/strong>.<\/p>\n\n\n\n<p> It enhances efficiency by allowing dispatchers to review and update appointment details in real time, helping them make informed scheduling decisions.<\/p>\n\n\n\n<p>The <strong>Service Lightbox<\/strong> is a vital tool in <strong>Salesforce Field Service Lightning<\/strong>, helping organizations streamline <strong>field service management<\/strong> and improve overall <strong>service efficiency<\/strong>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"addlwc\">Add Lightning Web Component in the Custom Tab of the Service Lightbox.<\/h2>\n\n\n\n<p>A <strong>Lightning Web Component<\/strong> cannot be directly added to the<strong> Service Lightbox<\/strong> of the <strong>Dispatcher Console<\/strong>.<\/p>\n\n\n\n<p>You can easily add a <strong>Visualforce Page<\/strong> directly to the <strong>Service Lightbox<\/strong>.<\/p>\n\n\n\n<p> To make it work with modern Salesforce features, the next step is to include a Lightning Web Component inside the Visualforce Page.<\/p>\n\n\n\n<p><strong>How:\u00a0<\/strong>Adding a Lightning web component to a Visualforce page is a three-step process.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Add the Lightning Web Components for Visualforce JavaScript library to your Visualforce page using the&nbsp;<code>&lt;apex:includeLightning\/&gt;<\/code>&nbsp;component.<\/li>\n\n\n\n<li>Create and reference a standalone Aura app that declares your component dependencies.<\/li>\n\n\n\n<li>Write a JavaScript function that creates the component on the page using&nbsp;<code>$Lightning.createComponent()<\/code>.<\/li>\n<\/ul>\n\n\n\n<p><strong>How:<\/strong> Add the <strong>Visualforce Page<\/strong> in the <strong>Service Lightbox<\/strong> of the <strong>Dispatcher Console<\/strong>.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Go to the <strong>Field Service Settings<\/strong> tab in the <strong>Field Service Admin<\/strong> App.<\/li>\n\n\n\n<li>In the left navigation pane, click <strong>Dispatcher Console UI<\/strong>.<\/li>\n\n\n\n<li>Scroll down to the <strong>Dispatcher View Customizations<\/strong> section.<\/li>\n\n\n\n<li>In the <strong>Service &#8211; Custom Tab 1&nbsp;<\/strong>of the<strong> Service VisualForce pages, <\/strong>enter the name of the <strong>VisualForce<\/strong> page as <strong>c__pageName<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"536\" src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp\" alt=\"Field Service Admin app\" class=\"wp-image-488308\" srcset=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp 1200w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-300x134.webp 300w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-250x112.webp 250w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-768x343.webp 768w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-604x270.webp 604w, https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage.webp 1275w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" loading=\"lazy\" \/><\/figure>\n\n\n\n<p>The following <strong>Visualforce page<\/strong> will work as the parent for the Aura App and Lightning Web Component.<\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;apex:page showHeader=&quot;false&quot; sidebar=&quot;false&quot; standardController=&quot;ServiceAppointment&quot; extensions=&quot;FslControllerExtension&quot; lightningStylesheets=&quot;true&quot;&gt;\n&lt;apex:includeLightning \/&gt;\n&lt;div id=&quot;attachment&quot;&gt; &lt;\/div&gt;\n&lt;script&gt;\n    $Lightning.use(\n        &quot;c:fslAuraApp&quot;,\n        function() {\n            $Lightning.createComponent(\n               &quot;c:wkWorkOrderAttachments&quot;,\n                {recordId:&#039;{!serviceAppointmentID}&#039;},\n                &quot;attachment&quot;,\n                function(){\n                    console.log(&#039;component loaded&#039;);\n                }\n            );\n        }\n    );\n&lt;\/script&gt;\n&lt;\/apex:page&gt;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Apex class below serves as the controller for the Visualforce Page<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\">public with sharing class FslControllerExtension {\n    public Id serviceAppointmentID {get;set;}\n    public FslControllerExtension(ApexPages.standardController serviceApp){\n        serviceAppointmentID = serviceApp.getId();\n    }\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Aura App will be implemented like this<\/h2>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;aura:application extends=&quot;ltng:outApp&quot; access=&quot;GLOBAL&quot;&gt;\n    &lt;aura:dependency resource=&quot;wkWorkOrderAttachments&quot;&gt;&lt;\/aura:dependency&gt;\n&lt;\/aura:application&gt;<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">The Lightning Web Component will be implemented like this<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">HTML File<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">&lt;template&gt;\n    &lt;template if:true={showSpinner}&gt;\n        &lt;lightning-spinner alternative-text=&quot;Uploading...&quot; size=&quot;small&quot;&gt;&lt;\/lightning-spinner&gt;\n    &lt;\/template&gt;\n    &lt;div class=&quot;container&quot;&gt;\n        &lt;template lwc:if={showFile}&gt;\n            &lt;div class=&quot;slds-text-heading_medium&quot;&gt;\n                Attachments\n            &lt;\/div&gt;\n            &lt;div class=&quot;slds-grid slds-wrap&quot;&gt;\n                &lt;template for:each={files} for:item=&quot;file&quot;&gt;\n                    &lt;div class=&quot;slds-col slds-m-around_small slds-align_absolute-center&quot; key={file.Id}&gt;\n                        &lt;img src={file.source} alt=&quot;&quot; style=&quot;max-width: 140px;&quot;&gt;\n                    &lt;\/div&gt;\n                &lt;\/template&gt;\n            &lt;\/div&gt;\n        &lt;\/template&gt;\n        &lt;template lwc:else&gt;\n            &lt;h1&gt;No Attachments&lt;\/h1&gt;\n        &lt;\/template&gt;      \n        &lt;div class=&quot;slds-grid slds-grid_vertical&quot;&gt;\n            &lt;div class=&quot;slds-col slds-m-around_small slds-align_absolute-center&quot;&gt;\n                &lt;strong&gt;{fileName}&lt;\/strong&gt;\n                &lt;lightning-input type=&quot;file&quot; accept=&quot;.png, .jpg, .jpeg,&quot; onchange={handleFileChange}&gt;&lt;\/lightning-input&gt;\n            &lt;\/div&gt;\n            &lt;div class=&quot;slds-col slds-m-around_small slds-align_absolute-center&quot;&gt;\n                &lt;lightning-button label=&quot;Upload&quot; onclick={uploadFile} variant=&quot;brand&quot; class=&quot;s-margin-top&quot; disabled={isUploadDisabled}&gt;&lt;\/lightning-button&gt;\n                &lt;lightning-button label=&quot;Refresh View&quot; onclick={refreshView} class=&quot;slds-m-left_small&quot;&gt;&lt;\/lightning-button&gt;\n            &lt;\/div&gt;\n        &lt;\/div&gt;\n    &lt;\/div&gt;\n&lt;\/template&gt;<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Javascript File<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">import { LightningElement,api,track } from &#039;lwc&#039;;\nimport wkGetFiles from &quot;@salesforce\/apex\/FileClass.wkGetFiles&quot;;\nimport createContentVersion from &quot;@salesforce\/apex\/FileClass.createContentVersion&quot;\n\nexport default class wkWorkOrderAttachments extends LightningElement {\n    @api recordId;\n    @track files=&#091;];\n    imgList=&#091;];\n    showFile=false;\n    showSpinner=false;\n    fileName;\n    fileContent;\n    isUploadDisabled=true;\n    connectedCallback(){\n        this.getRelatedImages();\n    }\n    getRelatedImages(){\n        this.showSpinner=true;\n        wkGetFiles({linkedEntityId:this.recordId}).then(response=&gt;{\n            if(response!=null){\n                this.imgList=response;\n                for(let i=0;i&lt;this.imgList.length;i++){\n                    let image = {\n                        Id: this.imgList&#091;i].Id,\n                        Title: this.imgList&#091;i].Title,\n                        source:window.location.origin + &quot;\/sfc\/servlet.shepherd\/version\/renditionDownload?rendition=THUMB720BY480&amp;versionId=&quot; +this.imgList&#091;i].Id +&quot;&amp;operationContext=CHATTER&amp;contentId=&quot; +this.imgList&#091;i].ContentDocumentId\n                      };\n                      this.files.push(image);\n                }\n            }\n            this.showFile=true;\n            this.showSpinner=false;\n        })\n    }\n    handleFileChange(event){\n        const file = event.target.files&#091;0];\n        if (file) {\n            this.fileName = file.name;\n            const reader = new FileReader();\n            reader.onload = () =&gt; {\n                const base64 = reader.result.split(&#039;,&#039;)&#091;1];\n                this.fileContent = base64;\n                this.isUploadDisabled = false;\n            };\n            reader.readAsDataURL(file);\n        }\n    }\n    async uploadFile() {\n        if (this.fileContent &amp;&amp; this.fileName) {\n            this.showSpinner = true;\n            try {\n                const result = await createContentVersion({\n                    fileName: this.fileName,\n                    base64Data: this.fileContent,\n                    parentId: this.recordId,\n                });\n                this.uploadedFileId = result;\n                this.showSpinner = false;\n                this.isUploadDisabled = true;\n                this.files=new Array();\n                this.fileContent=null;\n                this.fileName=null;\n                this.connectedCallback();\n            } catch (error) {\n                this.showSpinner = false;\n            }\n        }\n    }\n    refreshView(){\n        this.isUploadDisabled = true;\n        this.files=new Array();\n        this.fileContent=null;\n        this.fileName=null;\n        this.connectedCallback();\n    }\n}<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">The Apex class below serves as the controller for the Lightning Web Component<\/h3>\n\n\n\n<pre class=\"EnlighterJSRAW\">public with sharing class FileClass {\n    \/**\n    * @description Method to retrieve the related images\n    * @param linkedEntityId the Salesforce recordId\n    * @return  `List&lt;ContentVersion&gt;` List of related images\n    *\/\n    @AuraEnabled\n    public static List&lt;ContentVersion&gt; wkGetFiles(String linkedEntityId){\n        List&lt;String&gt; fileTypes=new List&lt;String&gt;{&#039;JPEG&#039;,&#039;JPG&#039;,&#039;PNG&#039;};\n        Set&lt;Id&gt; contentDocumentIds = new Set&lt;Id&gt;();\n        for (ContentDocumentLink link : &#091;\n            SELECT ContentDocumentId\n            FROM ContentDocumentLink\n            WHERE LinkedEntityId =:linkedEntityId\n        ]) {\n            contentDocumentIds.add(link.ContentDocumentId);\n        }\n        return &#091;\n            SELECT Id, Title, ContentDocumentId, FileType, VersionData\n            FROM ContentVersion\n            WHERE ContentDocumentId IN :contentDocumentIds\n            AND IsLatest = true AND FileType IN:fileTypes ORDER BY CreatedDate Asc\n        ];\n    }\n    \/**\n     * @description Method to create ContentVersion records\n     * @param fileName Name of the file\n     * @param base64Data the image converted to base64 \n     * @param parentId RecordId of the related record\n     * @return  `String` record Id of the inserted\n     * @exception \n     *\/\n    @AuraEnabled\n    public static String createContentVersion(String fileName, String base64Data, String parentId) {\n        try {\n            \/\/ Decode the base64 string\n            Blob fileBody = EncodingUtil.base64Decode(base64Data);\n            \/\/ Create the ContentVersion record\n            ContentVersion contentVersion = new ContentVersion();\n            contentVersion.Title = fileName;\n            contentVersion.PathOnClient = fileName;\n            contentVersion.VersionData = fileBody;\n            if (String.isNotBlank(parentId)) {\n                contentVersion.FirstPublishLocationId = parentId; \/\/ Link to a record (optional)\n            }\n            insert contentVersion;\n            \/\/ Return the Id of the created ContentDocument\n            return contentVersion.Id;\n        } catch (Exception e) {\n            throw new AuraHandledException(&#039;Error uploading file: &#039; + e.getMessage());\n        }\n    }\n}<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Use Case: Enhancing Service Appointment Management with Lightning Web Component.<\/h2>\n\n\n\n<p>Imagine using a\u00a0<strong>Lightning Web Component<\/strong>\u00a0that allows\u00a0<strong>Dispatchers<\/strong> to effortlessly upload and view images related to a <strong>Service Appointment<\/strong>.<\/p>\n\n\n\n<p>This feature streamlines <strong>Service Appointment<\/strong> management, enabling <strong>Dispatchers<\/strong> to document and access visual information directly within the\u00a0<strong>Dispatcher Console<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"616\" style=\"aspect-ratio: 1280 \/ 616;\" width=\"1280\" autoplay loop muted src=\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladd-2.mp4\" playsinline><\/video><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The <strong>Dispatcher Console<\/strong> is a game-changer for companies using <strong>Salesforce Field Service Lightning<\/strong>, helping them streamline operations and improve field service performance.<\/p>\n\n\n\n<p>It helps <strong>Dispatchers<\/strong> efficiently assign <strong>service appointments<\/strong>, track job progress in real time, and manage schedule changes with an easy drag-and-drop interface.<\/p>\n\n\n\n<p> Designed to optimize field service operations, it enhances workforce scheduling and resource management for faster, smarter service delivery.<\/p>\n\n\n\n<p>Additionally, Lightning Web Component enables users to add custom features that extends capabilities of the <strong>Dispatcher Console<\/strong> in Field Service.<\/p>\n\n\n\n<p>For any queries regarding Field Service Lightning or personalized solutions, contact our expert&nbsp;<a href=\"https:\/\/webkul.com\/Salesforce-consulting-services\/\">Salesforce Consultants<\/a>&nbsp;at&nbsp;<a href=\"mailto:support@webkul.com\">support@webkul.com<\/a>&nbsp;or via&nbsp;<a href=\"https:\/\/eshopsync.com\/\">Live Chat<\/a>.<\/p>\n\n\n\n<p>Our team is available year-round to provide customized solutions tailored to your business needs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Are you looking to enhance your Salesforce Field Service Dispatcher Console with custom functionality? In this guide, we\u2019ll walk you through the steps to add a Lightning Web Component in Dispatcher Console. By using Lightning Web Component, you can introduce features that go beyond the standard capabilities of the Service Lightbox in the Dispatcher console, <a href=\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\">[&#8230;]<\/a><\/p>\n","protected":false},"author":648,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1887],"tags":[15636,1885],"class_list":["post-486563","post","type-post","status-publish","format-standard","hentry","category-salesforce","tag-field-service-lightning","tag-salesforce"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog<\/title>\n<meta name=\"description\" content=\"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog\" \/>\n<meta property=\"og:description\" content=\"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\" \/>\n<meta property=\"og:site_name\" content=\"Webkul Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webkul\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-09T14:03:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-09T14:03:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp\" \/>\n<meta name=\"author\" content=\"Apar Jaggi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webkul\" \/>\n<meta name=\"twitter:site\" content=\"@webkul\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Apar Jaggi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\"},\"author\":{\"name\":\"Apar Jaggi\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f2ea5ac2c68afd6c2e2e7038a8e4154b\"},\"headline\":\"Add LWC to Dispatcher Console in Field Service Lightning\",\"datePublished\":\"2025-04-09T14:03:07+00:00\",\"dateModified\":\"2025-04-09T14:03:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\"},\"wordCount\":695,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp\",\"keywords\":[\"Field Service Lightning\",\"Salesforce\"],\"articleSection\":[\"Salesforce\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\",\"url\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\",\"name\":\"Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog\",\"isPartOf\":{\"@id\":\"https:\/\/webkul.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp\",\"datePublished\":\"2025-04-09T14:03:07+00:00\",\"dateModified\":\"2025-04-09T14:03:16+00:00\",\"description\":\"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.\",\"breadcrumb\":{\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage.webp\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage.webp\",\"width\":1275,\"height\":570},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/webkul.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Add LWC to Dispatcher Console in Field Service Lightning\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/webkul.com\/blog\/#website\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"name\":\"Webkul Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/webkul.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/webkul.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/webkul.com\/blog\/#organization\",\"name\":\"WebKul Software Private Limited\",\"url\":\"https:\/\/webkul.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"contentUrl\":\"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png\",\"width\":380,\"height\":380,\"caption\":\"WebKul Software Private Limited\"},\"image\":{\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webkul\/\",\"https:\/\/x.com\/webkul\",\"https:\/\/www.instagram.com\/webkul\/\",\"https:\/\/www.linkedin.com\/company\/webkul\",\"https:\/\/www.youtube.com\/user\/webkul\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/f2ea5ac2c68afd6c2e2e7038a8e4154b\",\"name\":\"Apar Jaggi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/ff599dae70d27cfff4f3ef6466a54f36941f3eac8ce888804a74820960be48a6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/ff599dae70d27cfff4f3ef6466a54f36941f3eac8ce888804a74820960be48a6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g\",\"caption\":\"Apar Jaggi\"},\"description\":\"Apar specializes in Salesforce development with expertise in Lightning Web Components, Aura Components, Apex, SOQL, and Field Service Lightning. Delivers precise, high-quality solutions to meet each customer&rsquo;s unique needs.\",\"sameAs\":[\"https:\/\/www.linkedin.com\/in\/apar-jaggi-1bb71a193\/\"],\"url\":\"https:\/\/webkul.com\/blog\/author\/aparjaggi-sf650\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog","description":"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/","og_locale":"en_US","og_type":"article","og_title":"Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog","og_description":"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.","og_url":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/","og_site_name":"Webkul Blog","article_publisher":"https:\/\/www.facebook.com\/webkul\/","article_published_time":"2025-04-09T14:03:07+00:00","article_modified_time":"2025-04-09T14:03:16+00:00","og_image":[{"url":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp","type":"","width":"","height":""}],"author":"Apar Jaggi","twitter_card":"summary_large_image","twitter_creator":"@webkul","twitter_site":"@webkul","twitter_misc":{"Written by":"Apar Jaggi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#article","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/"},"author":{"name":"Apar Jaggi","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f2ea5ac2c68afd6c2e2e7038a8e4154b"},"headline":"Add LWC to Dispatcher Console in Field Service Lightning","datePublished":"2025-04-09T14:03:07+00:00","dateModified":"2025-04-09T14:03:16+00:00","mainEntityOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/"},"wordCount":695,"commentCount":0,"publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp","keywords":["Field Service Lightning","Salesforce"],"articleSection":["Salesforce"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/","url":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/","name":"Add LWC to Dispatcher Console in Field Service Lightning - Webkul Blog","isPartOf":{"@id":"https:\/\/webkul.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage"},"image":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage"},"thumbnailUrl":"https:\/\/webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage-1200x536.webp","datePublished":"2025-04-09T14:03:07+00:00","dateModified":"2025-04-09T14:03:16+00:00","description":"Enhance your Salesforce Field Service Dispatcher Console with custom functionality using Lightning Web Components.","breadcrumb":{"@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#primaryimage","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage.webp","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2025\/04\/fsladminpage.webp","width":1275,"height":570},{"@type":"BreadcrumbList","@id":"https:\/\/webkul.com\/blog\/add-lwc-component-in-dispatcher-console\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/webkul.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Add LWC to Dispatcher Console in Field Service Lightning"}]},{"@type":"WebSite","@id":"https:\/\/webkul.com\/blog\/#website","url":"https:\/\/webkul.com\/blog\/","name":"Webkul Blog","description":"","publisher":{"@id":"https:\/\/webkul.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/webkul.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/webkul.com\/blog\/#organization","name":"WebKul Software Private Limited","url":"https:\/\/webkul.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","contentUrl":"https:\/\/cdnblog.webkul.com\/blog\/wp-content\/uploads\/2021\/08\/webkul-logo-accent-sq.png","width":380,"height":380,"caption":"WebKul Software Private Limited"},"image":{"@id":"https:\/\/webkul.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webkul\/","https:\/\/x.com\/webkul","https:\/\/www.instagram.com\/webkul\/","https:\/\/www.linkedin.com\/company\/webkul","https:\/\/www.youtube.com\/user\/webkul\/"]},{"@type":"Person","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/f2ea5ac2c68afd6c2e2e7038a8e4154b","name":"Apar Jaggi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/webkul.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/ff599dae70d27cfff4f3ef6466a54f36941f3eac8ce888804a74820960be48a6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ff599dae70d27cfff4f3ef6466a54f36941f3eac8ce888804a74820960be48a6?s=96&d=https%3A%2F%2Fcdnblog.webkul.com%2Fblog%2Fwp-content%2Fuploads%2F2019%2F10%2Fmike.png&r=g","caption":"Apar Jaggi"},"description":"Apar specializes in Salesforce development with expertise in Lightning Web Components, Aura Components, Apex, SOQL, and Field Service Lightning. Delivers precise, high-quality solutions to meet each customer&rsquo;s unique needs.","sameAs":["https:\/\/www.linkedin.com\/in\/apar-jaggi-1bb71a193\/"],"url":"https:\/\/webkul.com\/blog\/author\/aparjaggi-sf650\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/486563","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/users\/648"}],"replies":[{"embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/comments?post=486563"}],"version-history":[{"count":40,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/486563\/revisions"}],"predecessor-version":[{"id":488373,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/posts\/486563\/revisions\/488373"}],"wp:attachment":[{"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/media?parent=486563"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/categories?post=486563"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webkul.com\/blog\/wp-json\/wp\/v2\/tags?post=486563"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}