• Murali Matta
  • SMARTIE
  • 540 Points
  • Member since 2017
  • Salesforce Developer/Administrator
  • Riverbed Technology

  • Chatter
    Feed
  • 17
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 95
    Replies
I have created a custom object Lead__c and it has a email field. I need  to send a standard HTML email Template in Lead__c object's email Id using a custom button "send company profile".

Is there any way to achieve this? 



 
So, I was working on challenge 7 of this superbadge and got a few different errors on the way I was setting up the dashboard, about the third time I went to check the challenge this error pops up:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge.
Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: PRNNBCCA
Close errors


I've been working on this Superbadge from a brand new playground, not sure if now I need to start all over or if there is some way to convert this to a Developer Edition Org. Any help is appreciated, don't want to have to start all over, but also getting this far and not being able to finish is a bummer.
How can i access community builder to update community pages?
I checked all the settings in my profile(System Admin) but still cannot see builder.
 
Using apex how can i differentiate between standard object and custom object?
I have an Id Type of object that might be either a standard object or custom object.
I want to update a Picklist based on certain critieria. Here is the statement I wrote in Process Builder, the issue I am having is it won't update the picklist value to 'New' but instead goes to Null. Can anyone help? Thank you in advance.
Formula: 
IF([Partnership__c].Actual_Launch_Date__c < DATE(2019,1,1), 'Base',

    IF([Partnership__c].Actual_Launch_Date__c >= DATE(2019,1,1) && 
       [Partnership__c].Actual_Launch_Date__c <= DATE(2019,12,31) &&
       [Partnership__c].Merchant__c.Integration_Launch_Date__c < DATE(2019,1,1) &&
       [Partnership__c].Publisher__c.Integration_Launch_Date__c < DATE(2019,1,1)
    ,'Growth',
    IF(([Partnership__c].Actual_Launch_Date__c >= DATE(2019,1,1) && 
[Partnership__c].Actual_Launch_Date__c <= DATE(2019,12,31) &&
([Partnership__c].Merchant__c.Integration_Launch_Date__c >= DATE(2019,1,1) ||
[Partnership__c].Publisher__c.Integration_Launch_Date__c >= DATE(2019,1,1)))
|| 
([Partnership__c].Merchant__c.Integration_Launch_Date__c >= DATE(2019,1,1)  && [Partnership__c].Publisher__c.Integration_Launch_Date__c < DATE(2019,1,1)  )
||
([Partnership__c].Publisher__c.Integration_Launch_Date__c >= DATE(2019,1,1)  && [Partnership__c].Merchant__c.Integration_Launch_Date__c < DATE(2019,1,1)  ), 'New', '')
    )
Hi Friends,
I'm able to add the Price Books to Lightning Sales application using App Manager, but it's not getting displayed in the tab section.

In the add new tab section also it's not there.

But all works well in Salesforce classic
How do you do for account at OWD is private, if the subordinates has to access and superiors should not access
Hello,

What are the impact of deleting the waiting "time based workflow" or "Paused and Waiting Interviews",

 
  • January 02, 2019
  • Like
  • 0
Hi,
I am new to salesforce and i am facing an issue in writing a trigger.
The scenario is All the SALES user profile should be able to delete contact records except those records whose Status is Active.

Please help me in writing trigger.
Any help would be appreciated.

Thanks & Regards,
Ricky
I am using a Workflow with an Outbound message to an other 3rd party app.  I need to know what kind of encryption is used by the outbound message.
Hi all,

I have a question - I created a object that will process new starters in our company and automatically created a user based on the new form.

I also need to send an email to certain people automatically once the form is filled in and created. I need any suggestions or instructions to do this, all will be greatly appreciated.
Modify an AppExchange dashboard
Maria Jimenez is looking for reports and dashboards on AppExchange to track her team's transition to Lightning Experience. Install the AppExchange Dashboard Pack for Sales, Marketing and Service package into your Trailhead Playground and make some modifications. 

You’ll need your hands-on org username and password to complete this challenge. If you're using a Trailhead Playground, this article shows you how to find your username and reset your password. If you have trouble installing the package, follow the steps in this article.

In your Trailhead Playground, install the AppExchange Dashboard Pack for Sales, Marketing and Service.
Clone the 1-Account, Contact & Opportunity Data Quality dashboard and name it My Account and Contact Dashboard.
Add a dashboard filter on the Billing City field so that the dashboard only shows info about Accounts in London.
Save and refresh the dashboard.

I am trying to complete this challenge from past 4 hours still am not able to do it. Please help me guys! Guide me!!!!
Hello guys, I'm wondering if you can help me with re-constarcting formula below in relation to the 3.000 bytes compiled size limit. Following formula is based on a user colour selection of the picklist field and is resulting with the proper code. My issue is that I need to add more colour options and unfortunatelly I'm hitting size limit.

!IF( ISPICKVAL(SCMC__Production_Order__c.Label_Band_Colour__c , "Black"), SCMC__Production_Order__c.Large_Label_Black_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Blue"), SCMC__Production_Order__c.Large_Label_Blue_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Brown"), SCMC__Production_Order__c.Large_Label_Brown_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Green (Dark)"), SCMC__Production_Order__c.Large_Label_Green_Dark_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Green (Light)"), SCMC__Production_Order__c.Large_Label_Green_Light_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Red"), SCMC__Production_Order__c.Large_Label_Red_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Yellow"), SCMC__Production_Order__c.Large_Label_Yellow_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Grey"), SCMC__Production_Order__c.Large_Label_Grey_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Purple"), SCMC__Production_Order__c.Large_Label_Purple_Band__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Band_Colour__c , "Orange"), SCMC__Production_Order__c.Large_Label_Orange_Band__c , 


IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Black"), SCMC__Production_Order__c.Large_Label_Black_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Blue"), SCMC__Production_Order__c.Large_Label_Blue_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Brown"), SCMC__Production_Order__c.Large_Label_Brown_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Green (Dark)"), SCMC__Production_Order__c.Large_Label_Green_Dark_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Green (Light)"), SCMC__Production_Order__c.Large_Label_Green_Light_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Orange"), SCMC__Production_Order__c.Large_Label_Orange_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Red"), SCMC__Production_Order__c.Large_Label_Red_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Yellow"), SCMC__Production_Order__c.Large_Label_Yellow_Body__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Label_Body_Colour__c , "Grey"), SCMC__Production_Order__c.Large_Label_Grey_Body__c , 



IF(ISPICKVAL( SCMC__Production_Order__c.Stripped_Band_Colour__c , "Black"), SCMC__Production_Order__c.Large_Black_Stripped_Band_Label__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Stripped_Band_Colour__c , "Blue"), SCMC__Production_Order__c.Large_Blue_Stripped_Band_Label__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Stripped_Band_Colour__c , "Green (Light)"), SCMC__Production_Order__c.Large_Green_Light_Stripped_Band_Label__c , 
IF(ISPICKVAL( SCMC__Production_Order__c.Stripped_Band_Colour__c , "Red"), SCMC__Production_Order__c.Large_Red_Stripped_Band_Label__c , 
SCMC__Production_Order__c.Large_Label_Standard__c )))))))))))))))))))))))

Many Thanks for help
Trying to use Process Builder to update fields to a related object of the Account. 

The fields to be updated in the custom object are formula fields coming from the Account. 

I've attached my workflow diagram and also the process builder screens.

Any tips on what I need to modify in order to get this to work properly is greatly appreciated. 

Thank you in advance!User-added image
  • September 26, 2017
  • Like
  • 0
 I have tried everything to solve this challenge but still the same error. Please have a look at screen shots. 
User-added image
User-added image
User-added image

Any help greatly appreciated. 
Hi,

I have custom field
Type: Time
Name:Start Time    
which stores and displays the time in my local time zone(PST). How can I convert time to GMT format and display to the user?

Thanks,
Murali
Example: When we click on Save button (assuming exception has occured) it throws an Exception 'Trigger has been failed due to after insert'

Are this Exceptions are stored in Standard objects in Salesforce? If Stored in which object are they stored
Can I recover a sandbox once it is refreshed? Our partial sandbox was accidentally refreshed 15 days ago, and we lost some valued work from our sandbox. It was refreshed and was moved to a different instance eg. CS94 to CS77 after it was refreshed. Is there any possibility to recover the sandbox data from before it was refreshed? Is this a service Salesforce will perform?
I mised my PD1 online proctored exam due to some circumstances. Now can I take the exam again without paying money?  If not how much will i need to pay and when can I take the exam?
Hi ,
How to Replace old picklist value to new picklist values.
It's throwing an error when i'm replacing new picklist value.
EX : "abc" old picklist value
I'm replacing bcd instead of "abc".
Error: The picklist value "bcd" that you're trying to replace doesn't exist for this picklist.

Thanks
KmK
  • March 14, 2019
  • Like
  • 0
