• Danny Pham
  • NEWBIE
  • 10 Points
  • Member since 2019

  • Chatter
    Feed
  • 0
    Best Answers
  • 2
    Likes Received
  • 0
    Likes Given
  • 5
    Questions
  • 6
    Replies
Hello,
 I am spending many hour and stuck on "Build Logic to Reassign Account"
Please help!
User-added imageUser-added imageUser-added image
 I delete assignment and re-do so many time.
 Look like there is an issue with new "Flow Builder".
Thanks
/Danny
Hello,
 I posted my question on trailblazer community but so far I cannot find a solution.
Javascript error when finished upload picture

https://success.salesforce.com/answers?feedtype=RECENT&criteria=BESTANSWERS#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Trailhead_Challenges&criteria=OPENQUESTIONS&id=9063A000000pWbWQAU


Should I start over with a new trail player? Is there a work around to complete this trail head? Please advice! Thank
/Danny
[NoErrorObjectAvailable] Script error.
a()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:908:85
{anonymous}()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:908:278
g.dispatchEvent()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:12:5299
onUpload()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/lightning/fileUpload.js:2:1825
Object.onFinalUploadComplete()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/forceContent/fileUploadAction.js:6:127
onFinalUploadComplete()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/forceContent/fileUploadAction.js:2:455

 
Hello,
 I am following the instruction to set default form.
 I am stuck at setting default form to "c:SpeakerForm"
 I cannot see the option 
 User-added image
 https://trailhead.salesforce.com/content/learn/projects/salesforce_developer_workshop/creating_lightning_component

Please advice!
Thanks
/Danny
Hello,
 I ran this command on VS code and got error. Please advice
>  sfdx force:apex:trigger:create --triggername AccountTrigger -s Account -e 'before insert, before update, before delete, after insert, after update, after delete, after undelete' --outputdir force-app\main\default\Triggers

 !    !   ' before delete' is not a valid trigger event.

Thanks
/Danny
Hello,
 I follow the instruction and enable Dev Hub but I am still getting error 
 sfdx force:org:create -f config/project-scratch-def.json -a HelloWorldLightningWebComponent
You do not have access to the [ScratchOrgInfo] object
sfdx force:org:list --all
=== Orgs
     ALIAS   USERNAME                ORG ID              CONNECTED STATUS
───  ──────  ──────────────────────  ──────────────────  ────────────────
(D)  DevHub  dannyxxxxxx@.com           00Df4000004miAiEAI  Connected
Hello,
 I follow the instruction and enable Dev Hub but I am still getting error 
 sfdx force:org:create -f config/project-scratch-def.json -a HelloWorldLightningWebComponent
You do not have access to the [ScratchOrgInfo] object
sfdx force:org:list --all
=== Orgs
     ALIAS   USERNAME                ORG ID              CONNECTED STATUS
───  ──────  ──────────────────────  ──────────────────  ────────────────
(D)  DevHub  dannyxxxxxx@.com           00Df4000004miAiEAI  Connected
Hello,
 I posted my question on trailblazer community but so far I cannot find a solution.
Javascript error when finished upload picture

https://success.salesforce.com/answers?feedtype=RECENT&criteria=BESTANSWERS#!/feedtype=SINGLE_QUESTION_DETAIL&dc=Trailhead_Challenges&criteria=OPENQUESTIONS&id=9063A000000pWbWQAU


Should I start over with a new trail player? Is there a work around to complete this trail head? Please advice! Thank
/Danny
[NoErrorObjectAvailable] Script error.
a()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:908:85
{anonymous}()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:908:278
g.dispatchEvent()@https://static.lightning.force.com/na85/auraFW/javascript/-J2uoFrcvGcmwncDneF-zg/aura_prod.js:12:5299
onUpload()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/lightning/fileUpload.js:2:1825
Object.onFinalUploadComplete()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/forceContent/fileUploadAction.js:6:127
onFinalUploadComplete()@https://playful-moose-elmdep-dev-ed.lightning.force.com/components/forceContent/fileUploadAction.js:2:455

 
Hello,
 I am following the instruction to set default form.
 I am stuck at setting default form to "c:SpeakerForm"
 I cannot see the option 
 User-added image
 https://trailhead.salesforce.com/content/learn/projects/salesforce_developer_workshop/creating_lightning_component

Please advice!
Thanks
/Danny
Hello,
 I ran this command on VS code and got error. Please advice
>  sfdx force:apex:trigger:create --triggername AccountTrigger -s Account -e 'before insert, before update, before delete, after insert, after update, after delete, after undelete' --outputdir force-app\main\default\Triggers

 !    !   ' before delete' is not a valid trigger event.

Thanks
/Danny
Hello,
 I follow the instruction and enable Dev Hub but I am still getting error 
 sfdx force:org:create -f config/project-scratch-def.json -a HelloWorldLightningWebComponent
You do not have access to the [ScratchOrgInfo] object
sfdx force:org:list --all
=== Orgs
     ALIAS   USERNAME                ORG ID              CONNECTED STATUS
───  ──────  ──────────────────────  ──────────────────  ────────────────
(D)  DevHub  dannyxxxxxx@.com           00Df4000004miAiEAI  Connected
Hello Community,

I'm having an issue with this particular challenge below: 

Write an Apex trigger that fires before records are inserted and ensures that the ShippingState field has the same value as the BillingState field.
Create an Apex class named AccountTriggerHandler that contains a public static method called CreateAccounts to accept the List of Account objects.
For each Account record, before saving, ensure that the ShippingState field has the same value as the BillingState field.
Write an Apex trigger named AccountTrigger that fires before records are inserted.
The Apex trigger must call the AccountTriggerHandler.CreateAccounts() method with the collection of new records.
Create a test class named AccountTriggerTest that inserts 200 Account records with a BillingState of CA. After the insert, test to ensure that all 200 records have a ShippingState of CA.
Before verifying this challenge, run your test class at least once using the Developer Console Run All feature.

This is my Challenge Error:

Challenge Not yet complete... here's what's wrong: 
The Trigger 'AccountTrigger' does not appear to be calling the AccountTriggerHandler class correctly or using isBefore or isInsert content variables.

These are my codings below :
AccountTriggerHandler
User-added image

AccountTrigger - Trigger On Account Object
User-added image

AccountTriggerTest
User-added image

P.S. I'm pretty new to the developing with Apex so I'm learning and growing so the help is appreciated community.