• mukesh gupta
  • NEWBIE
  • 100 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 49
    Questions
  • 33
    Replies
Hi Expert,
I need to create a popup in salesforce that will display on top of all pages or tabes. Example below "out GoingCall" popup

User-added image



Please suggest.
Hi Expert,

I want to create a API in salesforce with  parameter name is "Address"   this will manage by external API. Means External API will send the Address parameter to the salesforce API. How i can integrate to External API to Salesforce API.

Please suggest.

Thanks
mukesh   
Hi Expert,

I need  a Integration Facebook Lead Ads with Salesforce.  So that when user send a lead by Facebook Lead ads form , then this lead info will Integrate with Salesforce Lead. I want need develop by code not any AppExchange Apps.

Please suggest Except AppExchange apps.    


Thanks
Mukesh


 
Hi Expert,

I am creating a site but when i try to open url  the get following error.

User-added image

Please suggest about above error.

Thanks
Mukesh
Hi Expert,

I need access Currency Data API on salesforce standard object.  because i want to get the currency for particular country . How i can do this in salesforce

Please suggest.

Thanks
Mukesh
Hi Expert,

I need a campaign id on a lead page, how i can do this. i am using formula but not getting camaign in formula list.
Please suggest.

Thanks
Mukesh

 
Hi Expert,

I have two custom field on lead page,  picklist(Deceased, Minor, Incapacitated) and textField(datetype) , if selected value is "Deceased" then  textField will be show,  other wise textField will be hide.

Please suggest.

Many Thanks
Mukesh


 
Hi Expert,

On the oppertunity page i want to hide a related list button if oppertunity stage changed.

User-added image
Hi Expert

I need to create formula for these Total leads rejected.

Can any one suggest.


Thanks
Mukesh

 
Hi Expert,

I have need formula to get the "total leads rejected".

Can you plaese suggest

Many Thanks
Mukesh
Hi Expert

I am some confuse to about requirment for Admin and Front End in salesforce


Admin :-  


Administrator can view the user company information 
Administrator can view the user uploaded document

 Front End:-  

User can add/edit their company information 
User can upload/remove documents

How i can mennage in salesforce?

Please suggest.

Many Thanks
Mukesh
Hi Exprt,

On Lead page, I have a two field Name1 and Name2, and one checkbox. if fill value in Name1 and mark checkbox checked. Then field Name1 value will assign to Field Name2.

but i am using professional edition so workflow doesn't support.


Please suggest.

Thanks
 
Hi Expert,

Can you please suggest about:-

Lead field Should be populated by Campaign ID

Thanks


 
Hi, 

if a contact is already add with an email id , and user try to  insert a new contact with existing email id then old contact details with update with new contact after that new contact will delete.
this is my code 
Trigger NewContact on Contact (before insert) {
    Set<String> con = new Set<String>();
    List<Contact> cont = new  List<Contact>();
     List<Id> duplicateIds = new List<Id>();  
      Map<string, Contact> existing = new Map<string, Contact>();
    
    for (Contact c : Trigger.New) 
    {
        con.add(c.Email);
        
    }
    
   
    for(Contact c: [SELECT Id,Email,Phone,Title
                    FROM Contact
                    WHERE Email IN :con])
    {
      existing.put(c.Email, c);
    }
    
    if(existing.size()>0){
       for (Contact c : Trigger.New) 
    {
        if(existing.containsKey(c.Email)){
            duplicateIds.add(c.id);
            Contact clone = c.clone();
            clone.Id = existing.get(c.Email).Id;
            existing.put(c.Email, clone); 
        }
    }
    }
    
    try {
    update existing.values();
   Database.delete(duplicateIds);
} catch (System.DmlException e) {
   
}
    
  
}

 
Hi Expert, 

I created a contact wtih (name= "AA" ,Email="aa@gmail.com"), if i insert a new contact with same Email id (name= "BB" ,Email="aa@gmail.com") then existing record will become (name= "BB" ,Email="aa@gmail.com") and new record will be delete. I want to use  upsert method. this is my code please suggest where is mistake
 
Trigger NewContact on Contact (before insert) {
    Set<String> con = new Set<String>();
    List<Contact> cont = new  List<Contact>();
     List<Id> duplicateIds = new List<Id>();  
      Map<string, Contact> existing = new Map<string, Contact>();
    
    for (Contact c : Trigger.New) 
    {
        con.add(c.Email);
        
    }
    
   
    for(Contact c: [SELECT Id,Email,Phone,Title
                    FROM Contact
                    WHERE Email IN :con])
    {
      existing.put(c.Email, c);
    }
    
    if(existing.size()>0){
       for (Contact c : Trigger.New) 
    {
        if(existing.containsKey(c.Email)){
            duplicateIds.add(c.id);
            Contact clone = c.clone();
            clone.Id = existing.get(c.Email).Id;
            existing.put(c.Email, clone); 
        }
    }
    }
    
    try {
    update existing.values();
   Database.delete(duplicateIds);
} catch (System.DmlException e) {
   
}
    
  
}

 
Hi Expert,

I am stuck in a logic.

