• Carlos Oquendo
  • NEWBIE
  • 0 Points
  • Member since 2017

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies
Hello colleagues, I have a small challenge and some difficulties to achieve it. I have a chart with the Chart.JS library and data from an sObject, so it's easy. But I need to click on a bar to load a component with a list of data filtered by the data in the bar.

If anyone has any idea how to do this event I really appreciate the help.
Hello colleagues, I have a small challenge and some difficulties to achieve it. I have a chart with the Chart.JS library and data from an sObject, so it's easy. But I need to click on a bar to load a component with a list of data filtered by the data in the bar.

If anyone has any idea how to do this event I really appreciate the help.
I am attempting to complete the Execute SOQL and SOSL Queries in the Developer Console Basics module and the challenge is creating logs that have nothing to do with the SOSL inline query that is requested. I have executed the following code in the Execute anonymous window and the challenge still does not show as completed.
 
List<List<sObject>> searchList = [FIND 'Mission Control' IN ALL FIELDS 
                                  RETURNING Contact(FirstName, LastName,
                                  Phone, Email, Description)];
Contact[] searchContacts = (Contact[])searchList[0];

for (Contact c : searchContacts) {
   System.debug(c.LastName + ',' + c.FirstName);
}

So even with the above the challenge still returns with an error of:
 
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.