-
ChatterFeed
-
9Best Answers
-
1Likes Received
-
0Likes Given
-
2Questions
-
111Replies
Apex classes not working if not a Sys Admin
Good afternoon everyone, I am currently running in an issue with an Apex Class. In my case, the custom delete button for the opportunity object is not working on any profile outside of Sys Admin. I've checked the Apex Class Security and all is good there, as well as the API enabled for other profiles but nothing seems to allow it to work under any other profile. Does anyone have any ideas on what could be prohibiting this from functioning?
Thank you
Thank you
-
- Gabriel Meneses 10
- July 05, 2017
- Like
- 0
- Continue reading or reply
Need help for todisplay contact firstname and lastname
Hi Team,
Am facing to include the contact firstname and last name on below statement.
Your request to grant new partner user access to the traditional partner portal has been provided.
We wants to be display like ": Your request to grant new user access to the traditional partner portal for ContactFirstName ContactLastName has been provided."
I have tried below statement which is not working.
body=body+'Your request to grant new partner user access to the traditional partner portal for +u.FirstName+', '+u.LastName+ has been provided.<br/><br/>';
Can any one please help us for this issue.
Thanks
Am facing to include the contact firstname and last name on below statement.
Your request to grant new partner user access to the traditional partner portal has been provided.
We wants to be display like ": Your request to grant new user access to the traditional partner portal for ContactFirstName ContactLastName has been provided."
I have tried below statement which is not working.
body=body+'Your request to grant new partner user access to the traditional partner portal for +u.FirstName+', '+u.LastName+ has been provided.<br/><br/>';
Can any one please help us for this issue.
Thanks
-
- Sfdc Siva
- June 13, 2017
- Like
- 0
- Continue reading or reply
How do I mass edit all record in Custom object?
Hi, I am having problems in undertaking one project, that's problem is mass edit record in custom object.
not selected edit, How can I mass edit all record for Related Custom object?
Examples:



