Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Low-Code Application Development with Appian

You're reading from   Low-Code Application Development with Appian The practitioner's guide to high-speed business automation at enterprise scale using Appian

Arrow left icon
Product type Paperback
Published in Apr 2022
Publisher Packt
ISBN-13 9781800205628
Length 462 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Stefan Helzle Stefan Helzle
Author Profile Icon Stefan Helzle
Stefan Helzle
Arrow right icon
View More author details
Toc

Table of Contents (22) Chapters Close

Preface 1. Section 1: No-Code with Appian Quick Apps
2. Chapter 1: Creating an Appian Quick App FREE CHAPTER 3. Chapter 2: Features and Limitations of Appian Quick Apps 4. Chapter 3: Building Blocks of Appian Quick Apps 5. Chapter 4: The Use Cases for Appian Quick Apps 6. Section 2: A Software Project with Appian 7. Chapter 5: Understanding the Business Context 8. Chapter 6: Understanding Business Data in Appian Projects 9. Chapter 7: Understanding Business Processes in Appian Projects 10. Chapter 8: Understanding UX Discovery and the UI in Appian Projects 11. Section 3: Implementing Software
12. Chapter 9: Modeling Business Data with Appian Records 13. Chapter 10: Modeling Business Processes in Appian 14. Chapter 11: Creating User Interfaces in Appian 15. Chapter 12: Task Management with Appian 16. Chapter 13: Reporting and Monitoring with Appian 17. Section 4: The Code in Appian Low-Code
18. Chapter 14: Expressing Logic with Appian 19. Chapter 15: Using Web Services with Appian Integrations 20. Chapter 16: Useful Implementation Patterns in Appian 21. Other Books You May Enjoy

Creating dynamic interfaces

You already know about the showWhen parameter and how to assign different values to parameters depending on logic, and you implemented a dynamic list of components to display multiple orders using forEach.

The important part of creating dynamic interfaces is that you need a way to store the state. State means one or more local variables you use to control which parts of the interface to show. To understand how that works, we will dissect one of the interface patterns provided by Appian:

  1. Create a new interface, just for this investigation, and name it IVP_F_Test. You can delete this interface at the end of our small workshop. Switch to the PATTERNS palette and add the TABS pattern to the empty interface:
Figure 11.22 – Adding the TABS pattern

Figure 11.22 – Adding the TABS pattern

  1. Then, switch to EXPRESSION MODE. The first few lines define a local variable and buttonArrayLayout containing a list of buttons:
{
  a!localVariables...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image