• jems bond
  • 0 Points
  • Member since 2022

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 17
Hi All,

When I have tried to execute the query as 
        "Select Id, Subject from ActivityHistory"

in 'Query Editor' from the developer console in the context of 'System Administrator'.

After executing the query, I got the error as  "entity type ActivityHistory does not support query"

Can anybody will help me how to solve this error?

I have a lightning app which has the remote site settings dynamic.
So, is it a good practice to use metadataService.class (http://technome2.blogspot.com/2017/05/creating-remote-site-settings.html) in post-installation script to add remote site settings for the org?
I am not an expert in lightning components, so I had to post this question.

In lightning, I have an app page. There a is a primarycomponent kept on the lightning page.

<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable"
                access="global" >
 <lightning:button label="Neutral" 
                             title="Neutral action" 

Now I have another component say F1Comp.cmp

<aura:component implements="flexipage:availableForAllPageTypes"
                access="global" >
 <h1> I am F1 Comp </h1>

My requirement is when I click the button In primarycomponentit should call the f1Comp.

How to achieve this?

Please eloborate and suggest approaches.
Any help is welcomed!  I am trying to complete this trailhead challenge -Packaging and ISV App.  I have the 2 seperate orgs created , Developer and Partner Developer.  and have created the App.  However, I am getting this message below:

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: RLCLKDES
Create an app, package it, and install the package in your Developer Edition org.
This challenge will require two orgs: A fresh Partner Developer Edition org (‘Org1’) and the Developer Edition org (‘Org2’) you’re already using here on Trailhead. In Org1, create a managed package containing your app and upload the package. Install the managed package in Org2.
Create a namespace in Org1. Use any unique name for your namespace.
Create an app and a managed package in Org1. Use any name for your managed package.
The app must be named ‘Module Tracker’.
The Module Tracker app must contain a custom object where Object Name = ‘Module’, Label = ‘Module’, and Plural Label = ‘Modules’.
Upload the managed package in Org1.
Install the managed package in Org2.
Note: You must connect Org2 to Trailhead in order to complete the challenge.
Note: Don’t have a fresh Partner Developer Edition org (Org1)? Head back to Creating and Managing ISV Development Orgs for instructions.
Note: Don’t already have a Developer Edition org (Org2)? Sign up here:https://developer.salesforce.com/trailhead/signup

i am a newbie to salesforce and trying to complete this trailhead challenge and unable to find a way through apex to generate this method for creating new contacts with unique id. as one requirement to pass the challenge is "The 'generateRandomContacts' method must be capable of consistently generating contacts with unique first names."

If somebody successfully completed the task kindly help me.