i have contact with email fields. like
Contact1(lastname='test', email="aa@gmail.com"). if a new contact insert with same email id then new contact all fields value merge in old contact and this new contact will be delete.  

Please suggest a way.

Thanks
Mukesh  
Hi Expert, 

I am creating a dropdown list by VF and apex page. but i am not getting the value from drop down, it's display blank.
 
<apex:pageBlockSectionItem >
         <apex:outputLabel value="Card Type"></apex:outputLabel>
                   <apex:selectList value="{!selectedCardType}">
                   <apex:selectOptions value="{!cardTypes}" />
            </apex:selectList>
</apex:pageBlockSectionItem>



///////////////////-------------------------------------------////////////////////////////

public String cardTypes { get; set; }
 public String selectedCardType { get; set; }

 public List<SelectOption> getCardTypes(){
       list<SelectOption> cardtype = new list<SelectOption>();
       cardtype.add(new selectOption('Visa','Visa'));
       cardtype.add(new selectOption('Master Card','Master Card'));
       cardtype.add(new selectOption('American Express','American Express'));
       return cardtype;
    }

Please suggest 
Thanks
Mukesh
 
 
Hi Expert, 

I am using a trigger that will fire to delete any record but when  record delete then new screen appears
"The record you attempted to access has been deleted. The user who deleted this record may be able to recover it from the Recycle Bin. Deleted data is stored in the Recycle Bin for 15 days."

But here i don't need this message.
Can any one plesae suggest.

Thanks
Mukesh 
Hi Expert,

I want to create some demo on marketing cloud  journey builder. Can any one share about how to acces journey builder in markeing cloud.

Thanks
Mukesh
Hi Expert,

I need to create a visualforce page that show the lead with  current date. and i have a Assigend buton  top side.
user can choose any lead and then assigned to user , then selected lead will be remove from visualforce page.

Please suggest, what should i do for this task.

Thanks
Mukesh
Hi Expert,

I want to create some demo on marketing cloud  journey builder. Can any one share about how to acces journey builder in markeing cloud.

Thanks
Mukesh
Hi Expert,

I need to create an application for me to send SMS directly from Salesforce. Please suggest.

User-added image
Hi Expert,

I am using a test class for coverage 75% code, but few things are not covered. Can any one suggest what is going wrong.

this my test Class: --
@isTest
public class TestProfessorSelectCourse {
    @isTest static void ProfessorCourse(){
       
        
        Professor__c prof = new Professor__c(Name ='JP',Email__c='jp@gmail.com');
        insert prof;
        
        Class__c cls = new Class__c(name='12G', Class_Teacher__c = prof.id);
        insert cls;
        
        Course__c cors = new Course__c(Professor__c=prof.id,Class__c =cls.id, name='Ruby', Start_Date__c= Date.today() , End_date__c= Date.newInstance(2017,03,20));
       	//Professor__c prof = new Professor__c(Name ='JP');
        //cors.Professor__c = prof.Name;
        insert cors;
    }
}

and below is my main class


User-added image

Thanks 
Mukesh
Hi Expert,

I want to create a API in salesforce with  parameter name is "Address"   this will manage by external API. Means External API will send the Address parameter to the salesforce API. How i can integrate to External API to Salesforce API.

Please suggest.

Thanks
mukesh   
Hi Expert,

I need  a Integration Facebook Lead Ads with Salesforce.  So that when user send a lead by Facebook Lead ads form , then this lead info will Integrate with Salesforce Lead. I want need develop by code not any AppExchange Apps.

Please suggest Except AppExchange apps.    


Thanks
Mukesh


 
Hi Expert,

I need a campaign id on a lead page, how i can do this. i am using formula but not getting camaign in formula list.
Please suggest.

Thanks
Mukesh

 
Hi Expert,

I have two custom field on lead page,  picklist(Deceased, Minor, Incapacitated) and textField(datetype) , if selected value is "Deceased" then  textField will be show,  other wise textField will be hide.

Please suggest.

Many Thanks
Mukesh


 
Hi Expert

I need to create formula for these Total leads rejected.

Can any one suggest.


Thanks
Mukesh

 
Hi Expert,

I have need formula to get the "total leads rejected".

Can you plaese suggest

Many Thanks
Mukesh
Hi Exprt,

On Lead page, I have a two field Name1 and Name2, and one checkbox. if fill value in Name1 and mark checkbox checked. Then field Name1 value will assign to Field Name2.

but i am using professional edition so workflow doesn't support.


Please suggest.

Thanks
 
Hi Expert,

Can you please suggest about:-

Lead field Should be populated by Campaign ID

Thanks


 
Hi Expert,

I am stuck in a logic.

i have contact with email fields. like
Contact1(lastname='test', email="aa@gmail.com"). if a new contact insert with same email id then new contact all fields value merge in old contact and this new contact will be delete.  

Please suggest a way.

Thanks
Mukesh  
Hi Expert, 

I am using a trigger that will fire to delete any record but when  record delete then new screen appears
"The record you attempted to access has been deleted. The user who deleted this record may be able to recover it from the Recycle Bin. Deleted data is stored in the Recycle Bin for 15 days."

But here i don't need this message.
Can any one plesae suggest.

Thanks
Mukesh