• Jess Burgh
  • NEWBIE
  • 35 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 48
    Replies
Hey all I seem to be stuck on this one step for this project. Not sure what I'm doing wrong. Created a new playground to work on and kept getting this error message User-added imageThanks for any suggestions!
This no longer works as described in the Trailhead.  Selecting "User with Limited Access to Treasures" on the CRUD & FLS Visualforce Demo tab yields an "insufficient access" error with no data returned.
I'm trying to complete the Challenge for the Trailhead: Control Access to the Mobile App. None of the mobile apps are showing up as connected which has me at a stalemate. I am wondering if the problem is, my Trailhead is attached to my LinkedIn profile, not my work email. I don't know how to get around this - I have the IOS app on both my ipad and iphone but they are attached to my work.

Any suggestions?
Hello, I will appreciate your help on this please: 
Need help to understand what I am doing wrong.

In developer intermediate section of trailhead
API Basics: Use bulk API challenge

Import Accounts Using Bulk API and Workbench
Using Bulk API and Workbench, import these account records (a CSV file).

This is what I tried in workbench:

Step 1:  /services/data/XX.0/jobs/ingest
Executed POST

Step 2: /services/data/XX.0/jobs/ingest/jobID/batches
Changed Headers Content-Type to text/csv
"/Users/ediz/Downloads/bulkv2hocdata.csv"
Executed PUT

Step3: /services/data/XX.0/jobs/ingest/jobID. 
In the request body, replaced the text with the following JSON text.
{
   "state" : "UploadComplete"
}

Executed PATCH
 
On the Trailhead challenge for Create and Run a Bulk Macro I am getting the error "The instruction isn't available" when running the macro. The errant instruction is "Select Status Change Action."

I've reviewed all of the suggestions from this article and am still getting the error. What could be causing this?

https://help.salesforce.com/articleView?id=000220033&type=1

I'm running the test under a System Administrator account, which has the full access to the Case object and full FLS access to the Status field.

The Change Status action is on the page layout, and the Status field is on the action's layout: 

User-added image

I can execute the action from the Case Feed, and the Status field is available:

User-added image

Any ideas as to why the macro won't run?


 
Hello,
I tried many times... but receive the same error message : "Challenge Not yet complete... here's what's wrong: 
Formula in custom field 'Account Annual Revenue' is not correct. Check the instructions."
I followed all instructions & get the right results. It's a basic & very simple formula.
Do someone else encounter the same issue ? Any solution ?
Hi,
According to the requirement of Project  I have created Lense named worldwide_sales_with_flags. But still I am getting the error:User-added imageUser-added image
I'm trying to complete the Handle Record Changes and Errors module but can't seem to get past the following challenge error:
Challenge Not yet complete... here's what's wrong: 
The 'accEdit' Lightning Component JS Controller does not appear to be setting 'v.recordSaveError' with an error message.

.I've tried many different combinations of sets and am not having much luck.

I've tried several different component.set methods such as this one:
component.set('v.recordSaveError','Error: ' + saveResult.state + ', message: ' + JSON.stringify(saveResult.error));

Any ideas what this module is looking for as a valid solution?

I do see recordSaveError display after being set due to an error.

Thanks.
 
On the "Install an AppExchange dashboard package and make updates to one of the dashboards" challenge, I do not have the option to change the wedges to Lead source.... Only prospect source. Has anyone else encountered this issue? 
Hi All, I am working on the Unit of Work Principles trailhead and seem to be stuck, I cannot get it to pass even though the test passes. I surmise it may be because it is testing other tests and looking for 100% code coverage across the board. Are there any steps I should take. Here is my code below. Hope it helps.
 
