Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Insert excerpt | ||||||||
---|---|---|---|---|---|---|---|---|
|
Introduction
In order to add content to the screen we need access to the palette and the screen must be unlocked.
Locking and Unlocking a screen
The screen is unlocked if you can see the context toolbar for the screen.
- To unlock the screen for editing, right-click anywhere on the screen to open the popup menu and select
.Insert excerpt _unlock _unlock nopanel true - PhixFlow displays the toolbar for the screen so that you can begin to make changes.
- If you want to see how a user will experience the screen, you can
the screen, this means when we click on an item we will interact with it rather than edit it.Insert excerpt _lock _lock nopanel true
Palette
- To view the palette, click
from the context toolbar to display the palette on the right.Insert excerpt _palette _palette nopanel true
Adding Content
We will now create the following screen:
Adding a Grid
We can drag a table directly onto a screen to display it. This is how:
- From the toolbar click
Insert excerpt _tableOnly _tableOnly nopanel true - The list of available tables will appear in the repository
- Drag the companies table onto the screen canvas.
- Select how you want to display the data, select Grid.
- The attribute picker appears and here we can select the attributes we wish to display, this will include the attributes from the table and those from related tables.
- Select all the attributes and drag them onto the grid.
- Column widths can be set by dragging the header to the desired width.
- If you want a specific size, click the column header.
- In the properties that open navigate to Grid Settings → Grid Default Width (pixels) and enter a specific value here.
- Click on the Company Name column header
- Set Grid Settings → Grid Default Width (pixels) to be,
200
. - In the Label section we will change the name displayed in the column header to be,
Name
. - Click
Insert excerpt _save _save nopanel true
- Set Grid Settings → Grid Default Width (pixels) to be,
- Take some time to space out the columns as required.
- Once you are happy with your column layout you can test it in app mode to see how it will appear to users.
- Click
in the top right corner of the screen to switch the application into App Mode. This is how users will experience your application.Insert excerpt _app_mode _app_mode nopanel true - You can lock an app to interact with it as a user will but design panes remain displayed.
- To switch back to designing your application, click
in the top right hand corner.Insert excerpt _design_mode _design_mode nopanel true
.Insert excerpt _lock _lock nopanel true
Set a Static Header
- Click on the header,
Header 1 Dynamic
. - Its properties open on the right.
- In the Default Value, change the text to be
Companies Data
. - Click
.Insert excerpt _save _save nopanel true - IN the event you do not see the change appear on your screen, close and reopen the screen.
Add Items from the Palette
- We will now add an additional Tile.
- Open your palette.
- Navigate to the Tiles section
- Drag Column - Blank onto your screen.
- Notice the centre of the screen highlights this is because the body of your screen is the preferred parent of a Tile.
- There are lots of tiles available each designed to satisfy a specific need or act as a foundation for your own design. Mouse over the tiles to find out more about each.
- Name the tile
Additional Info
.
Check Point
At this point your screen should look like this:
Add a Card Container
We will add a card container that will display the employees for the selected company.
- In the palette expand the Card Containers section.
- Drag Contacts onto the tile Additional Info.
- We now have a card container that is designed to hold contact information.
- In the Employee Card Container properies open on the right.
- If they have closed click on the Employees card container in the layouts section on the left.
- Click
, next to the Tables box.Insert excerpt _tableOnly _tableOnly nopanel true - Drag Employees into the Tables box.
- This sets the Employees as the table backing the card container and will allow us to display the data.
- With Employees as the backing table PhixFlow will automatically associate any table attributes to any form fields or dynamic text fields with the same name . For example, there is a dynamic text field called Role on the Employees card container, this matches the attribute Role on the Employees table, therefore the Role data is displayed in the dynamic text.
- When working in design mode the card container will only display one card containing the data from the first record is receives from the backing table. When we switch to
orInsert excerpt _app_mode _app_mode nopanel true
, all the data we have chosen will be displayed.Insert excerpt _lock _lock nopanel true
- To display the data on the Employees table we can either change the names of the form fields and dynamic text fields to match the attribute name on the Employees table or we can tell PhixFlow which attributes to associate with them. Here we will use the latter option:
- Click on First Name to highlight it and then right-click and select Add Backing Attribute.
- In the Available Attributes dialog that opens tick
first_name
. - Click the Next button.
- The form field will now display the data in the first_name attribute.
- We will repeat these steps but this time set the Last Name field to be the last_name attribute on the Employees table.
- We will return to this card container later and add additional content to display data.
Add a Splitter
We will now add a splitter. This will allow us to separate a tile into two separate sections.
- In the palette open the Basic Layouts section.
- Drag the Area - Split H onto the tile Additional Info.
- Hover your mouse over to get a description.
- Name it
Splitter
.
Edit the Card Container
build up a employees contact card.
Add a splitter and move card into the top
Add a map to the bottom.
Link the two areas
Add the Crud buttons
Create a new screen and show more screen options
About Tables → Views → Grids
Adding Data as a Grid
- The Grid
- Use Custom Data Range
- The View
- Periods
- Inheriting the period from the table.
- The Table
- Table Period.
- Combined filtering
- Does the grid setting override the view????
- CRUD Buttons
- Adding Crud buttons after prompt.
- Attributes
- Adding attributes
- Relational Attributes
- Reordering Attributes
- Hiding Attributes
- Conditionally Hiding Attributes.
- Styling a Grid
- Basics
- Bold Text
- Available Styling i.e. default styles.
- Conditional Formatting Background Colour
- Cell and Row.
- Removing the Title
- Labelling and double header?
- Link to in depth How To guide
- Basics
- In grid editing, link to how to.
Adding Data as a Card Container
- The Container
- Table
- View
- Filtering
- The Cards
- Design and App mode display.
- Adding filters dynamically
- Changing the backing attributes
Adding a Chart
- Simple Setup
- Colour Maps
- Link to setting up more chart types.
Finding Layouts and Components
Anchor | ||||
---|---|---|---|---|
|
It can be very useful to find a layout, component or container. There are two ways to do this:
Using Layers
The Layers pane is expandable from the left of the screen canvas. Select an item:
- on the canvas to highlight it in the Layers pane
- in the Layouts pane to highlight it on the canvas.
If the layer section is not visible click
. Insert excerpt _layer_slider _layer_slider nopanel true
Using Find in Repository
Right-click any item on an unlocked screen and select
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Tip |
---|
To check whether a component is shared with multiple applications, open its properties and check the Parent Details section, which names the application or package to which the component belongs. For example a component that is shared between several applications has a package as its parent; see Package. |
Moving Components
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
- Options
- Templates
- Complete
- Blank
- Screen Options
- Floating
- Size
- Open Maximised
- Creating from an ERD
- Creating from a Workflow
- Available Unused Actions.
Styles
explanation
Style Hierarchy
- Application Styles
- Shared Style
- Local Styles
- Formatting Rules
- Overriding Styles Best Practice
- Clearing Styles
Creating Screens from the Home page
- Options
- Templates
- Complete
- Blank
- Screen Options
- Floating
- Size
- Open Maximised
- Creating from an ERD
- Creating from a Workflow
- Available Unused Actions.
Data Type and Formatting
- Date
- Date-Time
- Numbers