• mahesh1.396434879374128E12
  • NEWBIE
  • 20 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 16
    Questions
  • 19
    Replies
Hi ,

I tried to search the sandbox urls in google.I am not able to see them.
Can anyone help me in this.

Your help is appreciated.

 
Hi,

The description of my site of production is not visible in Yahoo and Bing.
It is throwing an exception : "We would like to show you a description here but the site won’t allow us".

Note : It is working for ask,Google.

Your help is appreciated.

 
I want to change the text beside favicon of my site.

by default we will be getting the Salesforce.com beside favicon.

Now change the text to "Dicussion.com"
Hi

The Newly created community user are not getting the WELCOME EMAIL.

i set the Deliverability='All Emails'
I checked the 'Welcome Email' checkbox also .

It is Urgent .
How to "Add Domain" in 'Domain(SetUp--> Domain Management-->Domain--> Add Domain--> Domain Name).

When i am trying to Add Domain.  I am getting the below error

Error: Salesforce.com can't validate the domain. The CNAME record may still be processing (which can take up to 24 hours), or the domain may not belong to you. Make sure the domain name rewards.mahesh.com uses rewards.mahesh.com.00xx0000000xxxxmau.live.siteforce.com as its CNAME target and try again later.

can anyone suggest me in this issue.

Note : This is not related to site Domain.
I want ro replace the standard salesforce favicon with image which saved in the Static Resource.

Thanks in Advance.
Hi,

Here is my requirement.

When i enter my domain Like "ww.abc.com"  in the Url of a browser. then it should redirect to the force.com site Url like "newdeveloper.force.com" site created in salesforce. but in the url it should show me as "www.abc.com".
the mapping should be done in back-end.

Please help me in this issue.

Thanks in Advance/
When i am tring to bulkify this trigger i am getting this error:

When a new case is created, the externalId value is equal to Product external Id. Th product id value shoul map to the Product__c Custom field in case.


The code:

trigger CreateReqMapProdId on Case (Before Insert)
{  
    list<string> lstExteralId = New list<string>();
    if(trigger.isInsert)
        {  
            for(Case ca : trigger.new)
            {
                lstExteralId.add(ca.ProductExteralId__c);
            }
            Map<Id, Product2> ProdMap = new Map<Id, Product2>([select id,PSCSID__c from Product2]);
                for(Case ca : trigger.new)
                        {  
                            for(Product2 prod : ProdMap.values())
                            {
                            If(ca.ProductExteralId__c != null)
                            {
                               If(ca.ProductExteralId__c == Prod.PSCSID__c)
                                {
                                    ca.Product__c = Prod.Id ;
                                }
                            }
                                                     
                        }
                   
        }
}}


Please help me.
 
I have generated "Enterprise Wsdl" yesterday.

Generated the Wsdl for the same sandbox Org 20days back also.

I found the change in the Organisation Id in the Endpoint URL.

May i know why it happened...or Does it happens....Does we face any Issues by this in future.

Strange thing is both Wsdl are working fine..

Please let me konw why it happened.....Help me in this Issue...
 
I wrote code for it but it throwing Error : first error: DUPLICATE_VALUE, duplicate value found: duplicates value on record with id


Here is the Code :

trigger marketingCms on Campaign (After Insert) {

List<MarketingCMS__c> cust_Mcms =MarketingCMS__c.getAll().Values();
system.debug('*********cust_Mcms **********'+cust_Mcms);                       
set<ID> cam_Set = New set<ID>(); 
RecordType RT=[SELECT Id,Name FROM RecordType WHERE sobjectType='Campaign' AND Name = 'Marketing Campaign'];
List<CampaignMemberStatus> cms2Delete = new List<CampaignMemberStatus>();
List<CampaignMemberStatus> cms2Insert = new List<CampaignMemberStatus>();  
if(trigger.isafter)  {                     
for(Campaign vCam : trigger.new)
{
    if((RT.name=='Marketing Campaign')&&(vCam.type!=null))
    {
    cam_Set.add(vCam.Id);
    CampaignMemberStatus CMSt ;
    for(MarketingCMS__c Mcm : cust_Mcms )
        {
    CMSt = New CampaignMemberStatus();
                CMSt.CampaignId = vCam.id;
                CMSt.HasResponded = Mcm.Responded__c;
                CMSt.IsDefault = Mcm.IsDefault__c ;
                CMSt.Label = Mcm.Label__c;
                CMSt.SortOrder = integer.valueOf(Mcm.SortOrder__c);
                cms2Insert.add(CMSt);
        }
    }
}
for(CampaignMemberStatus cm : [select Id, Label, CampaignId from CampaignMemberStatus where CampaignId IN :cam_Set])
    {
    if(cm.Label == 'Sent' || cm.Label == 'Responded')
         {           
            cms2Delete.add(cm);
         }
    }
    database.Delete(cms2Delete);
         
    database.Insert(cms2Insert);
}
}