Thanks
not selected edit, How can I mass edit all record for Related Custom object?
Examples:
Thanks
-
- Seung Ju Kim
- June 12, 2017
- Like
- 0
- Continue reading or reply
Issues with Trailhead "Build a Suggestion Box App" Badge / Module
Hi all,
I spotted 2 issues with Trailhead "Build a Suggestion Box App" badge.
- Step: "Modify the User Experience"
- Got error an while veryfing the challenge
- Managed to find (using Debug Log) that challenge verification process is looking for a "test" pick list value which isn't on the picklist challenge wants us to build
- This one was solved.
- Managed to find (using Debug Log) that challenge verification process is looking for a "test" pick list value which isn't on the picklist challenge wants us to build
- This one was solved.
The second one I believe is a little bit trickier...
- Step: "Adding Business Logic"
- Create formula field "Number of Days Open" as requested
- Got error when verifying challenge:
"Challenge Not yet complete... here's what's wrong:
The 'Number of Days Open' custom formula field does not exist. Tip: check for typos in the field name."
- Create formula field "Number of Days Open" as requested
- Got error when verifying challenge:
"Challenge Not yet complete... here's what's wrong:
The 'Number of Days Open' custom formula field does not exist. Tip: check for typos in the field name."
But everything seems to be OK on configuration size...
Any ideas?
Thanks in advance for your support.
Pedro
-
- Pedro Gonçalo Neves
- May 31, 2017
- Like
- 0
- Continue reading or reply
Chat Button
Hello dear community!
Im stuck at the Build Your Branding, Button, and Deployment module in Trailhead with the following error:
"Chat Button is not setup properly. Please follow instructions carefully."
I absolutely do not understand what part is wrong so if someone could help me out that would be fantastic!
My Chat Button is as following:
Type Chat Button
Name Chat Button
Developer Name Chat_Button
Site for Resources BruxistPlayground
Online Image ChatWindow
Greetings from a newbie
-
- Ruben Halman
- May 30, 2017
- Like
- 0
- Continue reading or reply
I have a brand new DE and seeing this error, please post to the developer forums and reference error id: SFFNFRMO
I am attempting Trailhead Extend Reports with Dashboards and Apps
with a brand new DE and seeing this error- reference error id: SFFNFRMO
with a brand new DE and seeing this error- reference error id: SFFNFRMO
-
- Patrick Burke 38
- May 25, 2017
- Like
- 0
- Continue reading or reply
Missing something on the Animal Locator exercise
I don't know what I am doing wrong. I've been working on the Animal Locator exercise in trailhead having to do with REST API Callouts and just can not get the result I'm working on to pass the 'Challenge'. My code is 100% tested, and it seems to meet all the criteria, but I keep getting the following message: "Challenge Not yet complete... here's what's wrong:
Executing the 'getAnimalNameById' method on 'AnimalLocator' failed. Make sure the method exists with the name 'getAnimalNameById', is public and static, accepts an Integer and returns a String."
Below is my code:
AnimalLocator.apxc (Class)
public class AnimalLocator {
public static string getAnimalNameById(integer numSubmitted) {
Http http = new Http();
HttpRequest request = new HttpRequest();
request.setEndpoint('https://th-apex-http-callout.herokuapp.com/animals/' + numSubmitted);
request.setMethod('GET');
HttpResponse response = http.send(request);
string replyName = 'None returned';
if (response.getStatusCode() == 200) {
replyName = response.getBody();
}
return replyName;
}
}
AnimalLocatorTest.apxc
@IsTest
private class AnimalLocatorTest {
@isTest static void testGetCallout() {
// Set mock callout class
Test.setMock(HttpCalloutMock.class, new AnimalLocatorMock());
// This causes a fake response to be sent
// from the class that implements HttpCalloutMock.
String animalname = AnimalLocator.getAnimalNameById(2);
// Verify that the response received contains fake values
String expectedValue = 'Charles H Bones Esquire';
System.assertEquals(animalname, expectedValue);
}
}
AnimalLocatorMock.apxc
@IsTest
global class AnimalLocatorMock implements HttpCalloutMock {
//Implement this interface method
global HTTPResponse respond(HTTPRequest request) {
// Create a fake response
HttpResponse response = new HttpResponse();
response.setHeader('Content-Type', 'application/json');
response.setBody('Charles H Bones Esquire');
response.setStatusCode(200);
return response;
}
}
My code is saved and closed out of and the challenge still fails. Any suggestions would be greatly appreciated. Thanks!
Executing the 'getAnimalNameById' method on 'AnimalLocator' failed. Make sure the method exists with the name 'getAnimalNameById', is public and static, accepts an Integer and returns a String."
Below is my code:
AnimalLocator.apxc (Class)
public class AnimalLocator {
public static string getAnimalNameById(integer numSubmitted) {
Http http = new Http();
HttpRequest request = new HttpRequest();
request.setEndpoint('https://th-apex-http-callout.herokuapp.com/animals/' + numSubmitted);
request.setMethod('GET');
HttpResponse response = http.send(request);
string replyName = 'None returned';
if (response.getStatusCode() == 200) {
replyName = response.getBody();
}
return replyName;
}
}
AnimalLocatorTest.apxc
@IsTest
private class AnimalLocatorTest {
@isTest static void testGetCallout() {
// Set mock callout class
Test.setMock(HttpCalloutMock.class, new AnimalLocatorMock());
// This causes a fake response to be sent
// from the class that implements HttpCalloutMock.
String animalname = AnimalLocator.getAnimalNameById(2);
// Verify that the response received contains fake values
String expectedValue = 'Charles H Bones Esquire';
System.assertEquals(animalname, expectedValue);
}
}
AnimalLocatorMock.apxc
@IsTest
global class AnimalLocatorMock implements HttpCalloutMock {
//Implement this interface method
global HTTPResponse respond(HTTPRequest request) {
// Create a fake response
HttpResponse response = new HttpResponse();
response.setHeader('Content-Type', 'application/json');
response.setBody('Charles H Bones Esquire');
response.setStatusCode(200);
return response;
}
}
My code is saved and closed out of and the challenge still fails. Any suggestions would be greatly appreciated. Thanks!
-
- Eric Anderson 54
- April 19, 2017
- Like
- 0
- Continue reading or reply
-
- Alvaro Mattos
- April 12, 2017
- Like
- 0
- Continue reading or reply
Lightning Alternatives to JavaScript Buttons Discover Lightning Actions - Trailhead
I am having trouble with what I am to do with this trailhead module. I am at this stage and have installed lightning component quickcontact.
I am not a dev so this is hard for me.
Create a Lightning Action
To complete this challenge, you need to add a Lightning component to your org. Then use that component to create a Lightning action on the Account object. When the action’s button is clicked, it creates a new contact based on form input. To get started, install this package that contains the component bundle that you'll need to modify.
The Lightning component must be named quickContact. (Does this name need to include the capital C in contact? It is loaded as all lowercase)
Add the appropriate interfaces to the quickContact component. (Hint: there are two.) What does this mean? Is this referring to editing the code?
Create a new action with Label Quick Contact and Name Quick_Contact on the Account object that invokes the quickContact component.
Add the action to the Account Layout page layout.
Having trouble installing your app? Read this article for help.
Any tips would be greatly appreciated.
I am not a dev so this is hard for me.
Create a Lightning Action
To complete this challenge, you need to add a Lightning component to your org. Then use that component to create a Lightning action on the Account object. When the action’s button is clicked, it creates a new contact based on form input. To get started, install this package that contains the component bundle that you'll need to modify.
The Lightning component must be named quickContact. (Does this name need to include the capital C in contact? It is loaded as all lowercase)
Add the appropriate interfaces to the quickContact component. (Hint: there are two.) What does this mean? Is this referring to editing the code?
Create a new action with Label Quick Contact and Name Quick_Contact on the Account object that invokes the quickContact component.
Add the action to the Account Layout page layout.
Having trouble installing your app? Read this article for help.
Any tips would be greatly appreciated.
-
- Toxtar
- April 12, 2017
- Like
- 1
- Continue reading or reply
Remediate CRUD and FLS violations in Apex
My code is given below. It displays error to me:
Error: Compile Error: Method does not exist or incorrect signature: [Schema.DescribeFieldResult].isCreatable() at line 44 column 25
Error: Compile Error: Method does not exist or incorrect signature: [Schema.DescribeFieldResult].isCreatable() at line 44 column 25
public with sharing class CRUD_FLS_Create_Challenge{ public Id newUser {get;set;} public List<Personnel__c> getUnReg() { unregisteredUsers = new List<Personnel__c>(); List<Jouster__c> currentParticipants = [ select Participant_Name__r.Name from Jouster__c ]; List<Personnel__c> currentPersonnel = [ select Id, Name, Favorite_Color__c, Castle__r.Name from Personnel__c limit 15]; Boolean reg; System.debug(currentParticipants); System.debug(currentPersonnel); for( Personnel__c p : currentPersonnel) { reg = false; for(Jouster__c j : currentParticipants) { if(j.Participant_Name__r.Name == p.Name) { reg = true; break; } } if(reg == false) unregisteredUsers.add(p); } System.debug(unregisteredUsers); return unregisteredUsers; } public Jouster__c newParticipant {get;set;} public List<Personnel__c> unregisteredUsers; public void register(){ System.debug(newUser); Personnel__c p = [select Name, Favorite_Color__c, Castle__r.Name from Personnel__c where Id =: newUser]; if (!Schema.sObjectType.Jouster__c.fields.Participant_Name__c.isCreatable()) { if (!Schema.sObjectType.Jouster__c.fields.Color__c.isCreatable()) { if(!Schema.sObjectType.Jouster__c.fields.Favorite_Color__c.isCreatable()) { if(!Schema.sObjectType.Jouster__c.fields.Castle__c.isCreatable()) { ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR,'Error: Insufficient Access')); } } } } if([select id from Jouster__c where Participant_Name__r.Name =: p.Name] != null) insert new Jouster__c(Participant_Name__c=newUser, Color__c=p.Favorite_Color__c, Castle__c=p.Castle__c); else ApexPages.addMessage(new ApexPages.Message(ApexPages.Severity.ERROR,'Error: Jouster already entered in Tournament')); } public string[] getPermSets(){ String[] permSetArray = new List<string>(); PermSetArray.add('User with Read ONLY Access to the Jousters object'); // description of the needed permission set return permSetArray; } }
-
- Alap Mistry
- March 30, 2017
- Like
- 0
- Continue reading or reply
Automate Your Business Processes>Workflow Rule Migration>Map Your Workflow Actions to Process Actions
A Create a Record action for the Closed Won criteria node isn’t properly configured. Make sure that it creates a task and uses the same field settings as the ‘Follow up on new contract’ task action. Make sure that Due Date Only is set by using a formula.

Hep me for this Problem!
Hep me for this Problem!
-
- Alap Mistry
- March 30, 2017
- Like
- 1
- Continue reading or reply
Automate Your Business Processes>Workflow Rule Migration>Map Your Workflow Actions to Process Actions
A Create a Record action for the Closed Won criteria node isn’t properly configured. Make sure that it creates a task and uses the same field settings as the ‘Follow up on new contract’ task action. Make sure that Due Date Only is set by using a formula.

Hep me for this Problem!
Hep me for this Problem!
-
- Alap Mistry
- March 30, 2017
- Like
- 1
- Continue reading or reply
Trailhead - Salesforce DX Convert and Deploy an Existing App - error mdapioutput
Hi,
Curently doing the App Development with Salesforce DX / Convert and Deploy an Existing App.
I have the following error when performing the final deployment task :
Error mdapioutput/applications/DreamInvest.app DreamInvest In field: tab - no CustomTab named Fund_Explorer found
Error mdapioutput/flexipages/Fund_Explorer.flexipage Fund_Explorer You must have My Domain deployed to use component c:FundTileList.
Error mdapioutput/tabs/Fund_Explorer.tab Fund_Explorer In field: flexiPage - no FlexiPage named Fund_Explorer found
Do you know why ?
Regards,
Erwan
Curently doing the App Development with Salesforce DX / Convert and Deploy an Existing App.
I have the following error when performing the final deployment task :
Error mdapioutput/applications/DreamInvest.app DreamInvest In field: tab - no CustomTab named Fund_Explorer found
Error mdapioutput/flexipages/Fund_Explorer.flexipage Fund_Explorer You must have My Domain deployed to use component c:FundTileList.
Error mdapioutput/tabs/Fund_Explorer.tab Fund_Explorer In field: flexiPage - no FlexiPage named Fund_Explorer found
Do you know why ?
Regards,
Erwan
- Erwan Yhuellou
- September 04, 2017
- Like
- 0
- Continue reading or reply
Salesforce DX trailhead error: You do not have access to the [scratchorgiinfo] object
I installed Developer Hub Trial Org 64-bit Windows option.
I created a trial project with:
sfdx force:project:create -n geolocation
But, when I try to create the scratch org with:
sfdx force:org:create -s -f config/project-scratch-def.json -a GeoAppScratch
I get this:
ERROR running force:org:create: You do not have access to the [scratchorgiinfo] object
I've tried several suggested fixes that I found when I searched for the above error. None has resolved the issue for me.
I created a trial project with:
sfdx force:project:create -n geolocation
But, when I try to create the scratch org with:
sfdx force:org:create -s -f config/project-scratch-def.json -a GeoAppScratch
I get this:
ERROR running force:org:create: You do not have access to the [scratchorgiinfo] object
I've tried several suggested fixes that I found when I searched for the above error. None has resolved the issue for me.
- Nancy Smith 32
- August 24, 2017
- Like
- 0
- Continue reading or reply
Process Automation Specialist Superbadge Step 2
I'm unable to check step 2: Automate Accounts because I'm receiving this error: 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: ZKCVFIZH
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: ZKCVFIZH
- Michele Losch 4
- July 26, 2017
- Like
- 1
- Continue reading or reply
Unable to create project in sfdx!!!
Hi,
While attempting trailhead App Development with Salesforce DX, I am trying to create a project using SFDX command as shown below:

But I am getting a message which says the command is not available. Please help.
Regards,
Shyam Nair
While attempting trailhead App Development with Salesforce DX, I am trying to create a project using SFDX command as shown below:
But I am getting a message which says the command is not available. Please help.
Regards,
Shyam Nair
- Shyam Nair
- July 14, 2017
- Like
- 0
- Continue reading or reply
Apex classes not working if not a Sys Admin
Good afternoon everyone, I am currently running in an issue with an Apex Class. In my case, the custom delete button for the opportunity object is not working on any profile outside of Sys Admin. I've checked the Apex Class Security and all is good there, as well as the API enabled for other profiles but nothing seems to allow it to work under any other profile. Does anyone have any ideas on what could be prohibiting this from functioning?
Thank you
Thank you
- Gabriel Meneses 10
- July 05, 2017
- Like
- 0
- Continue reading or reply
Not able to finish Trailhead Module - AppExchange Packages
Hi,
Was trying to finish the last module in this trail. I already had the package installed from a previous module. Except when I click 'Check Challenge,' I get an error: "There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has more than 1 row for assignment to SObject."
I'm confused because 1) I'm still learning Salesforce and 2) Besides doing each module like I am asked, I'm not sure where this error could be coming from.
I did just complete the Process Automation Modules.
Any suggestions for what this could be from? Any help would be greatly appreciated.
Thank you.
Was trying to finish the last module in this trail. I already had the package installed from a previous module. Except when I click 'Check Challenge,' I get an error: "There was an unexpected error in your org which is preventing this assessment check from completing: System.QueryException: List has more than 1 row for assignment to SObject."
I'm confused because 1) I'm still learning Salesforce and 2) Besides doing each module like I am asked, I'm not sure where this error could be coming from.
I did just complete the Process Automation Modules.
Any suggestions for what this could be from? Any help would be greatly appreciated.
Thank you.
- James Kase 4
- July 04, 2017
- Like
- 0
- Continue reading or reply
Build an Instant Notification App The 'cometd' static resource was not found. Check for typos.
When I try to verify the Subscribe to a Platform Event step I am getting the error:
Challenge Not yet complete... here's what's wrong:
The 'cometd' static resource was not found. Check for typos.
The thing is, I am getting the bear watch notifications. Any idea as to why this error is occurring?
Challenge Not yet complete... here's what's wrong:
The 'cometd' static resource was not found. Check for typos.
The thing is, I am getting the bear watch notifications. Any idea as to why this error is occurring?
- J Yach
- June 29, 2017
- Like
- 0
- Continue reading or reply
Data Management Data Import Challenge
It looks like after the Summer '17 Release, a module that I completed, Data Management, has changed and I am now trying to re-take. I'm having difficulty clearing the first module which is importing data with the Wizard. I am attaching the screen shots of where I am getting stuck - I'm not sure what or if I am doing something wrong (the system doesn't let me map the fields). Any advice would be appreciated!



