Training Exercise
You have now learnt how to create and configure simple Actionflows in PhixFlow. To reinforce the techniques you have learnt, complete these assignments. Note: A training instance is required to complete these assignments.
Don't worry, this is not an exam. You can use the Help to broaden your understanding and assimilate knowledge. A number of hints have been provided; use these if you are struggling as each hint gives you more information on the solution.
.
Assignment 1
Difficulty Level:
Task 1
On the Menu (screen), configure the Students button to open the Student Management screen.
.
Task 2
Configure the Save and Delete buttons on New Student Form screen to save and delete data in the School Students table.
.
Assignment 2
Difficulty Level:
Task 1
On the Student Management screen, when a new student is created using the New Student button, we want the Intake Year field on the New Student Form screen to be prepopulated with the current year in the format, YYYY.
.
Task 2
When a new student is saved, we want a confirmation screen to appear that allows the save to be confirmed or cancelled.
Bonus Task: add a static text component to the confirmation screen with the Display Text, "Are you sure you want to create the new student,". In the Actionflow, map the name of the new student onto the dynamic text component, Message.
.
Task 3
Set up the Students grid on the Student Management screen to contain a button in the Web column that open the student's website when clicked. Use the Action Icon Style, WebsiteIconStyle.
Unhide the WebIcon attribute by right-clicking the grid and selecting Show the View Configuration.
- In the View Attributes section, double-click the WebIcon attribute to open the Properties tab
- In the Grid Settings, untick Always Hidden
- In PhixFlow version 11.1 onwards, this option is on the Styles tab
- Note the other hidden attribute, Website, this contains the URL. Leave this attribute hidden.
.
Assignment 3
Difficulty Level:
Task 1
When a new student is created on the New Student Form screen, we want the form to contain validation. Create a new validation rule stipulating:
- the Name field is mandatory
- the Name field must contain at least 3 characters
- the Name field must adhere to the pattern, ^[A-Za-z\s-]+$
.
Task 2
We want the status of a course to be dynamically updated to On Hold if the associated classroom's status is changed to Unavailable.
On your ERD, add an attribute to the School_ClassRooms data, with the name,
ClassroomStatus
, a Type of String and a blank Expression- On the Classroom Availability Management screen, add in the attribute you just created
- Set up the screen so that the status can be changed using a fixed (custom) drop down list with the values, Available and Unavailable
- Your screen setup should look similar to this:
.
Task 3
We want to see a list of the courses that each student is enrolled on. Set up the Courses Enrolled button, using a lookup, on the Student Management screen that populates the Student is enrolled in tile.
- Map onto the string field, CourseIDFromView
Bonus Task: Map the student name onto the dynamic text component, StudentName, so that when the Courses Enrolled button is pressed, the selected student name shows.
.
.
Once you have verified your Actionflow is working, finish by hiding the tile (Column 2) that contains the CourseIDFromView string field.