@isTest
public class UnitOfWorkTest {
    @isTest static void challengeComplete(){
        fflib_SObjectUnitOfWork uow = new fflib_SObjectUnitOfWork(
            new Schema.SObjectType[]{
                Account.SObjectType,
                Contact.SObjectType,
                Note.SObjectType
            }
        );
        
        for (Integer i=0 ; i<100 ; i++) {
            Account a = new Account(Name= 'Test' + i);
            uow.registerNew(a);
            
            for (Integer j=0 ; j<5 ; j++) {
                Contact c = new Contact(LastName = 'Test'+i + ' ' +j);
                uow.registerNew(c, Contact.AccountId, a);
                
                Note n = new Note(Body='Test '+i + '' + j, Title='Test'+i+j);
                //uow.registerRelationship(n, Note.ParentId, a);
                //uow.registerNew(n, Note.ParentId, a);
                uow.registerNew(n, Note.ParentId, c);
            }
        }

        uow.commitWork();
 
        fflib_SObjectUnitOfWork uow2 = new fflib_SObjectUnitOfWork(
            new Schema.SObjectType[]{
                Account.SObjectType,
                Contact.SObjectType,
                Note.SObjectType
            }
        );        
        
        Id oldAccountId;
        Account a2;
        for (Contact c : [SELECT Id, LastName, AccountId, Account.Name, (SELECT Id, ParentId, Title, Body FROM Notes) FROM Contact Order By AccountId, Id]) {
            
            if (oldAccountId != c.AccountId) {
                oldAccountId = c.AccountId;
                a2 = new Account(Id=c.AccountId, Name='Test');
                uow2.registerDirty(a2);
            }
            
                c.LastName = 'Test';
                uow2.registerDirty(c);
                

                c.Notes[0].Body = 'Test';

                uow2.registerDirty(c.Notes[0]);

        }        
        
        test.startTest();
        uow2.commitWork();
        //uow.commitWork();
        test.stopTest();
        
        System.assertEquals(100, [Select Id from Account].size());
        System.assertEquals(500, [Select Id from Contact].size());
        System.assertEquals(500, [Select Id from Note].size());
    }
}

 
Hi All,

I receive the following error when attempting to check the challenge for Apply Unit of Work

Challenge Not yet complete... here's what's wrong: 
The 'challangeComplete' method in the 'UnitOfWorkTest' class has not successfully passed all tests. Ensure that you run the tests and it passes successfully before attempting this challenge again.

However, when I run my code in Developer Console, my test passes.  Any ideas on the problem?  Here is the code:

@isTest
public class UnitOfWorkTest {
    @isTest static void challengeComplete(){
        fflib_SObjectUnitOfWork uow = new fflib_SObjectUnitOfWork(
            new Schema.SObjectType[]{
                Account.SObjectType,
                Contact.SObjectType,
                Note.SObjectType
            }
        );
        
        for (Integer i=0 ; i<100 ; i++) {
            Account a = new Account(Name= 'Test' + i);
            uow.registerNew(a);
            
            for (Integer j=0 ; j<5 ; j++) {
                Contact c = new Contact(LastName = 'Test'+i + ' ' +j);
                uow.registerNew(c, Contact.AccountId, a);
                
                Note n = new Note(Body='Test '+i + '' + j, Title='Test'+i+j);
                uow.registerRelationship(n, Note.ParentId, a);
                uow.registerNew(n, Note.ParentId, a);
            }
        }

        uow.commitWork();
 
        fflib_SObjectUnitOfWork uow2 = new fflib_SObjectUnitOfWork(
            new Schema.SObjectType[]{
                Account.SObjectType,
                Contact.SObjectType,
                Note.SObjectType
            }
        );        
        for (Account a : [SELECT Id, Name, (SELECT Id, LastName FROM Contacts), (SELECT Id, ParentId, Title, Body FROM Notes) FROM Account]) {
            a.Name = 'Test';
            uow2.registerDirty(a);
            
            Integer i = 0;
            for (Contact c : a.Contacts) {
                c.LastName = 'Test';
                uow2.registerDirty(c);
                
                a.Notes[i].Body='Test';
                uow2.registerDirty(a.Notes[i]);
                i++;
            }
        }        
        
        test.startTest();
        uow2.commitWork();
        test.stopTest();
        
        System.assertEquals(100, [Select Id from Account].size());
        System.assertEquals(500, [Select Id from Contact].size());
        System.assertEquals(500, [Select Id from Note].size());
    }
}
Challenge Not yet complete... here's what's wrong: 
The Campaign object has does not appear to have an Account lookup field called "Chapter". 
Note: you may run into errors if you've skipped previous steps.
This is the error I am getting when trying to verify my step.

