Before we get to adding functionality to the links and buttons, we will do a few more things to improve the functionality of the Cars App. You may have noticed there is no way to get to the Cars List screen.
When you click on your Cars app, you are brought to the screen to add a New Car. This is not standard practice, however. Clicking on the app should take you to a list of your cars. To change this in our app, we will need to change the starting screen.
Click the vertical ellipsis of the Cars app, and select Manage link.
Within the app menu, select General.
You will find a drop down labelled Starting Screen*. Change this to Cars List.
Simple! Clicking on the app will now take you to the Cars List screen. Of course, how can we get to the New Car screen? You can use a snapshot!
The first kind of snapshot used in Method acts as a fairly simple shortcut from the App Management screen to a specific screen within the App itself. In this example we’ll create a shortcut snapshot that will take us to our New Car screen.
If not already editing the Cars app, click its vertical ellipsis and then select Manage.
On the menu on the left, select Snapshots and then click Create Snapshot. This will present you with a set of options that will allow you to configure our first snapshot!
Since we want to make this a simple shortcut to add a new entry, choose the Icon option. Within the icon dropdown, find the "+" icon.
If you’re creating a shortcut to an Add New screen of any kind, Method best practice is to use the + icon, which is what we’ll be doing here.
The Label is a required field that tells the user what this snapshot is for. Let’s label this one “New”.
Go To Screen denotes what screen the snapshot will take you to when you click it. Choose “New Car”.
The Position is where the snapshot will appear on the App itself. Choose "Left".
When you are satisfied with your options as pictured below, click Save.
Navigate back to your dashboard and you’ll see your new Snapshot is now available to be used on your Cars app!
If you click on it, it will take you to your New Car screen - which is still blank for now - but your shortcut works! Huzzah!