
Charan Tej
IndividualForum Replies Created
-
Charan Tej
MemberJuly 29, 2018 at 4:56 am in reply to: what values my Custom Salesforce Visualforce edit page does not show?Did you pass id as parameter in the visualforce page.
/apex/Your_page_name?id=Record ID you want to see in edit mode
-
Charan Tej
MemberJuly 29, 2018 at 4:55 am in reply to: What is the difference between a query and a table in Salesforce SOQL?Query - Statement for querying records from a table.
Table - Object that holds all the records. In Salesforce, we call it as object.
-
Charan Tej
MemberJuly 29, 2018 at 4:52 am in reply to: Can a Salesforce trigger call a batch class in Salesforce?Yes we can invoke. But make sure you are not crossing the governing limits.
The current limit for concurrent batch jobs is 5.
https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_gov_limits.htm
-
Charan Tej
MemberJuly 12, 2018 at 10:21 am in reply to: What are the advantages of Schema Builder in Salesforce? Why do we need it?In my point of view, I don't see any adavntages in Schema builder except seeing the objects and their relationships.
Even when we add a field, FLS should be given again to that field.
Unless to analze org structure, I don't usually go to Schema Builder.
-
Charan Tej
MemberJuly 12, 2018 at 10:19 am in reply to: While implementing SOAP API integration, why session id "Session_ID_Remove" is shown in debug?In terms of Security aspect, Salesforce automatically removes sessionId from debug logs from summer 17 .
-
Charan Tej
MemberJanuary 30, 2018 at 9:59 am in reply to: Adding account team member on account object in Salesforce`trigger TeamMemberTrg on Account (after insert) {
if(trigger.isinsert){
set parentIds = new set();
for(account acct:trigger.new){
if(acct.ParentId!=null && acct.VPA__c==false){
parentIds.add(acct.parentId);
}
}if(!parentIds.isEmpty()){
map mpAccs = new map([select id, ownerId from Account where Id in: parentIds]);
List members = new List();
for(account acct:trigger.new){
if(acct.ParentId!=null && mpAccs.containsKey(acct.ParentId) && acct.VPA__c==false){
members.add(New AccountTeamMember(AccountId = acct.id, TeamMemberRole = 'Account Manager', UserId= mpAccs.get(acct.ParentId).OwnerId));
}
}if(!members.isEmpty())
insert members;
}}
} -
Charan Tej
MemberJanuary 18, 2018 at 10:42 am in reply to: What is External Object in Salesforce? How do we use this object in Salesforce ?External objects are similar to custom objects, except that they map to data that’s stored outside your Salesforce org. Each external object relies on an external data source definition to connect with the external system’s data. Each external object definition maps to a data table on the external system.
-
Charan Tej
MemberJanuary 18, 2018 at 10:39 am in reply to: How to embed iframe in Salesforce Visualforce page? -
Charan Tej
MemberJanuary 15, 2018 at 1:39 pm in reply to: How can I transfer data saved in multiple fields while redirecting from one Salesforce Visualforce page to another?you can pass data through parameters in the URL or you can use JS to store the data in cookies of the browser.
-
Charan Tej
MemberJanuary 15, 2018 at 1:39 pm in reply to: How many Field dependencies can I use in a Salesforce Visualforce page?As many as you can, depending on your requirement.
-
Charan Tej
MemberJanuary 15, 2018 at 1:37 pm in reply to: How can I get all Field API names of Accounts in Salesforce?This dcoument will be helpful.
-
Charan Tej
MemberJanuary 15, 2018 at 1:36 pm in reply to: How can I get all Field API names of Accounts in Salesforce?You can get it from Workbench.
Login to workbench and try using just a query on Account object.
-
Charan Tej
MemberJanuary 15, 2018 at 1:29 pm in reply to: How can I use encrypted field data in Salesforce Apex code? -
Charan Tej
MemberJanuary 7, 2018 at 5:48 am in reply to: Is there a way to export photos from Developer Org in Salesforce?You can use dataloader.
What kind of photos you want to export?
-
Charan Tej
MemberJanuary 3, 2018 at 4:08 pm in reply to: How to create a PageBlockTable for Parent to Child Relationship in Salesforce?Does the other user has View All on the master object?
-
Charan Tej
MemberJanuary 3, 2018 at 4:01 pm in reply to: Salesforce Issue : Queue in Approval Process {Change Set Issue}, Validation failsI think if you create the queue in Production directly and then validate the changeset helps.
-
Charan Tej
MemberJanuary 3, 2018 at 4:00 pm in reply to: How to control the data of a Picklist in Salesforce?you need a develop a Salesforce Trigger on case to populate this.
for(case c: trigger.new){
if(c.date_field__c.hour()==1)
c.picklist_field__c = '00:00-01:00';//you need to write logic this
//you can even simplify this but as a newbie you can start like this
} -
Charan Tej
MemberJanuary 3, 2018 at 10:44 am in reply to: How can we disable the command button after first click?onclick="this.style.display='none';"
This will remove the button once clicked.
onclick="this.disabled=true;"
This will disable the button once clicked.
Let me know if this doesnt work.
-
Charan Tej
MemberJanuary 2, 2018 at 12:39 pm in reply to: Getting when trying to create integration between Salesforce and ClickFunnels.Hi Rick,
which Salesforce edition you are currently using?
API is not enabled by default in Professional Edition of Salesforce.
-
Charan Tej
MemberJanuary 2, 2018 at 12:37 pm in reply to: How can I efficiently generate a Set from a List structure in salesforce?In addition to Susant anwer, you can also use this code.
Map<Id, Account> mpAccounts = new Map<Id,Account>([Select id, name from Account]);
You can use mpAccounts.keyset() which will give you a set collection of Ids. -
Charan Tej
MemberJanuary 2, 2018 at 12:33 pm in reply to: How to create a Pie chart with 3 or more fields in Salesforce?You can achieve this using Visualforce charts.
You can also use 3rd party services like Google API, High charts etc to design pie charts in Salesforce.
-
Charan Tej
MemberJanuary 2, 2018 at 8:27 am in reply to: help : Custom object on Salesforce visualforce page not working in Internet ExplorerHave you figure it out? Can you open console and see if there are any JS issues.
-
Charan Tej
MemberJanuary 2, 2018 at 8:22 am in reply to: Help needed on a Salesforce Trigger manipulating Contact ObjectWhenever you send an email, you need to create an activity under that record. This helps you in tracking the last email sent for that record.
Trigger should be developed on Task.
trigger TaskTrg on Task (after insert) {
List<Contact> lstCons = new List<Contact>();
for(Task tObj : trigger.new){
if(tobj.whatId != null && string.valueof(tobj.whatId).startswith('003')){
Contact con = new Contact(Id=tObj.whatId);
if(tObj.subject.contains('Email')){
con.LastEmailSentTime__c = System.now();
}con.LastTaskCreatedTime__c = System.now();
lstCons.add(con);
}
}if(!lstCons.isEmpty())
update lstCons;}
-
Charan Tej
MemberJanuary 2, 2018 at 8:14 am in reply to: Is there any option to work as a Salesforce Admin Trainee ( I have ADM 201 Certification)You can register with npower or communitycorps to get a chance to work for non-profit organizations in USA.