• PAA
  • NEWBIE
  • 12 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 6
    Replies
The challenge is to search for the inserted record with an inline SOSL search, using Execute Anonymous.

This is what I did using Execute Anonymous Window
 
List<List<sObject>> searchList = [FIND 'Mission Control' IN ALL FIELDS 
                                  RETURNING Contact(FirstName, LastName,
                                  Phone, Email, Description)];
Contact[] searchContacts = (Contact[])searchList[0];
System.debug('Found the following contacts:');
for (Contact c : searchContacts) {
   System.debug('"'+c.LastName + ', ' + c.FirstName+'"');
}

But still there's an error when I check the challenge.

Challenge Not yet complete... here's what's wrong: 
Could not find the contact's name in the debug log. Be sure to run a query for your record, and to write your contact's name to the debug log using the System.debug() method.
Please help me for these questions:

1)A Hierarchy Custom Setting stores a specific URL for each profile in Salesforce.
Which statement can a developer use to retrieve the correct URL for the current user´s profile and display this on a Visualforce page?
A.{!$Setup.Url_Settings__c[Profile.Id].URL__c}
B.{!$Setup.Url_Settings_c.Instance[Profile.Id].URL__c}
C.{!$Setup.Url_Settings__c.URL__c}(Missed)
D.{!$Setup.Url_Settings__c[$Profile.Id].URL__c}
I am beginner :  Not able to solve Trailhead challange for-Developer Beginner :Process Automation-Automate Basic Business Processes with Process Builder
"
Create a process to update child record when the parent is updated.
You've been given a requirement to keep Contact addresses in sync with the Account they belong to. Use Process Builder to create a new process that updates all child Contact addresses when the address of the Account record is updated. This process:
Can have any name.
Must be activated.
Must update Contact mailing address fields (Street, City, State, Post Code, Country) when the parent Account shipping address field values are updated.
NOTE: You may have to deactivate the validation rule for the Contacts object (created from a previous challenge) in order to complete this challenge."

 What I had tried 
Deleted validation rule on contact  from previous challange.
 Using Process builder created new Process with below details
Object: Account
Criteria:'Update Address' with condidtion

Field: selected shipping street, city, state,postalcode and country
Operator: Ischanged
Type: boolean
value: true

Condition:
Any condition met (OR)

 For Immediate action
Action name: Mailing address change
Records: Account.contacts
Criteria for Updating Records:No criteria—just update the records!

Set new field values for the records you update:

Field: selected Mailing street, city, state,postalcode and country
Type: Reference
value:  selected shipping street, city, state,postalcode and country

 after this saved and activated. So Once I check challange got below error:
"Challenge Not yet complete... here's what's wrong:
An update to an account record failed to update the mailing address fields of all child contact records. Make sure that the process is correct and that it is activated."

So Please help.





 
Hi All,

i need dispaly this format using  batchapex.. Pd1 – End1; Pd2 – End2; Pd3 – End3; Pd4 – End4.
Any one can give me idea how to i can achive this one .kindly do the needfull.

Thanks!
Deep
Hi All

I am planning to appear for Salesforce Certified Platform Developer I. Not really getting any sample questions or mock questions online.

Appreciate if anybody has any pointers to that!

Thanks In Advance
Priya

Hello all,

 

Is there a way, is it possible, to have a completion date on a milestone populate when a New Case is saved? Either through workflow or code?

I have tried through workflow and code but have been unsuccessful so far. (new to SaleForce:smileysurprised: ).

I have a tried both but have been unsuccessful so far.

 

Thank you for any help you can give!

Frank