Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View akashsenger's full-sized avatar

Akash Senger akashsenger

View GitHub Profile
@akashsenger
akashsenger / Convert Vf Page into Lightning
Created April 8, 2019 08:31
Convert Vf Page into Lightning
<apex:page standardController="Case" extensions="CaseController" standardStylesheets="{!IsClassic}" LightningStylesheets="{! !IsClassic}">
<apex:outputPanel rendered="{! !IsClassic}">
<apex:slds />
<style>
body .bPageBlock .detailList .dataCol {
margin-bottom: 0rem !important;
margin-top: 0rem !important;
padding-top: 0rem !important;
@akashsenger
akashsenger / Sample Call Center Definition File
Created February 16, 2018 11:21
Sample Call Center Definition File
<callCenter>
<section sortOrder="0" name="reqGeneralInfo" label="General Information">
<item sortOrder="0" name="reqInternalName" label="InternalName">OpenCTI</item>
<item sortOrder="1" name="reqDisplayName" label="Display Name">OpenCTI</item>
<item sortOrder="2" name="reqAdapterUrl" label="CTI Adapter URL">https://domain:port/softphone</item>
<item sortOrder="3" name="reqUseApi" label="Use CTI API">true</item>
<item sortOrder="4" name="reqSoftphoneHeight" label="Softphone Height">300</item>
<item sortOrder="5" name="reqSoftphoneWidth" label="Softphone Width">500</item>
<item sortOrder="6" name="reqSalesforceCompatibilityMode" label="Salesforce Compatibility Mode">Lightning</item>
</section>