-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
58Questions
-
11Replies
How to count the number of records on opportunity associated with on Account ?
How to count the number of records on opportunity associated with on Account ? pls give me exammple ,
kindly help me on this
viswsanath
-
- viswsanath
- January 08, 2017
- Like
- 0
- Continue reading or reply
How to get list of partner roles where portal users are disabled(instead of deactivated)
How to get list of partner roles where portal users are disabled(instead of deactivated), Could you please help me .
Regards,
Viswa
-
- viswsanath
- September 13, 2016
- Like
- 0
- Continue reading or reply
Hi All, i need domenstrate on sales cloud life cycle ,service cloud life cycle and markating life cycle ?
i need domenstrate on sales cloud life cycle ,service cloud life cycle and markating life cycle ?
Regards,
Viswa .
-
- viswsanath
- December 23, 2015
- Like
- 0
- Continue reading or reply
Hi All, is it possible we can write a soql querys in test class
is it possible we can write a soql querys in test class .
Regards,
Viswa:)
-
- viswsanath
- December 23, 2015
- Like
- 0
- Continue reading or reply
Hi Friends,
By using soql we can retrieve the records 50,000, Now i have 60,000 records how to i can achive this.
Viswam.
-
- viswsanath
- December 18, 2015
- Like
- 0
- Continue reading or reply
How many external id 's we have on each object in dataloder ?
How many external id 's we have on each object in dataloder ?
Regards, viswa
-
- viswsanath
- December 10, 2015
- Like
- 0
- Continue reading or reply
How to we can create the records for batch wise on batch apex class ?
I have 10000 records, then How to we can create the records for batch wise on batch apex class.
Kindly help me on this with example code .
Regards,
Thanks.
-
- viswsanath
- December 06, 2015
- Like
- 0
- Continue reading or reply
What kind of situation we are using these Condtion
PFB Condtion, i have totaly confuise on this two condtion , What kind of situation we are using on this two condtion,so any one please explain me.
Public Class list<account> acc {get;set;}
public List<Account> accts = new List<Account>();
Regards,
viswa
-
- viswsanath
- December 04, 2015
- Like
- 0
- Continue reading or reply
How to refresh an excting sand box in production?
How to refresh an excting sand box in production? i Need the process step by step ..Kindly don't share the lync .
Any one can help me .
Regards,
viswa
-
- viswsanath
- November 27, 2015
- Like
- 0
- Continue reading or reply
when we want to export data into sf from apex data loader which option should be enable in profile
when we want to export data into sf from apex data loader which option should be enable in profile?
Thanks,
viswa.
-
- viswsanath
- November 06, 2015
- Like
- 0
- Continue reading or reply
The class is scheduled to run at 8 AM, on the 13th of February
Am new to schedule apex class . requirement is The class is scheduled to run at 8 AM, on the 13th of February. but i got below this error.
Any body can help me. why did i came this error . can you please explain me .
Error :Compile Error: Invalid type: mergeNumbers at line 5 column 27
global class scheduledMerge implements Schedulable {
global void execute(SchedulableContext SC) {
mergeNumbers M = new mergeNumbers();
String sch = '0 0 8 13 2 ?';
String jobID = system.schedule('Merge Job', sch, m);
}
}
Thanks,
Viswa.
-
- viswsanath
- November 06, 2015
- Like
- 0
- Continue reading or reply
How to handle more records in background process in Batch apex?
I have no idea on batchapex , Any one can be explain me on how to handle bulk records in background process in batch apex?
Regards,
Viswa.
-
- viswsanath
- November 04, 2015
- Like
- 0
- Continue reading or reply
-
- viswsanath
- October 20, 2015
- Like
- 0
- Continue reading or reply
How to we will give the session to login page?
I have created one login page ,now i would be given the session to the page after 10 mins it goes to session expire (Logout)?
How to we will write the code in va page and apex class , please help me any one .
Thanks,
Viswa
-
- viswsanath
- July 28, 2015
- Like
- 0
- Continue reading or reply
Apex Test class
Can you pls help me any one .i
Here , below i had updated the apex class and test Classs .Now am i tryed to test class.but i got this error near at Constructor .
This is error : [Error] Error: Compile Error: Constructor not defined: [sortpage].<Constructor>() at line 15 column 15
public class sortpage
{
Public List<Account> accList{get; set;}
public boolean Column1Sort{get;set;}
public boolean Column2Sort{get;set;}
public boolean SortAscending{get;set;}
public boolean SortDescending{get;set;}
public string orderBy{get;set;}
private String orderByAscDesc {get;set;}
public sortpage(ApexPages.StandardController controller)
{
Column1Sort = true;
Column2Sort = false;
orderByAscDesc = 'DESC';
doQuery();
}
public void doQuery()
{
String Q = 'SELECT Name, Phone FROM Account ORDER BY ';
if(Column1Sort)
{
Q = Q + 'Name ';
}
else if(Column2Sort)
{
Q = Q + ' Phone ';
}
Q = Q + ' ' + orderByAscDesc;
accList = Database.query(Q);
}
public pageReference sortByColumn1()
{
Column1Sort = true;
Column2Sort = false;
return sortByValue('Column1');
}
public pageReference sortByColumn2()
{
Column1Sort = false;
Column2Sort = true;
return sortByValue('Column2');
}
private pageReference sortByValue(string value)
{
SortAscending = false;
SortDescending = false;
if(orderBy == value)
{
if(orderByAscDesc == 'Asc')
{
orderByAscDesc = 'Desc';
SortDescending = true;
}
else
{
orderByAscDesc = 'Asc';
SortAscending = true;
}
}
else
{
orderByAscDesc = 'Asc';
SortAscending = true;
}
orderBy = value;
doQuery();
return null;
}
}
TEST CLASS
@istest
public class sortpage_test
{
static testmethod void testsortpage()
{
List<Account> acc = new List<Account>();
Account a=new Account();
a.name='test name';
acc.add(a);
insert acc;
/* sortpage srt=new sortpage();
srt.doQuery();
srt.sortByColumn1();
srt.sortByColumn2();
srt.sortByValue();*/
ApexPages.StandardController sc = new ApexPages.StandardController(a);
sortpage testAccPlan = new sortpage(sc);
}
}
Thanks,
Viswa
-
- viswsanath
- July 09, 2015
- Like
- 0
- Continue reading or reply
what are the main advantages and disadvantages in salesforce ?
what are the main advantages and disadvantages in salesforce ?
What are the future in salesforce ?
Can you pls any one help me ?
Thanks,
Viswa.
-
- viswsanath
- June 03, 2015
- Like
- 0
- Continue reading or reply
How to call controller method from visualforce page ?
How to call controller method from visualforce page ?Pls Give me one example?
Thanks,
Viswa.
-
- viswsanath
- March 29, 2015
- Like
- 0
- Continue reading or reply
whenever we can write 2 triggers on one account it is possible, if possible how to run 1st trigger,2nd trigger?
whenever we can write 2 triggers on one account it is possible, if possible how to run 1st trigger,2nd trigger? pls explain me .
Thanks,
Viswa
-
- viswsanath
- March 28, 2015
- Like
- 0
- Continue reading or reply
How to get list of partner roles where portal users are disabled(instead of deactivated)
How to get list of partner roles where portal users are disabled(instead of deactivated), Could you please help me .
Regards,
Viswa
- viswsanath
- September 13, 2016
- Like
- 0
- Continue reading or reply
Hi All, is it possible we can write a soql querys in test class
is it possible we can write a soql querys in test class .
Regards,
Viswa:)
- viswsanath
- December 23, 2015
- Like
- 0
- Continue reading or reply
How to get popup box for custom button in VF Page
What is the difference between Controller and Extension ?
I want to get popup box for custom button in VF Page. I searched in google, it is saying like popup code should be write in Extension controller. Can we write code in controller for dispaly the pupup box ?
Thanks in Advance
Thulasi
- B Tulasi
- December 23, 2015
- Like
- 0
- Continue reading or reply
How to refresh an excting sand box in production?
How to refresh an excting sand box in production? i Need the process step by step ..Kindly don't share the lync .
Any one can help me .
Regards,
viswa
- viswsanath
- November 27, 2015
- Like
- 0
- Continue reading or reply
why did we are mention @symbol in test class and also why did we have mentioned istest(seealldata=true ) in test class ?Could you pls expalin me ?what is the reason ?
why did we are mention @symbol in test class and also why did we have mentioned istest(seealldata=true ) in test class ?Could you pls expalin me ?what is the reason ?
Thanks,
Viswa.
- viswsanath
- March 26, 2015
- Like
- 0
- Continue reading or reply
Error: Compile Error: Illegal assignment from Map<Id,Contact> to Map<Id,viswa.Contact> at line 3 column 5
HI ALL
I got the below error canu pls resolve me .
Error: Compile Error: Illegal assignment from Map<Id,Contact> to Map<Id,viswa.Contact> at line 3 column 5
trigger Email_Check_On_Contact on Contact (before update) {
Map<Id,Contact> o = new Map<Id,Contact>();
o = trigger.oldMap;
for(Contact newcont: trigger.new)
{
if(newcont.Email != o.get(newcont.Id).Email)
{
newcont.Email.addError('Email cannot be changed');
}
}
}
- viswsanath
- March 15, 2015
- Like
- 0
- Continue reading or reply
- viswsanath
- November 19, 2013
- Like
- 0
- Continue reading or reply
- ShravanKumarBagam
- July 26, 2012
- Like
- 0
- Continue reading or reply
How to customise an Account page
I have created a custom page for account . How do i get the detail of the account like the full description page as we click on the normal companies page in account Page
Regards
Punnoose
- punnoose
- July 26, 2012
- Like
- 0
- Continue reading or reply
How to refresh the page when we use the pagination
Hi,
How to refresh the page when we use the pagination. I am having the search funtionality in vf page. If we search, it will dispalys the list of records and if we click on that record it will open the onesecion of data with pagination. And in the same page i have keep the edit link, if we click on the edit it will open the records in editable mode and if we update the value, it will saves in back end and it does not shows me when in vf page first time. If i click on next and then click on previous links it will shows the value. How can i refresh the particualr record which i have edited when i am haivng the pagination.Please help me...
Thanks
- nagalakshmi
- July 18, 2012
- Like
- 0
- Continue reading or reply
When i click on add button i need to display one more textbox(contoller also)
Hi, Good Morning. can any one help me to solve the following......... I have an object invoice__c. It has only one field name.i would like to add the records into object using VF page. Initiallay, In VF page I have Add button,Save button & a text box. When i click on add button i need to display one more textbox. Like this i can add any number of textboxes. But when i entered data into these textboxes and clicked on save. I would like to add all the names into object in the form of records. That means, each name will be added into object as a record. i need controller class also Can any one help me.
- vibration
- June 02, 2011
- Like
- 0
- Continue reading or reply