• Fe Pradella
  • NEWBIE
  • 0 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 3
    Questions
  • 2
    Replies

Hi All,

I need to retrieve information from Lightning Page View from EventLogFile as pointed on this document: https://developer.salesforce.com/docs/atlas.en-us.224.0.api.meta/api/sforce_api_objects_eventlogfile_lightningpageview.htm

However, when I access this object, the colum I need (PAGE_APP_NAME) does not exists:

User-added image
Not sure exactly if I'm looking at the correct object but I didnt find in the documentation for API another way to find this one... 

I can retrieve data related from LightningPageView however I cannot find the specific information as pointed on documentation:

User-added imageWhat can I missing?

Hi all!

I'm trying to replace an information with [ from JSON (String)..
From:
 "name":[    

To:
"name_list":[ 

I tried couple like:

sResp = SResp.replaceAll('\"name\":\\[', '\"name_list\":\\[');

Nothing seems to work since I cannot get this list after during the execution.

Thanks!!
Hi there, I've created a public class called RltdEnergyAudits that has a public method ExibirRelatedAudits. Looks like this:
 
public class RltdEnergyAudits 
{
    
    public static void ExibirRelatedAudits(List<Energy_Audit__c> Accounts)
    {
        system.debug('Exibir Audits');
    }

}


The class compiles with no errors. When I try to compile a trigger that has a call to the ExibirRelatedAudits method, I get the message "method does not exist or incorrect signature" on the line that calls the method. The trigger looks like this:
 
trigger AccountUpdate on Account (before update) 
{
    if(Trigger.isUpdate)
    {
        List<Account> listaAccounts = [SELECT ID from Account where Id in :Trigger.new];
        RltdEnergyAudits xx = new RltdEnergyAudits();
        xx.ExibirRelatedAudits(listaAccounts);
    }

}

I got error: Method does not exist or incorrect signature: void ExibirRelatedAudits(List<Account>) from the type RltdEnergyAudits

I tried also code bellow but same error:  

Method does not exist or incorrect signature: void ExibirRelatedAudits(List<Account>) from the type RltdEnergyAudits

trigger AccountUpdate on Account (before update) 
{
    if(Trigger.isUpdate)
    {
        List<Account> listaAccounts = [SELECT ID from Account where Id in :Trigger.new];
        RltdEnergyAudits.ExibirRelatedAudits(listaAccounts);
    }

}
Any guidance would be most appreciated. Thank you!
 
Hi all!

I'm trying to replace an information with [ from JSON (String)..
From:
 "name":[    

To:
"name_list":[ 

I tried couple like:

sResp = SResp.replaceAll('\"name\":\\[', '\"name_list\":\\[');

Nothing seems to work since I cannot get this list after during the execution.

Thanks!!