This is the link to the trailhead question. 

I did all the steps as it said but I can't get it to pass.

These fields I made are placed in "Campaign" object that I created (there was no existing Campaign object in my env
Above are the fields I created in the "Campaign" custom object. I had to create it because no existing object.

User-added image
As you can see, it does have the lookup field to account.

So why am I still getting the error?
Hi,

trying to complete the challenge, I have the following error:
The "Customer Community User" for the contact "Edna Frank" is not created properly.

More info, hope this helps finding the problem:
The contact exist, in Admin > Users> User license is "Customer Portal Manager Standard", when I try to change it to "Customer community" i'm getting the error "cannot upgrade from or downgrade to LPU"
The contact is assigned to the account "Customers", there is a case associated to it, with Contact Name = Edna Frank
I created the Sharing Set Settings and configured the access (User:Account = Case:Account, Read/Write). The community is active.
Oddly enough, I cannot log in as Edna Frank.
If I'm trying to create a new user, I receive the following error: "Your request cannot be processed at this time. The site administrator has been alerted.
The account associated with this portal has no owner". The created account is "Customers" and I double checked, i'm the owner of this account.
I've received a message "Customers registration accountId parameter value is not valid."

Any idea or clues on how to solve this ?
Can folks who have completed Salesforce Connect Trailhead help?

I am getting the following error:
Challenge Not yet complete... here's what's wrong: 
An external object with the API name Phone_Plan__x does not exist

The instruction on the Challenge says
Note that you will need to adjust the Object Names for the two external objects from the default setting after the initial sync.

So, I go to the External Object and changed the API to Phone_Plan__x

This gives me a validation error
Error: The Object Name field can only contain underscores and alphanumeric characters. It must be unique, begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. 

It says the Object Name field should not contain two consecutive underscores.  But, the API name does contain two consecutive underscores at the end.

Can someone please help?

Thanks,
Munira

 
Hello,

I am going through the "Use Bulk API" through trailhead and creating the rest explorer connection using session id, everything seesm to be intatc though unsure why it is throwing an error as""exceptionCode":"InvalidSessionId","exceptionMessage":"Unable to find session id"}". Here is my code:

Request Headers: 
Content-Type: application/json; charset=UTF-8
Accept: application/json
X-SFDC-Session:
00D90000000uCn4!AREAQB0wLmf61zu6bgGqGk2u3X0abJKxDdgIT2EsV7CewXQgWMzHObOauNzDeX.fypHNiJmjPY4SPi.qSCSmf01lRuGn83jt

Request Body:

{
"operation": "insert",
"object"   : "Account",
"contectType" : "JSON"

}

Please help.
I receive this error when I check my challenge.

User-added image
Challenge not yet complete... here's what's wrong: 
An account with a related opportunity did not calculate the correct potential value.

The task was to Create a rollup summary field that determines the potential value of the opportunities associated with an account.
Add a custom field to the standard account object that provides a rollup summary of the total expected revenue from all related opportunities.The rollup summary field should be labeled 'Potential Value' and have the Field Name of 'Potential_Value'. The resulting API name should be 'Potential_Value__c'.
The rollup summary should calculate the total expected revenue of all the opportunities related to the account.

Here is a snap shot of my work. Any suggestions as to why this is failing?

User-added image

Thanks,
Darren