Thanks In Advance.Please help me in this issue.

The default size of the Community User password is 8 digits...
Can we make the size to  6 characters.....

Small Doubt : Does the password policies are applicable for all the User in the salesforce.
    Here users(Partner User,Community user etc)
I am having a static resource which consists of a text file. I want to show the text on the Visual Force page.
When the ListPrice(Field in OpportunityLineItem)  value is changed(Suppose $100 is changed to $150). then create a Task to Opportunity Owner.stating that ListPrice is changed Please review the SalesPrice.


Note: ListPrice value in OpportunityLineItem is changed only when we change the value  PriceBookEntry.
How to "Add Domain" in 'Domain(SetUp--> Domain Management-->Domain--> Add Domain--> Domain Name).

When i am trying to Add Domain.  I am getting the below error

Error: Salesforce.com can't validate the domain. The CNAME record may still be processing (which can take up to 24 hours), or the domain may not belong to you. Make sure the domain name rewards.mahesh.com uses rewards.mahesh.com.00xx0000000xxxxmau.live.siteforce.com as its CNAME target and try again later.

can anyone suggest me in this issue.

Note : This is not related to site Domain.
I want ro replace the standard salesforce favicon with image which saved in the Static Resource.

Thanks in Advance.
Hi,

Here is my requirement.

When i enter my domain Like "ww.abc.com"  in the Url of a browser. then it should redirect to the force.com site Url like "newdeveloper.force.com" site created in salesforce. but in the url it should show me as "www.abc.com".
the mapping should be done in back-end.

Please help me in this issue.

Thanks in Advance/
When i am tring to bulkify this trigger i am getting this error:

When a new case is created, the externalId value is equal to Product external Id. Th product id value shoul map to the Product__c Custom field in case.


The code:

trigger CreateReqMapProdId on Case (Before Insert)
{  
    list<string> lstExteralId = New list<string>();
    if(trigger.isInsert)
        {  
            for(Case ca : trigger.new)
            {
                lstExteralId.add(ca.ProductExteralId__c);
            }
            Map<Id, Product2> ProdMap = new Map<Id, Product2>([select id,PSCSID__c from Product2]);
                for(Case ca : trigger.new)
                        {  
                            for(Product2 prod : ProdMap.values())
                            {
                            If(ca.ProductExteralId__c != null)
                            {
                               If(ca.ProductExteralId__c == Prod.PSCSID__c)
                                {
                                    ca.Product__c = Prod.Id ;
                                }
                            }
                                                     
                        }
                   
        }
}}


Please help me.
 
I wrote code for it but it throwing Error : first error: DUPLICATE_VALUE, duplicate value found: duplicates value on record with id


Here is the Code :

trigger marketingCms on Campaign (After Insert) {

List<MarketingCMS__c> cust_Mcms =MarketingCMS__c.getAll().Values();
system.debug('*********cust_Mcms **********'+cust_Mcms);                       
set<ID> cam_Set = New set<ID>(); 
RecordType RT=[SELECT Id,Name FROM RecordType WHERE sobjectType='Campaign' AND Name = 'Marketing Campaign'];
List<CampaignMemberStatus> cms2Delete = new List<CampaignMemberStatus>();
List<CampaignMemberStatus> cms2Insert = new List<CampaignMemberStatus>();  
if(trigger.isafter)  {                     
for(Campaign vCam : trigger.new)
{
    if((RT.name=='Marketing Campaign')&&(vCam.type!=null))
    {
    cam_Set.add(vCam.Id);
    CampaignMemberStatus CMSt ;
    for(MarketingCMS__c Mcm : cust_Mcms )
        {
    CMSt = New CampaignMemberStatus();
                CMSt.CampaignId = vCam.id;
                CMSt.HasResponded = Mcm.Responded__c;
                CMSt.IsDefault = Mcm.IsDefault__c ;
                CMSt.Label = Mcm.Label__c;
                CMSt.SortOrder = integer.valueOf(Mcm.SortOrder__c);
                cms2Insert.add(CMSt);
        }
    }
}
for(CampaignMemberStatus cm : [select Id, Label, CampaignId from CampaignMemberStatus where CampaignId IN :cam_Set])
    {
    if(cm.Label == 'Sent' || cm.Label == 'Responded')
         {           
            cms2Delete.add(cm);
         }
    }
    database.Delete(cms2Delete);
         
    database.Insert(cms2Insert);
}
}


Thanks In Advance.Please help me in this issue.

I am having a static resource which consists of a text file. I want to show the text on the Visual Force page.
When the ListPrice(Field in OpportunityLineItem)  value is changed(Suppose $100 is changed to $150). then create a Task to Opportunity Owner.stating that ListPrice is changed Please review the SalesPrice.


Note: ListPrice value in OpportunityLineItem is changed only when we change the value  PriceBookEntry.