<aside>
You can use a hutte.yml
file to customize your Scratch Orgs and Sandbox Features. This allows you to accomplish things like adding automation when creating your Scratch Orgs, or adding custom-coded buttons to your Sandbox and Scratch Org features to accomplish specific tasks with just a click.
</aside>
<aside>
hutte.yml
.
</aside><aside>
</aside>
<aside>
hutte.yml
file is set up, you can customize it to suit your project’s needs.
</aside><aside>
hutte.yml
file that is connected through your Git repository.
</aside><aside>
</aside>
<aside>
hutte.yml
file in a text editor and then commit the changes to Git. Those updates will be reflected here, under Project Settings.
</aside><aside>
<img src="/icons/flash_yellow.svg" alt="/icons/flash_yellow.svg" width="40px" /> You can get inspiration for crafting your hutte.yml
from the Recipes section within Hutte.
</aside>
<aside>
Here’s an overview of the main sections you’ll find in your hutte.yml
file:
</aside>
<aside>
setup_script
(optional; Scratch Org Projects only)
setup_script
, while regular Scratch Orgs will execute setup_script
first, followed by push_script
.
</aside><aside>
push_script
(required; Scratch Org Projects only)
setup_script
. It is typically used to push your project's source, assign permission sets, load seed data, etc.
</aside><aside>
custom_scripts
(optional; Scratch Org and Sandbox Projects)
scratch_org:
or sandbox:
.
</aside><aside>
This is a very simple hutte.yml
, which adds one custom button to the Hutte project detail view for both Scratch Org and Sandbox projects. When clicked, the button will import seed data, leveraging the open source SF Plugin SFDMU.
</aside>
<aside>
</aside>
<aside>
You can also optionally add a custom success message to a custom button you’ve created by adding the property "success_message" into its entry in your Hutte.yml. This text can be formatted and can also hold hyperlinks.
</aside>
<aside>
</aside>
<aside>
Here’s an example of what the end result of this custom button script will look like in Hutte:
</aside>
<aside>
</aside>