I've created a time field on an object and I cannot access the field in process builder. Any ideas?
I have created a custom object Lead__c and it has a email field. I need  to send a standard HTML email Template in Lead__c object's email Id using a custom button "send company profile".

Is there any way to achieve this? 



 
So, I was working on challenge 7 of this superbadge and got a few different errors on the way I was setting up the dashboard, about the third time I went to check the challenge this error pops up:

Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge.
Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: PRNNBCCA
Close errors


I've been working on this Superbadge from a brand new playground, not sure if now I need to start all over or if there is some way to convert this to a Developer Edition Org. Any help is appreciated, don't want to have to start all over, but also getting this far and not being able to finish is a bummer.
Below code is to generate new task and generate email alert when 'Is Eligible to Survey" formula field is true . But i am receiving error as TRUE is not defined . Can someone help please.

{!REQUIRESCRIPT('/soap/ajax/28.0/connection.js')} 
{!REQUIRESCRIPT("/soap/ajax/28.0/apex.js")} 
if({!Contact.Is_Eligible_to_Survey__c} == "TRUE") 
try{ 
var newTask = new sforce.SObject('Task'); 
newTask.OwnerId = '{!$User.Id}'; 
newTask.Subject = 'Officevisit: Walk-In'; 
newTask.Status = 'Completed'; 
newTask.WhoId = '{!Contact.Id}'; 
if({!Contact.Language__c}=="English"){ 
var message = new sforce.SingleEmailMessage(); 

message.targetObjectId = "{!Contact.Id}"; 
message.toAddresses = "{!Contact.Email}"; 
message.templateId = "00X4C000000QvzM"; 

var result = sforce.connection.sendEmail([message]); 

else { 
({!Contact.Language__c}=="Spanish") 
var message = new sforce.SingleEmailMessage(); 

message.targetObjectId = "{!Contact.Id}"; 
message.toAddresses = "{!Contact.Email}"; 
message.templateId = "00X4C000000QvzM"; 


var result = sforce.connection.create([newTask]); 

var ContactToUpdate = new sforce.SObject("Contact"); 
ContactToUpdate.Id = "{!Contact.Id}"; 
ContactToUpdate.Survey_Sent_Date__c = new Date(); 
sforce.connection.update([ContactToUpdate]); 

window.location.reload(); 

if(result[0].success=='true'){ 
alert('The Task was created Successfully.'); 


else{ 
alert('An Error has Occurred. Error: Please Enter Language' + result); 


catch(e){ 
alert('An Un-expected Error has Occurred: Error: ' + e); 
}

Thank you
I'm trying to create a validation rule on a custom object where the record can only be closed by the owner of the record. My formula does not seem to be working for some reason. It allows anyone to continue to close without throwing the validation error. Does anyone have any ideas?

AND(Owner:User.Id  <> $User.Id, ISPICKVAL( Status__c, "Closed"))
Hi every one,

I am trying to inseart opportunityteammember it will getting error

error message -  Illegal assignment from List<Opportunity> to List<Opportunity>
Variable does not exist: id



trigger optTeam on Opportunity (after insert) {
    
    List<opportunity> opty = trigger.new;
    user u =[select id from user where alias='reddy    '];
    List<opportunityteammember> optyteam = new list<opportunityteammember>();
    
    for(opportunity op : opty){
        opportunityteammember opt = new opportunityteammember();
        opt.opportunityid=op.id;
        opt.teammemberrole='Hr';
        opt.userid=u.id;
        opt.opportunityaccesslevel='read';
     optyteam.add(opt);
      }
    
    insert optyteam;
  }
I need help with creating a field that auto-populates the “Standard Price” from the Product object into a field called “Base Price” in the Transactions custom object.
 
Use Case:
 
When a Transaction record is created, the Item Number should be looked up in the Product object "Product Code", then the "Standard Price" should be returned in the "Base Price" field
 
Example:
 
The transaction is created with item number 2200, we should look up the Product object and find the Product with Product code 2200.  Then we should return the standard price of $80.00 into the “Base Price” field.
Hii sir,

i have one more requirement.

I have Account object and related Custom object called Type.

if i updated Type object. update the user fieds with Account phone field.

Thanks.
Hi Trying to complete the Bus Admin Specialist Super Badge and getting the following error on the report and dashboard part: Challenge Not yet complete... here's what's wrong: 
There was an unexpected error while verifying this challenge. Usually this is due to some pre-existing configuration or code in the challenge Org. We recommend using a new Developer Edition (DE) to check this challenge. If you're using a new DE and seeing this error, please post to the developer forums and reference error id: ZNELWIRL

Can someone help?