- Lisa Soulet
- June 25, 2017
- Like
- 0
- Continue reading or reply
INSUFFICIENT_ACCESS when i tried to get a user's messages
when i tried to request this using my app,
'https://na35.salesforce.com/services/data/v40.0/chatter/messages/00541000001VKu9AAG'
i got this error
[{u'errorCode': u'INSUFFICIENT_ACCESS', u'message': u'You do not have permission to execute that operation.'}]
could you guys help me out for solve this?
'https://na35.salesforce.com/services/data/v40.0/chatter/messages/00541000001VKu9AAG'
i got this error
[{u'errorCode': u'INSUFFICIENT_ACCESS', u'message': u'You do not have permission to execute that operation.'}]
could you guys help me out for solve this?
- Devteam 3
- June 16, 2017
- Like
- 0
- Continue reading or reply
Trailhead challenge error - Customizing Compact Layouts
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: SWIHLQEM
- dhuang
- June 13, 2017
- Like
- 0
- Continue reading or reply
wave trail hands on challenge
I am unable to complete the hands-on challenge "Create a lens that shows which industry is buying the most laptops" I continue to receive the following error even after multiple attempts.
"Challenge Not yet complete... here's what's wrong:
The 'Top Laptop Industry' lens does not appear to have the correct query. Please check the requirements and ensure everything is setup correctly."
"Challenge Not yet complete... here's what's wrong:
The 'Top Laptop Industry' lens does not appear to have the correct query. Please check the requirements and ensure everything is setup correctly."
- Jason Zuziak
- June 13, 2017
- Like
- 0
- Continue reading or reply
Need help for todisplay contact firstname and lastname
Hi Team,
Am facing to include the contact firstname and last name on below statement.
Your request to grant new partner user access to the traditional partner portal has been provided.
We wants to be display like ": Your request to grant new user access to the traditional partner portal for ContactFirstName ContactLastName has been provided."
I have tried below statement which is not working.
body=body+'Your request to grant new partner user access to the traditional partner portal for +u.FirstName+', '+u.LastName+ has been provided.<br/><br/>';
Can any one please help us for this issue.
Thanks
Am facing to include the contact firstname and last name on below statement.
Your request to grant new partner user access to the traditional partner portal has been provided.
We wants to be display like ": Your request to grant new user access to the traditional partner portal for ContactFirstName ContactLastName has been provided."
I have tried below statement which is not working.
body=body+'Your request to grant new partner user access to the traditional partner portal for +u.FirstName+', '+u.LastName+ has been provided.<br/><br/>';
Can any one please help us for this issue.
Thanks
- Sfdc Siva
- June 13, 2017
- Like
- 0
- Continue reading or reply
Lemonade Project
Hi i get on 2 modules error... in the beginning creating object models:
Challenge Not yet complete... here's what's wrong:
Could not find an app named 'Lemonade Stand'
And on Report and Dashboard: The 'Pending Orders by Queue' report does not appear to be using the correct filter of 'Status = Placed'.
Any advice for me? Thanks a bunch in advanced
Challenge Not yet complete... here's what's wrong:
Could not find an app named 'Lemonade Stand'
And on Report and Dashboard: The 'Pending Orders by Queue' report does not appear to be using the correct filter of 'Status = Placed'.
Any advice for me? Thanks a bunch in advanced
- Corinna Sameli
- June 11, 2017
- Like
- 0
- Continue reading or reply
Wave Dashboard Navigation - Personalize your Analytics
Receving error that notification isn't on the dashboard, although it's present and active.
Why won't this challenge clear me?
Why won't this challenge clear me?
- Marypearl Parnell
- February 21, 2017
- Like
- 0
- Continue reading or reply