• 25 Points
  • Member since 2016

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 13

This has been reported (https://developer.salesforce.com/forums/?id=906F0000000fyRsIAI) before (https://salesforce.stackexchange.com/questions/187113/how-to-deploy-search-layout-containing-custom-fields) in different ways, I expect these two reports are symptoms of the same problem, namely that search layouts do not retrieve and/or deploy correctly using metadata API when they include custom fields and/or buttons.


  1. Add a custom field to Product2 (enable FLS for all profiles to rule that out).
  2. Customize the Price Book Entry default search layout to include that new field
  3. Retrieve the Price Book Entry object using Metadata API
  4. Observe the search layout contains a nil field instead of the custom field.
Here's an example from our org, with 2 custom fields. 
        <searchResultsAdditionalFields xsi:nil="true"/>
        <searchResultsAdditionalFields xsi:nil="true"/>
This makes it impossible to deploy the search layout customization, and it must be recreated by hand in each environment.
I have created a lightning component form to insert Contact record which is having Account Name, First Name, Last Name, Email and all the necessary form fields.

I've overridden the Contact object "New" button with this lightning component.

Consider am currently on the Account Detail page, and scrolling down to click on New button of the contact related list. Now, when the lightning component form is loading, the account name from which I redirected should be populated automatically.

This can be easily done in button if the content type is URL. But how do we achieve the same in lightning component content type?

Any ideas would be appreciated. Thanks!.
I keep getting the following error:
Challenge Not yet complete... here's what's wrong:
Could not find 'Jane Cando' as a territory member of a service territory named 'San Francisco Area'.
However, when you look at the Territory related list you see the following:
User-added image
Jane Candor is in the correct territory.


I am trying to test image recognition to the Cat objet in the Trailhead module Build a Cat Rescue App That Recognizes Cat Breeds and I am get get the following errors :

User-added image

User-added image

Could you please advise ? I can't wait to test this with other images !

Thanks for your help.
I am get this error: "Challenge Not yet complete... here's what's wrong: 
The 'Opp Stage by Adventure' report does not appear to be configured correctly. Make sure it has the correct report type, groupings, filters and chart type".

I believe i configured the report according to the instructions but it is still showing and error. Any assistance or insight would be apreciated. 
Performing the first Challenge of this Superbadge for APEX, I am receiving the below error. But it is not true because the Maintenance Request does indeed have all of the attributes cited when I try via the GUI and via a Test Class. Can someone please tell me what is wrong?

Challenge Not yet complete... here's what's wrong:
Inserting a new Maintenance Request of type 'Routine Maintenance' and then closing it did not create of a new Maintenance Request based upon the original record correctly. The challenge is expecting to find the closed Maintenance Request plus an 'New' Maintenance Request of type 'Routine Maintenance' with the same Vehicle as the closed one.

(Also, the challenge didn't specifically mention that the Case and Product2 objects should be relabeled)
I was strucked while working in the 'Build the Suggestion Box App' within the 'Adding Business Logic' module. I am getting the following error. 
Could anyone help me out?
There was an unhandled exception. Please reference ID: NAVPVMVU. Error: Faraday::ClientError. Message: UNKNOWN_EXCEPTION: An unexpected error occurred. Please include this ErrorId if you contact support: 1094941785-5118 (903104941) 

Thanks In Advance,
This is the Challenge:

To pass this challenge, create an Apex class that inserts a new account named after an incoming parameter. If the account is successfully inserted, the method should return the account record. If a DML exception occurs, the method should return null.The Apex class must be called 'AccountHandler' and be in the public scope.
The Apex class must have a public static method called 'insertNewAccount'.
The 'insertNewAccount' method must accept an incoming string as a parameter, name the account after the parameter, insert it into the system and then return the account record.
The 'insertNewAccount' method must also accept an empty string, catch the failed DML and return null.

My Class:

public class AccountHandler {

    public static Account insertNewAccount (String accName, Account a) {
          a.name = accName;
         insert a;
        return a;
        catch(Exception e) {
            return null;

User-added image

Throwing this error, how many times i modified the class.
what is the correct class.?
Currently I am working on my DEV401 certification and as an excersise I tried making an IBAN validation rule. Since it actually works I thought I post it here. For some reason the rule editor didn't allow me to concatenate numbers so I had to convert them to text first and convert the result back to a number so I could MOD97 it. 
Suggestions for improvement of course are welcome.

<> 1

i am having trouble finding examples to test something like this...


	 	if ( searchStr.length() < 2 ) {
	 		ApexPages.addMessage( new ApexPages.Message(
	 			ApexPages.Severity.INFO, 'Search requires more characters'));
	 		return null;


thank you.