Lab 1.7 - Capstone: deliver a User Story on your own¶
Level: 1 Contributor basics
Time: ~25 min
You will: do the whole loop again with no step-by-step, which is the only way to find out whether you learned it.
The situation¶
Second ticket, second day. Nobody is going to walk you through this one.
US-016 - Let the crew leave notes on an installation
As a delivery crew member, I want a free text notes field and a list view of my open installations, so that I hand over cleanly to the next shift.
Acceptance criteria:
- A Crew Notes field exists on Installation, long text, editable by the crew
- It is on the Installation page layout, where the crew can see it
- An Open Installations list view exists on Installation, for every user
- The crew permission set grants the field
Before you start¶
- Lab 1.6 finished: US-014 is merged into
integrationand deployed - The Source Control panel shows nothing left uncommitted
What to do¶
No numbered clicks this time. The loop, in order:
- Start the User Story. Branch
US-016-crew-notes, targetintegration, then Scratch org and Reuse scratch org helios-dev. Your org already has US-014, because you built it there - Build it in
helios-dev- A Long Text Area fieldCrew_Notes__conInstallation__c, 4000 characters, with a description and help text - Grant it Read and Edit onHelios Delivery Crew, because a crew member writes notes. Nobody else gets it yet: the planners' turn comes in Level 2 - On the Installation page layout - A list view on Installation called Open Installations, visible to all users, with Filter by Owner on All installations, filtered on a status that is not Completed, and showing the account, the status, the install date and Panels Required - Bring it down. Commit changes, Recent Changes, Search Metadata, and take the field, the layout, the list view and the permission set. Nothing else. Commit them
- Publish, and read the Git Delta package.xml report before pushing. Four things, all yours
- Open the Pull Request into
integrationin your own fork, get it green, merge - Check the integration org after the deployment job
The one thing that catches everybody¶
The permission set and the field travel together. If you retrieve the field and forget the permission set, the deployment succeeds and nobody can see the field. If you retrieve the permission set and forget the field, the deployment fails outright, because a permission set cannot grant something that is not there. Take both, every time. It is the same pair you took in Lab 1.5, and the list view has the same habit: it names Panels Required, so it needs that field to be in the target org already, which it is since Lab 1.6.
What you should see¶
In helios-integration, after the merge deployment:
Crew Notesgranted, Read and Edit, on the Helios Delivery Crew permission set: Setup > Permission Sets > Helios Delivery Crew > Object Settings > Installations. You will not see the field on the record yourself: you hold the planners' permission set, and this story does not grant it to them- Open Installations in the list view picker on the Installations tab
If it goes wrong
Everything you need is in Labs 1.3 to 1.6. The failures are the same ones, and the If it goes wrong sections there cover them. Resist the urge to reread the whole lab: look up the one step you are stuck on.
If your repository ends up in a state you cannot untangle, Welcome page > Training: Level 1 > Reset this level puts it back to the start of Level 1 and you can redo the capstone cleanly. Using it is not failing. Not using it and giving up is.
Check your work¶
Welcome page > Training: Level 1 > Check my work, then pick Everything in level 1.
Six checks should pass. The receipt lines it prints are your progress record, and the claim below picks them up on its own.
Claim your badge¶
You finished Level 1.
Welcome page > Training: Level 1 > Claim my badge.
It checks the whole level again first and refuses to claim anything that does not pass: a claim that
would be rejected is a claim not worth opening. Then it opens the claim form of the training
repository in your browser, with the level, your username, your fork (your own copy of the course repository on GitHub, for example github.com/my-username/sfdx-hardis-training) and your receipts already in
it. Tick the three boxes and click Submit.
Those three boxes are yours to tick, and nothing ticks them for you. They say your fork (github.com/my-username/sfdx-hardis-training) is public
and your GitHub handle becomes public in the training repository, which is a decision about your
name rather than a formality.
If the course helped you
hardisgroupcom/sfdx-hardis is the open source project this whole course is about. A star is how a project like it stays visible. It is up to you: the badge does not depend on it.
A job then clones your fork (github.com/my-username/sfdx-hardis-training), re-runs every check above against it, and answers on the issue. Nobody
reviews it by hand, so it usually takes a couple of minutes. If something does not verify, the
comment names the exact lab and what it looked for, you fix it, and you edit the issue to run it
again.
Your fork (github.com/my-username/sfdx-hardis-training) has to be public for the audit to read it. If it is private, the command offers to
make it public.
It is a badge, not a certification
There is no exam and no accreditation here. Share it under Featured on LinkedIn, not under Licenses & certifications.
What comes next¶
Level 1 taught you the loop when everything goes right. Level 2 is the other half: the deployment that fails on a dependency you did not know about, the field that cannot be made required, the teammate who edited the same flow as you.
It is recommended for any contributor, and required before Level 3.
Continue to Level 2 - Contributor advanced