-
ChatterFeed
-
0Best Answers
-
0Likes Received
-
0Likes Given
-
13Questions
-
24Replies
How can I hide the header region ?
Hey folks,
I wanna hide the header region and navigation from 'Lightning Experience' in Summer 16 release ORG. How can I make it possible ?
Please share your ideas. Even a little help would be appreciable.
Thank you all in advance.
Regards'
Taresh
I wanna hide the header region and navigation from 'Lightning Experience' in Summer 16 release ORG. How can I make it possible ?
Please share your ideas. Even a little help would be appreciable.
Thank you all in advance.
Regards'
Taresh
-
- Taresh Pandey
- May 04, 2016
- Like
- 0
- Continue reading or reply
Why different session valid time for UI, content and TempUIFrontdoor
Hey folks,
The image I have uploaded, in that (In the red circle)- why session valid time is defferent for UI, TempUIFrontdoor, TempContentExchange and content ?
Is it from Salesforce or I can provide exact same valid time for these session types. If yes then HOW ? I'll eagerly wait for your replys.
Thank you in advance.
Thanks & Regards'
Taresh Pandey
The image I have uploaded, in that (In the red circle)- why session valid time is defferent for UI, TempUIFrontdoor, TempContentExchange and content ?
Is it from Salesforce or I can provide exact same valid time for these session types. If yes then HOW ? I'll eagerly wait for your replys.
Thank you in advance.
Thanks & Regards'
Taresh Pandey
-
- Taresh Pandey
- February 02, 2016
- Like
- 0
- Continue reading or reply
How to Delete mass queue and their records. ?
Hey All,
I'm stuck with a problem- There are more than 5000 queue records in my account and I wanna delete all the queue which are not seen by any user. How can I make this possible by Apex code or is there any other solution to delete enormous number of queues. ?
Thank you all in advance.
Regards'
Taresh Pandey
I'm stuck with a problem- There are more than 5000 queue records in my account and I wanna delete all the queue which are not seen by any user. How can I make this possible by Apex code or is there any other solution to delete enormous number of queues. ?
Thank you all in advance.
Regards'
Taresh Pandey
-
- Taresh Pandey
- December 08, 2015
- Like
- 0
- Continue reading or reply
How to delete Custom Object from a Managed - Released Package.?
Hey all,
I wanna delete custom object from a managed released package. How can I make it possible. ?
Your little help would be enough.
thank you all in advance.
I wanna delete custom object from a managed released package. How can I make it possible. ?
Your little help would be enough.
thank you all in advance.
-
- Taresh Pandey
- November 16, 2015
- Like
- 0
- Continue reading or reply
How to customize sidebar for a component.
Hey Friends,
I wanna display Account component in the sidebar Like Leads(686) shown in this picture i.e. Account (Number of records exist). All the records should be display clicking on the component. Even a little clue would be more helpful.
thank you all in advance
-
- Taresh Pandey
- October 19, 2015
- Like
- 0
- Continue reading or reply
How to write apex class in lightning for switching user mode(from salesforce classic to Lightning App UI and vice-versa).
Hello All,
I don't even know how to perform this task. Could any one help me for this task. If any one can give me a little clue for the task that would be really helpful for me.
Thank you all in advance.
Regards'
Taresh
I don't even know how to perform this task. Could any one help me for this task. If any one can give me a little clue for the task that would be really helpful for me.
Thank you all in advance.
Regards'
Taresh
-
- Taresh Pandey
- October 07, 2015
- Like
- 0
- Continue reading or reply
How to check user page whether it is opened from salesforce classic or Lightning App UI. ?
Hello All,
I'm stuck in the middle of this problem I don't know how check from which source user page extrated. If I open user page first in salesforce classic and after I switch it to Lightning.
Thanks to all of you in advance
Regards'
Taresh Pandey
I'm stuck in the middle of this problem I don't know how check from which source user page extrated. If I open user page first in salesforce classic and after I switch it to Lightning.
Thanks to all of you in advance
Regards'
Taresh Pandey
-
- Taresh Pandey
- October 02, 2015
- Like
- 0
- Continue reading or reply
How to write Apex class for Role Hierarchies without using Visual Force Page ?
Hello All,
I have a small question that; is it possible - creation of apex class for Role Hierarchy without using VF pages. If answer is YES then tell me How ?
thank you all experts in advance.
Regards'
Taresh Pandey
I have a small question that; is it possible - creation of apex class for Role Hierarchy without using VF pages. If answer is YES then tell me How ?
thank you all experts in advance.
Regards'
Taresh Pandey
-
- Taresh Pandey
- September 21, 2015
- Like
- 0
- Continue reading or reply
How can I make my test class executable.?
Hello All,
-:Apex Class:-
public class Innerclass4List
{
public class fourlists
{
public List<Integer> firstlist ;
public List<Account> secondlist ;
public List<Opportunity> thirdlist ;
public List<String> fourthlist ;
}
public List<Account> selected (List<fourlists> FL)
{
return FL[0].secondlist;
}
}
-:Test Class:-
@isTest
public class testInnerclass4List
{
static testMethod void testmethodfourlist()
{
List<Innerclass4List.fourlists> testresultlist = new List<Innerclass4List.fourlists>();
Innerclass4List.fourlists ICF = new Innerclass4List.fourlists();
Account acct = new Account();
acct.Name = 'Ashok';
acct.AnnualRevenue = 10000;
acct.Phone = '0731467890';
ICF.secondlist.add(acct);
testresultlist.add(ICF);
Innerclass4List ICL = new Innerclass4List();
List<Account> secondlist = ICL.FL(testresultlist);
system.assert(secondlist.size()>0);
}
}
Where I went wrong; I can't figure it out. I need your help. Please Let me know if you are getting error.
Thank you all in advance
-:Apex Class:-
public class Innerclass4List
{
public class fourlists
{
public List<Integer> firstlist ;
public List<Account> secondlist ;
public List<Opportunity> thirdlist ;
public List<String> fourthlist ;
}
public List<Account> selected (List<fourlists> FL)
{
return FL[0].secondlist;
}
}
-:Test Class:-
@isTest
public class testInnerclass4List
{
static testMethod void testmethodfourlist()
{
List<Innerclass4List.fourlists> testresultlist = new List<Innerclass4List.fourlists>();
Innerclass4List.fourlists ICF = new Innerclass4List.fourlists();
Account acct = new Account();
acct.Name = 'Ashok';
acct.AnnualRevenue = 10000;
acct.Phone = '0731467890';
ICF.secondlist.add(acct);
testresultlist.add(ICF);
Innerclass4List ICL = new Innerclass4List();
List<Account> secondlist = ICL.FL(testresultlist);
system.assert(secondlist.size()>0);
}
}
Where I went wrong; I can't figure it out. I need your help. Please Let me know if you are getting error.
Thank you all in advance
-
- Taresh Pandey
- September 19, 2015
- Like
- 0
- Continue reading or reply
Compile time error
Hello all,
This code having error while compiling I.e. Incompatible element type Another.Runtime for collection of Integer at line 20 column 17. Friends I'm not able to understand this error, please let me know if you can figureout this error.
Public class Another
{
public class Runtime
{
Public string name;
Public boolean Exist;
public Integer Phone;
}
public List<Runtime> RuntimeList (List<Runtime> LR)
{
return LR;
}
public List<Integer> Phonenumbers (List<Integer> Phnumber)
{
List<integer> Allrecords = new List<integer> ();
for(Runtime IT : Phnumber)
{
If(IT!=null)
{
Allrecords.add(IT);
}
}
}
}
This code having error while compiling I.e. Incompatible element type Another.Runtime for collection of Integer at line 20 column 17. Friends I'm not able to understand this error, please let me know if you can figureout this error.
Public class Another
{
public class Runtime
{
Public string name;
Public boolean Exist;
public Integer Phone;
}
public List<Runtime> RuntimeList (List<Runtime> LR)
{
return LR;
}
public List<Integer> Phonenumbers (List<Integer> Phnumber)
{
List<integer> Allrecords = new List<integer> ();
for(Runtime IT : Phnumber)
{
If(IT!=null)
{
Allrecords.add(IT);
}
}
}
}
-
- Taresh Pandey
- September 17, 2015
- Like
- 0
- Continue reading or reply
Need help to write "Test Class" for the RemoteAction
// This method is use to create chart Records (Bulky method)
// INPUT: Array of Sobject (Chart) with field data.
// OUTPUT: return ID if inserted without error return null if inertion failes.
//
@RemoteAction
public static String insertChart(List<Chart> RemoteCharts){
List<Lean__Chart__c> NewCharts= new List<Lean__Chart__c>();
for(Chart Chart: RemoteCharts){
Lean__Chart__C Newchart= new Lean__Chart__c();
Newchart.Name =Chart.Name;
Newchart.Lean__DeveloperName__c = Chart.DeveloperName;
Newchart.Lean__Filter__c = Chart.Filter;
Newchart.Lean__Format__c = Chart.Format;
Newchart.Lean__GUID__c = Chart.Id;
Newchart.Lean__Height__c = Chart.Height;
Newchart.Lean__Left__c = Chart.Left;
Newchart.Lean__LockState__c = Chart.LockState;
Newchart.Lean__ReportId__c = Chart.ReportID;
Newchart.Lean__Top__c = Chart.Top;
Newchart.Lean__ValueStream__c = (Chart.ValueStreamID==''?null:Chart.ValueStreamID);
Newchart.Lean__Width__c = Chart.Width;
Newchart.Lean__X__c = Chart.X;
Newchart.Lean__Y__c = Chart.Y;
Newchart.Lean__CmpID__c =Chart.CmpID;
Newchart.Lean__Size__c = Chart.Size;
Newchart.Lean__ChartURL__c = Chart.ChartURL;
Newchart.Lean__JSONData__c = Chart.JSONData;
NewChart.Lean__OnlyShowChart__c = Chart.OnlyShowChart;
NewCharts.add(Newchart);
}
List<Database.Upsertresult> uResults;
try {
Schema.Sobjectfield ExternField = Lean__Chart__C.Fields.Lean__GUID__c;
uResults = Database.upsert(NewCharts, ExternField, true);
} catch (DmlException e){
System.debug(e.getMessage());
return '';
}
return NewCharts[0].Id ;
}
Regards'
Taresh
// INPUT: Array of Sobject (Chart) with field data.
// OUTPUT: return ID if inserted without error return null if inertion failes.
//
@RemoteAction
public static String insertChart(List<Chart> RemoteCharts){
List<Lean__Chart__c> NewCharts= new List<Lean__Chart__c>();
for(Chart Chart: RemoteCharts){
Lean__Chart__C Newchart= new Lean__Chart__c();
Newchart.Name =Chart.Name;
Newchart.Lean__DeveloperName__c = Chart.DeveloperName;
Newchart.Lean__Filter__c = Chart.Filter;
Newchart.Lean__Format__c = Chart.Format;
Newchart.Lean__GUID__c = Chart.Id;
Newchart.Lean__Height__c = Chart.Height;
Newchart.Lean__Left__c = Chart.Left;
Newchart.Lean__LockState__c = Chart.LockState;
Newchart.Lean__ReportId__c = Chart.ReportID;
Newchart.Lean__Top__c = Chart.Top;
Newchart.Lean__ValueStream__c = (Chart.ValueStreamID==''?null:Chart.ValueStreamID);
Newchart.Lean__Width__c = Chart.Width;
Newchart.Lean__X__c = Chart.X;
Newchart.Lean__Y__c = Chart.Y;
Newchart.Lean__CmpID__c =Chart.CmpID;
Newchart.Lean__Size__c = Chart.Size;
Newchart.Lean__ChartURL__c = Chart.ChartURL;
Newchart.Lean__JSONData__c = Chart.JSONData;
NewChart.Lean__OnlyShowChart__c = Chart.OnlyShowChart;
NewCharts.add(Newchart);
}
List<Database.Upsertresult> uResults;
try {
Schema.Sobjectfield ExternField = Lean__Chart__C.Fields.Lean__GUID__c;
uResults = Database.upsert(NewCharts, ExternField, true);
} catch (DmlException e){
System.debug(e.getMessage());
return '';
}
return NewCharts[0].Id ;
}
Regards'
Taresh
-
- Taresh Pandey
- September 15, 2015
- Like
- 0
- Continue reading or reply
How to display 'Contact Name' & 'Contact ID' (fields of Contact) from Account Object by using MAP. ??
Hello all,
First of all I say thank you guys for helping me on my earlier problem. For this task some limitations are there:-
1- Use only one query where ever you want.
2- You can not use sub-query for the problem.
Thank you all in advance.
First of all I say thank you guys for helping me on my earlier problem. For this task some limitations are there:-
1- Use only one query where ever you want.
2- You can not use sub-query for the problem.
Thank you all in advance.
-
- Taresh Pandey
- September 12, 2015
- Like
- 0
- Continue reading or reply
How to retrieve records from sObject without using Apex controller and trigger ?
Hello all,
I'm new on salesforce technology.I wanna retrieve some records from sObject and I wanna insert those retrieved records into a custome object. without using Apex controller and trigger. How can I perform this task. I'll eagerly wait for yours' reply.
thank you all in advance
I'm new on salesforce technology.I wanna retrieve some records from sObject and I wanna insert those retrieved records into a custome object. without using Apex controller and trigger. How can I perform this task. I'll eagerly wait for yours' reply.
thank you all in advance
-
- Taresh Pandey
- September 09, 2015
- Like
- 0
- Continue reading or reply
How to delete Custom Object from a Managed - Released Package.?
Hey all,
I wanna delete custom object from a managed released package. How can I make it possible. ?
Your little help would be enough.
thank you all in advance.
I wanna delete custom object from a managed released package. How can I make it possible. ?
Your little help would be enough.
thank you all in advance.
- Taresh Pandey
- November 16, 2015
- Like
- 0
- Continue reading or reply
How to customize sidebar for a component.
Hey Friends,
I wanna display Account component in the sidebar Like Leads(686) shown in this picture i.e. Account (Number of records exist). All the records should be display clicking on the component. Even a little clue would be more helpful.
thank you all in advance
- Taresh Pandey
- October 19, 2015
- Like
- 0
- Continue reading or reply
How to write apex class in lightning for switching user mode(from salesforce classic to Lightning App UI and vice-versa).
Hello All,
I don't even know how to perform this task. Could any one help me for this task. If any one can give me a little clue for the task that would be really helpful for me.
Thank you all in advance.
Regards'
Taresh
I don't even know how to perform this task. Could any one help me for this task. If any one can give me a little clue for the task that would be really helpful for me.
Thank you all in advance.
Regards'
Taresh
- Taresh Pandey
- October 07, 2015
- Like
- 0
- Continue reading or reply
How to check user page whether it is opened from salesforce classic or Lightning App UI. ?
Hello All,
I'm stuck in the middle of this problem I don't know how check from which source user page extrated. If I open user page first in salesforce classic and after I switch it to Lightning.
Thanks to all of you in advance
Regards'
Taresh Pandey
I'm stuck in the middle of this problem I don't know how check from which source user page extrated. If I open user page first in salesforce classic and after I switch it to Lightning.
Thanks to all of you in advance
Regards'
Taresh Pandey
- Taresh Pandey
- October 02, 2015
- Like
- 0
- Continue reading or reply
How to write Apex class for Role Hierarchies without using Visual Force Page ?
Hello All,
I have a small question that; is it possible - creation of apex class for Role Hierarchy without using VF pages. If answer is YES then tell me How ?
thank you all experts in advance.
Regards'
Taresh Pandey
I have a small question that; is it possible - creation of apex class for Role Hierarchy without using VF pages. If answer is YES then tell me How ?
thank you all experts in advance.
Regards'
Taresh Pandey
- Taresh Pandey
- September 21, 2015
- Like
- 0
- Continue reading or reply
How can I make my test class executable.?
Hello All,
-:Apex Class:-
public class Innerclass4List
{
public class fourlists
{
public List<Integer> firstlist ;
public List<Account> secondlist ;
public List<Opportunity> thirdlist ;
public List<String> fourthlist ;
}
public List<Account> selected (List<fourlists> FL)
{
return FL[0].secondlist;
}
}
-:Test Class:-
@isTest
public class testInnerclass4List
{
static testMethod void testmethodfourlist()
{
List<Innerclass4List.fourlists> testresultlist = new List<Innerclass4List.fourlists>();
Innerclass4List.fourlists ICF = new Innerclass4List.fourlists();
Account acct = new Account();
acct.Name = 'Ashok';
acct.AnnualRevenue = 10000;
acct.Phone = '0731467890';
ICF.secondlist.add(acct);
testresultlist.add(ICF);
Innerclass4List ICL = new Innerclass4List();
List<Account> secondlist = ICL.FL(testresultlist);
system.assert(secondlist.size()>0);
}
}
Where I went wrong; I can't figure it out. I need your help. Please Let me know if you are getting error.
Thank you all in advance
-:Apex Class:-
public class Innerclass4List
{
public class fourlists
{
public List<Integer> firstlist ;
public List<Account> secondlist ;
public List<Opportunity> thirdlist ;
public List<String> fourthlist ;
}
public List<Account> selected (List<fourlists> FL)
{
return FL[0].secondlist;
}
}
-:Test Class:-
@isTest
public class testInnerclass4List
{
static testMethod void testmethodfourlist()
{
List<Innerclass4List.fourlists> testresultlist = new List<Innerclass4List.fourlists>();
Innerclass4List.fourlists ICF = new Innerclass4List.fourlists();
Account acct = new Account();
acct.Name = 'Ashok';
acct.AnnualRevenue = 10000;
acct.Phone = '0731467890';
ICF.secondlist.add(acct);
testresultlist.add(ICF);
Innerclass4List ICL = new Innerclass4List();
List<Account> secondlist = ICL.FL(testresultlist);
system.assert(secondlist.size()>0);
}
}
Where I went wrong; I can't figure it out. I need your help. Please Let me know if you are getting error.
Thank you all in advance
- Taresh Pandey
- September 19, 2015
- Like
- 0
- Continue reading or reply
Compile time error
Hello all,
This code having error while compiling I.e. Incompatible element type Another.Runtime for collection of Integer at line 20 column 17. Friends I'm not able to understand this error, please let me know if you can figureout this error.
Public class Another
{
public class Runtime
{
Public string name;
Public boolean Exist;
public Integer Phone;
}
public List<Runtime> RuntimeList (List<Runtime> LR)
{
return LR;
}
public List<Integer> Phonenumbers (List<Integer> Phnumber)
{
List<integer> Allrecords = new List<integer> ();
for(Runtime IT : Phnumber)
{
If(IT!=null)
{
Allrecords.add(IT);
}
}
}
}
This code having error while compiling I.e. Incompatible element type Another.Runtime for collection of Integer at line 20 column 17. Friends I'm not able to understand this error, please let me know if you can figureout this error.
Public class Another
{
public class Runtime
{
Public string name;
Public boolean Exist;
public Integer Phone;
}
public List<Runtime> RuntimeList (List<Runtime> LR)
{
return LR;
}
public List<Integer> Phonenumbers (List<Integer> Phnumber)
{
List<integer> Allrecords = new List<integer> ();
for(Runtime IT : Phnumber)
{
If(IT!=null)
{
Allrecords.add(IT);
}
}
}
}
- Taresh Pandey
- September 17, 2015
- Like
- 0
- Continue reading or reply
Need help to write "Test Class" for the RemoteAction
// This method is use to create chart Records (Bulky method)
// INPUT: Array of Sobject (Chart) with field data.
// OUTPUT: return ID if inserted without error return null if inertion failes.
//
@RemoteAction
public static String insertChart(List<Chart> RemoteCharts){
List<Lean__Chart__c> NewCharts= new List<Lean__Chart__c>();
for(Chart Chart: RemoteCharts){
Lean__Chart__C Newchart= new Lean__Chart__c();
Newchart.Name =Chart.Name;
Newchart.Lean__DeveloperName__c = Chart.DeveloperName;
Newchart.Lean__Filter__c = Chart.Filter;
Newchart.Lean__Format__c = Chart.Format;
Newchart.Lean__GUID__c = Chart.Id;
Newchart.Lean__Height__c = Chart.Height;
Newchart.Lean__Left__c = Chart.Left;
Newchart.Lean__LockState__c = Chart.LockState;
Newchart.Lean__ReportId__c = Chart.ReportID;
Newchart.Lean__Top__c = Chart.Top;
Newchart.Lean__ValueStream__c = (Chart.ValueStreamID==''?null:Chart.ValueStreamID);
Newchart.Lean__Width__c = Chart.Width;
Newchart.Lean__X__c = Chart.X;
Newchart.Lean__Y__c = Chart.Y;
Newchart.Lean__CmpID__c =Chart.CmpID;
Newchart.Lean__Size__c = Chart.Size;
Newchart.Lean__ChartURL__c = Chart.ChartURL;
Newchart.Lean__JSONData__c = Chart.JSONData;
NewChart.Lean__OnlyShowChart__c = Chart.OnlyShowChart;
NewCharts.add(Newchart);
}
List<Database.Upsertresult> uResults;
try {
Schema.Sobjectfield ExternField = Lean__Chart__C.Fields.Lean__GUID__c;
uResults = Database.upsert(NewCharts, ExternField, true);
} catch (DmlException e){
System.debug(e.getMessage());
return '';
}
return NewCharts[0].Id ;
}
Regards'
Taresh
// INPUT: Array of Sobject (Chart) with field data.
// OUTPUT: return ID if inserted without error return null if inertion failes.
//
@RemoteAction
public static String insertChart(List<Chart> RemoteCharts){
List<Lean__Chart__c> NewCharts= new List<Lean__Chart__c>();
for(Chart Chart: RemoteCharts){
Lean__Chart__C Newchart= new Lean__Chart__c();
Newchart.Name =Chart.Name;
Newchart.Lean__DeveloperName__c = Chart.DeveloperName;
Newchart.Lean__Filter__c = Chart.Filter;
Newchart.Lean__Format__c = Chart.Format;
Newchart.Lean__GUID__c = Chart.Id;
Newchart.Lean__Height__c = Chart.Height;
Newchart.Lean__Left__c = Chart.Left;
Newchart.Lean__LockState__c = Chart.LockState;
Newchart.Lean__ReportId__c = Chart.ReportID;
Newchart.Lean__Top__c = Chart.Top;
Newchart.Lean__ValueStream__c = (Chart.ValueStreamID==''?null:Chart.ValueStreamID);
Newchart.Lean__Width__c = Chart.Width;
Newchart.Lean__X__c = Chart.X;
Newchart.Lean__Y__c = Chart.Y;
Newchart.Lean__CmpID__c =Chart.CmpID;
Newchart.Lean__Size__c = Chart.Size;
Newchart.Lean__ChartURL__c = Chart.ChartURL;
Newchart.Lean__JSONData__c = Chart.JSONData;
NewChart.Lean__OnlyShowChart__c = Chart.OnlyShowChart;
NewCharts.add(Newchart);
}
List<Database.Upsertresult> uResults;
try {
Schema.Sobjectfield ExternField = Lean__Chart__C.Fields.Lean__GUID__c;
uResults = Database.upsert(NewCharts, ExternField, true);
} catch (DmlException e){
System.debug(e.getMessage());
return '';
}
return NewCharts[0].Id ;
}
Regards'
Taresh
- Taresh Pandey
- September 15, 2015
- Like
- 0
- Continue reading or reply
How to display 'Contact Name' & 'Contact ID' (fields of Contact) from Account Object by using MAP. ??
Hello all,
First of all I say thank you guys for helping me on my earlier problem. For this task some limitations are there:-
1- Use only one query where ever you want.
2- You can not use sub-query for the problem.
Thank you all in advance.
First of all I say thank you guys for helping me on my earlier problem. For this task some limitations are there:-
1- Use only one query where ever you want.
2- You can not use sub-query for the problem.
Thank you all in advance.
- Taresh Pandey
- September 12, 2015
- Like
- 0
- Continue reading or reply
How to retrieve records from sObject without using Apex controller and trigger ?
Hello all,
I'm new on salesforce technology.I wanna retrieve some records from sObject and I wanna insert those retrieved records into a custome object. without using Apex controller and trigger. How can I perform this task. I'll eagerly wait for yours' reply.
thank you all in advance
I'm new on salesforce technology.I wanna retrieve some records from sObject and I wanna insert those retrieved records into a custome object. without using Apex controller and trigger. How can I perform this task. I'll eagerly wait for yours' reply.
thank you all in advance
- Taresh Pandey
- September 09, 2015
- Like
- 0
- Continue reading or reply