Custom message Salesforce Chat Window
Sample code: <apex:page showHeader="false"> <style> #liveAgentClientChat.liveAgentStateWaiting { font-weight: bold; font-size: 30px; } body { overflow: hidden; width: 100%; height: ....
Sample code: <apex:page showHeader="false"> <style> #liveAgentClientChat.liveAgentStateWaiting { font-weight: bold; font-size: 30px; } body { overflow: hidden; width: 100%; height: ....
1. Enable Skills-Based Routing under Omni-Channel Settings. 2. Create a Custom Field in Chat Transcript object. I have created Skill__c(Picklist field) to route chats based on the Skill selection. 3. ....
Sample Pre-Chat Visualforce Page Code: <apex:page showHeader="false" standardStylesheets="false" sidebar="false" title="Pre-Chat Form" cache="false"> <!-- form id should be used in getElementById() --> <script type="text/javascript"> (function() { function ....
Visualforce Page: <apex:page controller="CommunityPageController"> Logged in As User? {!loggedInAsUserBool} </apex:page> Apex Controller: public class CommunityPageController { public Boolean loggedInAsUserBool { get; set; } ....
We have to use iFrame tag to display the Visualforce page and set supportsPopOut attribute to false in the Lightning Aura Component to hide Pop Out when displaying Visualforce page ....
Sample Code:<apex:page standardController="Account"> <apex:includeScript value="/support/console/51.0/integration.js"/> <script type="text/javascript"> var recordIdForSubTab; var recordNameForSubTab; function openAsSubTab( recId, recName ) { recordIdForSubTab = recId; recordNameForSubTab = recName; sforce.console.getEnclosingPrimaryTabId( openSubtab ); ....
Note: Use apex:outputField to consider using User's locale(currency and date format). Visualforce Page: <apex:page controller="Sample"> <apex:pageBlock > <apex:pageBlockTable value="{!listAcc}" var="acc"> <apex:column value="{!acc.Name}"/> <apex:column value="{!acc.Industry}"/> <apex:column ....
disableTabClose() prevents a user from closing a tab or a subtab. If the ID parameter doesn’t specify a tab, the enclosing tab is used. You can also use this method ....
1. Sample VF page for Account object. <apex:page standardController="Account"> Account Edit Page </apex:page> 2. Edit button in Account object. Output:
Syntax:{!$CurrentPage.parameters.Paramtervalue}Help Article - https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_variables_global_currentpage.htmSample Code:<apex:page > {!$CurrentPage.parameters.recId}<br/> {!$CurrentPage.parameters.checkBool} </apex:page> Syntax: