Skip to main content

Posts

Showing posts with the label visualforce page

Latest Post

How to Set Up Two-Factor Time-Based One-Time Password (TOTP) Authentication on iPhone Without Third-Party Apps

Unlocking an additional layer of safety to your iPhone is less difficult than you might suppose. With Two-Factor Time-Based One-Time Password (TOTP) authentication, you may bolster your device's protection and other website safety without relying on 1/3-party apps. Here's how you could set it up:

Embedding a Visualforce Page in LWC & Two-Way Communication: LWC Example Codes

Introduction: In this blog post, we will explore how to embed a Visualforce page in a Lightning Web Component (LWC) and establish two-way communication between them. Visualforce pages provide powerful capabilities for building custom UIs, while LWC offers a modern and efficient framework for building Lightning Experience components. By combining the two, you can leverage the best of both worlds. We will provide example codes to illustrate the process and demonstrate how to achieve seamless integration between Visualforce pages and LWCs.

SOSL using Visualforce Page with Code Examples

Introduction: In Salesforce, SOSL (Salesforce Object Search Language) is a powerful tool for performing text-based searches across multiple objects simultaneously. When combined with a Visualforce page, SOSL allows you to create a custom search interface for your Salesforce application. In this blog post, we will explore how to use SOSL with Visualforce, along with some code examples to help you get started. Prerequisites: Before diving into the implementation, make sure you have a basic understanding of Visualforce and Salesforce Apex programming. Familiarity with SOSL and SOQL ( Salesforce Object Query Language ) will also be helpful. Step 1: Setting Up the Visualforce Page To begin, create a Visualforce page where you will build your custom search interface. Define the necessary components such as input fields, buttons, and output tables to display search results. <apex:page controller="SOSLController">     <apex:form>         <...

SLDS Progress Bar

 SLDS progress bar is a graphical representation of progress. We can show the progress bar in many ways. Here we will do that thing in two ways. 1. By using a formula field 2. Directly use in Visualforce page or Component 1. By using a formula field: Create a percentage formula field in the object. You can use the mentioned formula for reference.            CASE(PicklistValue__c,'Draft',1,'Submit',2,'In Progress',3,'Approval                               Pending',4,'Approved',5,0)/5 Use your picklist field in place of   PicklistValue__c,   replace picklist values from yours, and assign an incremental number as mentioned above. We are doing this to get the percentage of progress. Now we will move to the next step to visualize that percentage on visualforce page.  visualforce page code/ Component Code:- <div class="slds-progress-bar" aria-valu...