-
ChatterFeed
-
0Best Answers
-
2Likes Received
-
0Likes Given
-
11Questions
-
6Replies
potential duplicates in lightning
Its possible to match duplicate contacts for corresponding account for merge in salesforce lightning ?
-
- Balajee Selvaraj
- May 21, 2018
- Like
- 0
- Continue reading or reply
Lightning component refresh from child component to parent component.
Hi All,
I am having 2 Lightning Component.
Lightning Component - A having Button.
If I am clicking on the button in Lightning Component - A. Lightning Component - B should refresh.
Do you have any sample codes please post below.
I am having 2 Lightning Component.
Lightning Component - A having Button.
If I am clicking on the button in Lightning Component - A. Lightning Component - B should refresh.
Do you have any sample codes please post below.
-
- Balajee Selvaraj
- April 26, 2018
- Like
- 2
- Continue reading or reply
How to use get set cookies in lightning components ?
ApexPages.currentPage(). setCookies(new Cookie[] { userCookie ...}) is not working in lightning component any workaround for this ?
-
- Balajee Selvaraj
- January 29, 2018
- Like
- 0
- Continue reading or reply
Apex Batch
Hi all, I have many account records in my org. If i run a batch like conditions each account have Account History child relationship, Two users are there in my org User1 and User2. If user2 any update in any account record i have an checkbox in contact should check.
-
- Balajee Selvaraj
- June 17, 2017
- Like
- 0
- Continue reading or reply
Google Maps In Salesforce Visualforce page
I have to display all Account addresses in google maps based on my geolocation(current location) in VF page.
-
- Balajee Selvaraj
- June 02, 2017
- Like
- 0
- Continue reading or reply
Apex Find User
Hi Guys,
I struck with Two sceanrios
Senarion 1:
In Account Standard obj there is a object called Account History.
I ahve three user A,B,C.
If the account is only created or edited by 'A'
system.debug('Valid');
If the account is only created or edited by 'A','B','C'
system.debug('INValid');
Scenario 2:
IF Account A having Notes and Attachmnets.
I wana populate all Account releated list in Account 'A' to Account 'B'
I struck with Two sceanrios
Senarion 1:
In Account Standard obj there is a object called Account History.
I ahve three user A,B,C.
If the account is only created or edited by 'A'
system.debug('Valid');
If the account is only created or edited by 'A','B','C'
system.debug('INValid');
Scenario 2:
IF Account A having Notes and Attachmnets.
I wana populate all Account releated list in Account 'A' to Account 'B'
-
- Balajee Selvaraj
- June 02, 2017
- Like
- 0
- Continue reading or reply
Test Class for batch
for(Database.error err : sr.getErrors()) {
customfiled__C='failed';
}
I cannot able to cover this line please help me!
Thanks!
customfiled__C='failed';
}
I cannot able to cover this line please help me!
Thanks!
-
- Balajee Selvaraj
- February 27, 2017
- Like
- 0
- Continue reading or reply
Export salesforce object into excel sheet
1) I have Product__c custom object.
2) I have Custom fields in this custom obj like Id__c,Name__c,Price__c.
3) If I click a button in Vf page a excel should be downloaded with Product__c custom object (record fields)
Thanks & regards
Balajee.S
2) I have Custom fields in this custom obj like Id__c,Name__c,Price__c.
3) If I click a button in Vf page a excel should be downloaded with Product__c custom object (record fields)
Thanks & regards
Balajee.S
-
- Balajee Selvaraj
- February 22, 2017
- Like
- 0
- Continue reading or reply
Database.update()
I have two methods in apex class called A and B.
A method have custom custom object called custom_obj.
B method hvae Standartd object called account.
If Account have dml operations dabase.update or dabase.delete, It should capture error message in exception and this error message should update in salesfoce custom_obj which is in method A.
Please answer me Freinds.
A method have custom custom object called custom_obj.
B method hvae Standartd object called account.
If Account have dml operations dabase.update or dabase.delete, It should capture error message in exception and this error message should update in salesfoce custom_obj which is in method A.
Please answer me Freinds.
-
- Balajee Selvaraj
- February 06, 2017
- Like
- 0
- Continue reading or reply
Error: Compile Error: Method does not exist or incorrect signature: search.query(String) at line 13 column 38
My contorller is:
Public with sharing class soqlExpController{
Public List<contact> conList{get;set;}
Public List<account> accList{get;set;}
Public String Keyword{get;set;}
Public soqlExpController(){
}
Public void soslDemo_method(){
conList = New List<contact>();
accList = New List<account>();
String searchStr1 = '*'+keyword+'*';
String searchQuery = 'FIND \'' +searchStr1+ '*\' IN ALL FIELDS RETURNING Account (Id,Name,type),Contact(name,email)';
List<List <sObject>> searchList = search.query(searchQuery);
accList = ((List<Account>)searchList[0]);
conList = ((List<contact>)searchList[1]);
}
}
MY VF page is:
<apex:page controller="soqlExpController">
<apex:form >
<apex:inputText value="{!keyword}"/>
<apex:commandButton value="Show records using SOSL" action="{!soslDemo_method}"/>
<apex:pageBlock title="Accounts">
<apex:pageblockTable value="{!accList }" var="acc">
<apex:column value="{!acc.name}"/>
<apex:column value="{!acc.Type}"/>
</apex:pageblockTable>
</apex:pageBlock>
<apex:pageBlock title="Contacts">
<apex:pageblockTable value="{!conList}" var="con">
<apex:column value="{!con.name}"/>
<apex:column value="{!con.email}"/>
</apex:pageblockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
Public with sharing class soqlExpController{
Public List<contact> conList{get;set;}
Public List<account> accList{get;set;}
Public String Keyword{get;set;}
Public soqlExpController(){
}
Public void soslDemo_method(){
conList = New List<contact>();
accList = New List<account>();
String searchStr1 = '*'+keyword+'*';
String searchQuery = 'FIND \'' +searchStr1+ '*\' IN ALL FIELDS RETURNING Account (Id,Name,type),Contact(name,email)';
List<List <sObject>> searchList = search.query(searchQuery);
accList = ((List<Account>)searchList[0]);
conList = ((List<contact>)searchList[1]);
}
}
MY VF page is:
<apex:page controller="soqlExpController">
<apex:form >
<apex:inputText value="{!keyword}"/>
<apex:commandButton value="Show records using SOSL" action="{!soslDemo_method}"/>
<apex:pageBlock title="Accounts">
<apex:pageblockTable value="{!accList }" var="acc">
<apex:column value="{!acc.name}"/>
<apex:column value="{!acc.Type}"/>
</apex:pageblockTable>
</apex:pageBlock>
<apex:pageBlock title="Contacts">
<apex:pageblockTable value="{!conList}" var="con">
<apex:column value="{!con.name}"/>
<apex:column value="{!con.email}"/>
</apex:pageblockTable>
</apex:pageBlock>
</apex:form>
</apex:page>
-
- Balajee Selvaraj
- November 10, 2016
- Like
- 0
- Continue reading or reply
Report Display In Home Page
Based on Annual revanue(Reports) Top 10 Accounts should display in Home Page.
Can any one help me on this.
Thanks & Regards,
Balajee
Can any one help me on this.
Thanks & Regards,
Balajee
-
- Balajee Selvaraj
- October 07, 2016
- Like
- 0
- Continue reading or reply
Lightning component refresh from child component to parent component.
Hi All,
I am having 2 Lightning Component.
Lightning Component - A having Button.
If I am clicking on the button in Lightning Component - A. Lightning Component - B should refresh.
Do you have any sample codes please post below.
I am having 2 Lightning Component.
Lightning Component - A having Button.
If I am clicking on the button in Lightning Component - A. Lightning Component - B should refresh.
Do you have any sample codes please post below.
-
- Balajee Selvaraj
- April 26, 2018
- Like
- 2
- Continue reading or reply
potential duplicates in lightning
Its possible to match duplicate contacts for corresponding account for merge in salesforce lightning ?
- Balajee Selvaraj
- May 21, 2018
- Like
- 0
- Continue reading or reply
Google Maps In Salesforce Visualforce page
I have to display all Account addresses in google maps based on my geolocation(current location) in VF page.
- Balajee Selvaraj
- June 02, 2017
- Like
- 0
- Continue reading or reply
Database.update()
I have two methods in apex class called A and B.
A method have custom custom object called custom_obj.
B method hvae Standartd object called account.
If Account have dml operations dabase.update or dabase.delete, It should capture error message in exception and this error message should update in salesfoce custom_obj which is in method A.
Please answer me Freinds.
A method have custom custom object called custom_obj.
B method hvae Standartd object called account.
If Account have dml operations dabase.update or dabase.delete, It should capture error message in exception and this error message should update in salesfoce custom_obj which is in method A.
Please answer me Freinds.
- Balajee Selvaraj
- February 06, 2017
- Like
- 0
- Continue reading or reply
Report Display In Home Page
Based on Annual revanue(Reports) Top 10 Accounts should display in Home Page.
Can any one help me on this.
Thanks & Regards,
Balajee
Can any one help me on this.
Thanks & Regards,
Balajee
- Balajee Selvaraj
- October 07, 2016
- Like
- 0
- Continue reading or reply