Posts

Showing posts from December, 2018

Salesforce Lighting - Passing Value from one attribute to another attribute while calling component

In Salesforce lightning , when we call a component we can assign the value of that component's attribute. by adding attribute name next to component name Example :                                 -------------------------------------------------------------------------------------------------------------------------

What is Getter and Setter Method in VF page

Getter and Setter Method, we use to call apex method from Ajex without using remote action or RestResource API. We can directly retrieve values in a visualforce page from Apex controller. when we are using the keyword "Get" before a variable example "getCompnayName" now "Companyname" becomes the property of visualforce page, we can get any values that stored inside the Companyname variable. In apex Controller We should declare the getter and setter property in following way 1. public String myCompany {get; set;} 2. public String getmyCompany() {    return "Everything is works"; } public String setmyCompany(String s) {  return s; } 3. public String myCompany;   public String getmyCompany() {  return this.myCompany = "Everthing works fine" } public String setmyCompany(String s) { return this.myCompany = s; } 4. public void myactionfunction()    {         myCompany = "this is my name"; ...

Salesforce DX Learning

Installation Required Software in Windows          1. Java SDK and JRE         2. GIT Repository         3. Salesforce CLI         4. Visual Studio Code  Configuration Required         Add Window's Environment Variable Path           1.C:\Program Files\Java\jdk1.8.0_144\bin;          2.C:\Users\dineshkumar.r\AppData\Roaming\npm;          3.C:\Program Files\Salesforce CLI\bin  Install Required Extantion in  Visual Studio Code           Open VS-Code Install the Following Extention for Salesforce           1.Salesforce CLI Integration           2.Apex           3.Apex Interactive Debugger           4.Apex Replay Debugger       ...

Guide to use Git Repository

$ git config --global user.name "Sam Smith" $ git config --global user.email $ git remote add origin https://github.com/USERNAME/REPOSITORY_NAME.git $ git pull origin master  $ git checkout -b "testbranch-1"  { to Change New Branch } $ git add MySuperProject/ $ git status $ git commit -m "commit message" $ git push -u origin testbranch-1 $ git fetch // to fetch latest branch

Jenkin Installation Guide for Windows User

How to install Jenkin 1 :  Install Jenkin Open source in our Computer          G o to installation location:  C:\Program Files (x86)\Jenkins         W here you will find the filename "Jenkins.war" 2 : Open the Git Bash Command Prompt  and Type following command     {   $ java -jar jenkins.war   } W ait until  Jenkin Java files run complete . 3 :   G o to the Window Service Administrator tool.         S tart the service name  “Jenkins” 4 :  Go to Browser and type   http://localhost:8080/                Install all the required plugins. 4 :  Now it will show you a password location in your computer.            Enter the password and create a Usern...