Lines are a super-sized enhancement to your Apps that will allow you to give them a boost of capabilities. With them, you can create invoices or quotes with ease right inside of Servis.ai without using any other system.
Edition Qualifier: This feature is available in all Servis.ai Editions.
User Permissions: Only the Admin can customize Lines.
In this tutorial, we will cover the following topics:
- Navigate to Lines
- Create Lines for Your App
- Add Records to Your Line
- Pro-Tips
- App with Lines Example (Quote App)
Navigate to Lines
Open the menu and go to Settings > Apps to display the available applications. Then select your desired app and click on the 'Lines' tab.
Create Lines for Your App
How to Create a Line
- Click "Add Line" to get started.
- Enter a name for your Line.
- Choose an icon to represent it—several are available for selection.
Tip: Think of each Line as a mini or “child” app within your main app.
Once you hit "Save", your Line will appear in the top menu, right next to the "Lines" tab.
Click the name of your new Line to begin customizing it with the following components:
- Form Fields
- Form Sections
- Card Configuration
- Form Rules
This setup lets you fully tailor how your Line works within the app.
Form Mode
You can edit lines directly where they appear in your app. When creating or editing a line, look for the 'Form Mode' field. Select 'Inline' and click Save.
- Use Inline Mode for quick edits—ideal for grouped data like SKUs that share similar columns.
- Stick with Default Mode if line structures vary significantly and require full form fields.
Note: In Inline Mode, field hints will not be visible for any added fields.
Create Fields for your Line
Configuring your Lines is very similar to how you add Fields to your Apps. Click the 'Add Field' button to get started. To learn how to create fields and what type of fields you have available, we recommend the following tutorial:
Form Scripts for Lines
You can now add custom form scripts to individual lines within an app. These scripts work alongside the parent app's form script, following any rules set in the custom code.
- When creating or editing a line, go to the Form Script section.
- Set 'Form Script' to 'Yes' to make the script window editable.
- Add or modify your code, then click Save.
Note: For best results, use Line Form Scripts in conjunction with the parent App Form Script. For more information on setting up Form Scripts click here.
Configure your Lines
After you've created a Line you can navigate to its configuration for more options. Within the Lines tab select the "..." menu next to the line name and select "Configuration".
Sort
You can sort the information in your line by choosing a field and then selecting "ascending" or "descending" for the sort method.
Add Records to Your Lines
+ Add Button
You can easily add records to your Lines, which function like sub-apps within your main (parent) app.
Here’s how to do it:
- Open the main app and click on any record to view its Details Page.
- Look for a new tab labeled either:
- Lines (if your app contains multiple Lines), or
- The specific name of your Line (if there’s only one).
- Click the + Add button to insert a new record.
Click the + Add button to open a modal where you can start creating a new record:
Keep in mind that the fields available in the builder depend on how your Line is set up in the Form Fields section.
Bulk Add
To add multiple records at once, use the Add Bulk button—it's designed for that purpose.
When you click the button, a window will open where you can add multiple records in one place. The available fields will depend on your Line configuration. Just click + Add Row to include another record.
- You can duplicate or delete rows directly from this modal.
Pro-Tips
Grid View
Lines are now displayed in a list view, making it easier to create and manage your line records. This feature, paired with Inline Edit Mode and Form Script features can yield amazing results in Apps that are heavily Line-dependent such as Quotes.
From a fully customized list, you can add Lines with a single click, configure them to your Form Rules and edit them in real-time without leaving the Lines.
Note: Servis.ai recommends less than 50 Lines per Parent Record to optimize performance within a given App.
Use Reference Join Fields Where Possible
Lines are mostly used to create a dependency relationship between your apps, as a parent-child relationship. Because of this, it is a good idea to identify those elements that you already have within your Apps and create Reference and Reference Join Fields to get that existing data instead of having to input it manually.
For example, if you are looking to create an Invoice App, and you need to have the Account Name and Address, instead of creating Text fields to manually input them, you can get this information from the Account App. Just create a Reference field to select the Account and then a Reference Join to auto-populate the address.
Create Field Sections to Keep your Forms Nice and Clean
If you are planning on adding multiple fields to your Line, we recommend that you create Form Sections to organize your fields and data. To learn more about them, we recommend the following tutorial:
Form Sections
Configure your Card
You can change the configuration of the cards for your Lines as well. To learn more about Card Configuration, please visit the following tutorial:
Card Configuration
Record Merging
Record Merging isn't currently supported for apps with Lines.
Identify which Elements Should be Part of the App, and Those that Should be Added to the Line
To explain this, let's use an Invoice as an example. There are elements in the invoice that are part of the high-level information (1), meaning the App, while there are others that belong to the table (2) inside the invoice, those correspond to the Line.