Use templates to create apps
What you will create
Create a travel app using one of the provided templates. The template inserts the required YAML in the correct format. Use the template as a base on which to build when creating a jig. If the template by default provides the functionality you need, publish your Jigx project to use the jig on your mobile device. Build time: 5 mins
Step 1: Create a new solution in Jigx Builder
Open VS Code, and click on the Jigx Builder icon in the left navigation bar. Select the Create New Jigx Solution button.
Type World Travel in the Solution title field and press enter. This name displays at the top of your solution on the Home Hub in the Jigx App.
The Solution name field automatically pre-populates with the solution's system name world-travel. Press Enter.
For this solution select the business category.
Select a local folder where the project files are saved too. Your Jigx default solution files open in the VS Code editor with the .jigx extensions ready for editing.


Step 2: Choose a template

In Explorer expand the jigs folder and click on
myfirstjig.jigxfile. The Jigx auto-complete popup displays.Click on use template to open the list of templates.
Under Default hover-over **Default jig 6 **and click the blue insert button.
The jigx file is populated with the YAML for the template.
Change the title to Thailand as the
titlefor your jig.The
myfirstjig.jigxfile is already referenced in theindex.jigxfile which is the home screen file (Home Hub).


Step 3: Publish the solution
In VS Code click on the Jigx Builder icon in the left navigation bar.
In the Jigx Explorer hover over the world-travel node till you see the publish icon (rocket). Click on the icon to start the publishing process.
Enter your Jigx username and press Enter.
Enter your Jigx password and press Enter. The publishing process starts and the progress shows in the bottom right corner of the VS Code editor. A message displays when the solution is successfully published.

Step 4: Open the app on your mobile device
On your mobile device tap the Jigx app icon.
Sign into the app with your Jigx account details.
The app opens the Home Hub screen displaying the World Travel solution.
Tap on the icon to display the Thailand destination screen.
Yes it is that simple to build apps in Jigx. Explore further by either editing the YAML in myfirstjig.jigx; or adding additional files under the jig folder, add another template, reference the file in index.jigx and publish the solution.
What's next?
Why not build your own app? See how to plan your app, then learn how to create an app from scratch or explore the various available UI elements in Jigx by adding the Jigx-samples prebuilt solution to your organization and viewing the solution in the Jigx App.
Last updated
Was this helpful?