Skip to content

Commit

Permalink
Release 20.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoisTrible committed Mar 27, 2020
1 parent 7733308 commit 8155cf2
Show file tree
Hide file tree
Showing 41 changed files with 31 additions and 30 deletions.
10 changes: 5 additions & 5 deletions DLFlooring/Create Actions and Template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,17 @@ In this part of the sample, the provider (a technical user) creates business-lev

![alt text](./images/PrefMenu.png "Preferences Menu")

2. Import "DL_UI_Toolkit - V1.twx". This twx file has some business objects and corresponding views for building Apps in the DL Flooring company.
3. Create the DL Flooring Actions toolkit.
2. Go to the Toolkits panel and import "DL_UI_Toolkit - V1.twx". This twx file has some business objects and corresponding views for building Apps in the DL Flooring company.
3. Create the DL Flooring Actions toolkit.

![alt text](./images/CreateToolkit.png "Create toolkit")

4. Create an action called Get Quote.
4. Create an action called Get Quote. Action options can be found in the left library panel.
5. On the variables tab, create the input variables flooringType (String) and squareFootage (Decimal). Create an output variable called jobQuote of type Decimal.

![alt text](./images/GetQuoteVars.png "Get Quote Variables")

6. In the diagram, create a script activity and set the script to:
6. In the diagram, create a script activity. Rename the script to Calculate Quote and set the script to:
```javascript
if(tw.local.flooringType=="Hardwood"){
tw.local.jobQuote = tw.local.squareFootage * 6;
Expand All @@ -39,7 +39,7 @@ if(tw.local.flooringType=="Hardwood"){
![alt text](./images/CreateTemplate.png "Create Template")

10. After the editor is opened, add DL Flooring Actions and DL UI Toolkit as toolkit dependencies.
11. In the App artifact, add DL Flooring Header to the first page. Click Finish editing.
11. In the App artifact, add DL Flooring Header to the first page. It can be found in the DL UI Toolkit or on the right side palette. Click Finish editing.

![alt text](./images/Template.png "DL App Template")

Expand Down
Binary file modified DLFlooring/Create Actions and Template/images/GetQuoteVars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create Actions and Template/images/PrefMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create Actions and Template/images/Template.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions DLFlooring/Create the Job Quote App/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ In this part of the sample, the assembler (a business developer) creates an App

![alt text](./images/CreateApp.png "Create the App")

4. The editor is opened to the first page. Add the Location View by clicking in the upper "Add content here" area.
4. The editor is opened to the first page. Find the Location View in the right-side palette and add the view by dragging and dropping it to the upper "Drop content here" area.

![alt text](./images/LocationPalette.png "Choosing Location view from the palette")

5. In the Data mapping dialog, click "Select data" and choose to create a new variable. Set the variable name to "location".
5. In the Data association dialog, create a new variable named "location".

![alt text](./images/LocationDataMap.png "Data mapping for location view")
![alt text](./images/LocationDataMap.png "Data association for location view")

6. Add an instance of the Flooring Type view under the location and create a new variable called flooringType for the data mapping.
7. Add a decimal control under the flooring type, set the label to "Square Footage" and create a new variable called squareFootage for the data mapping.
8. Add a decimal control under Square Footage, set the label to Job Quote and create a new variable called jobQuote for the data mapping.
6. Add an instance of the Flooring Type view under the location and create a new variable called flooringType for the data association.
7. Add a decimal control under the flooring type, set the label to "Square Footage" and create a new variable called squareFootage for the data association.
8. Add a decimal control under Square Footage, set the label to Job Quote and create a new variable called jobQuote for the data association.

![alt text](./images/FormFieldsComplete.png "Form Fields Complete")

9. Create a button in the bottom "Add content here" area.
9. Add a button in the bottom "Drop content here" area.
10. In the Next step dialog that appears, call the Get Quote action. The inputs and outputs are automatically mapped.

![alt text](./images/GetQuoteButtonNextSteps.png "Next Steps")
Expand All @@ -40,8 +40,8 @@ In this part of the sample, the assembler (a business developer) creates an App

![alt text](./images/GetQuoteButton.png "Get Quote Button")

13. Now that the App is fully authored, press the Test button in the top right corner to try it out.
14. Once you are happy with how the app is running, return to studio. Using the menu on the card, choose Request publish. Enter v1 for the snapshot name and complete the dialog so the administrator can publish the app into production.
13. Now that the App is fully authored, press the Preview button in the top right corner to try it out.
14. Once you are happy with how the app is running, return to studio. Using the menu on the card, choose Request publish. Enter v1 for the snapshot name and complete the dialog so the administrator can publish the app into production.

![alt text](./images/RequestPublish.png "Request Publish")

Expand Down
Binary file modified DLFlooring/Create the Job Quote App/images/CreateApp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create the Job Quote App/images/LocationDataMap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create the Job Quote App/images/LocationPalette.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create the Job Quote App/images/PrefMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create the Job Quote App/images/RequestPublish.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified DLFlooring/Create the Job Quote App/images/RequestPublish2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions DLFlooring/Publish and Run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ In this part of the sample, an administrator takes the app developed by the asse
1. Open BAStudio and ensure the view mode in the user preferences is set to advanced.
2. If you have not authored the Job Quote app, import Job_Quote - v1.twx.
3. Go into the details for Job Quote and choose the snapshots panel.
4. At the end of the v1 snapshot row, click Export.
5. In the dialog, choose Installation Package then complete the dialog.
4. At the end of the v1 snapshot row, click on the options (3 vertical dots) and then Export.
5. In the dialog, choose .zip then complete the dialog.

![alt text](./images/ExportApp.png "Export App")

Expand Down
Binary file modified DLFlooring/Publish and Run/images/ExportApp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion MortgageApproval/Create Actions and Template/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ ___

![alt text](./images/PrefAdvanced.png "Advanced Mode")

2. Import "CreditDeptTK - v5.twx". This twx file has the Customer business object and an associated view. It also contains a common header used by the fictitious credit department.
2. In the Toolkits panel, import "CreditDeptTK - v5.twx". This twx file has the Customer business object and an associated view. It also contains a common header used by the fictitious credit department.

3. Create the MortgageUtils toolkit.

![alt text](./images/CreateToolkit.png "Create toolkit")
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified MortgageApproval/Create Actions and Template/images/PrefMenu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions MortgageApproval/Create the Mortgage Approval App/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ ___

![alt text](./images/CreateApp.png "Create the App")

4. The editor is opened to the first page. Add the Customer View by clicking in the upper "Add content here" area. In the Data mapping dialog, click "Select data" and choose to create a new variable. Set the variable name to "customer".
4. The editor is opened to the first page. Add the Customer View by dragging and dropping into the upper "Drop content here" area. In the Data association dialog, create a new variable and set the variable name to "customer".

![alt text](./images/CustomerPalette.png "Choosing Customer view from the palette")

![alt text](./images/CustomerDataMap.png "Data mapping for customer view")

5. Add a decimal control under the customer form, set the label to "Mortgage Amount" and create a new variable called mortgageAmount for the data mapping.
6. Add a decimal control under Mortgage Amount, set the label to Yearly Income and create a new variable called yearlyIncome for the data mapping.
5. Add a decimal control under the customer form, set the label to "Mortgage Amount" and create a new variable called mortgageAmount for the data association.
6. Add a decimal control under Mortgage Amount, set the label to Yearly Income and create a new variable called yearlyIncome for the data association.

![alt text](./images/DecimalFields.png "Mortgage Amount and Yearly Income")

7. Create a button in the bottom "Add content here" area.
7. Add a button to the bottom "Drop content here" area.
8. In the Next step dialog that appears, call the IsMortgageAutoApproved action. The inputs are automatically mapped. For the output, choose a new variable called "isApproved".
9. Click the plus icon to create a branching path.
10. For the top path, select New Page and call it "Auto Approved". Set condition to isApproved==true.
Expand All @@ -40,15 +40,15 @@ ___

13. Go to the Auto Approved page and set the initial content to CreditDeptTempl.
14. Create Display Text with the content "Mortgage is automatically approved."
15. Create a button in the bottom content box. In the Next step dialog, set the action to "OpenMortgageAccount". The mortgage amount should be automatically mapped. Create a new variable called customerID for the other input parameter. Choose <end application> for the "Go to page" setting.
15. Create a button in the bottom content box. In the Next step dialog, set the action to "OpenMortgageAccount". The mortgage amount should be automatically mapped. Create a new variable called customerID for the other input parameter. Choose &lt;end application&gt; for the "Go to page" setting.

![alt text](./images/OpenAccountButton.png "Open Account Button")

16. Set the button label to "Open Account and Exit". You may optionally change its color and set an icon.

![alt text](./images/AutoApprovedPage.png "Auto Approved Page")

17. The customer ID variable is not being populated in the App yet, so go back to the Starting Page, create a Plain Text control under the customer form called "Customer ID". In the data mapping dialog, choose existing data as customerID.
17. The customer ID variable is not being populated in the App yet, so go back to the Starting Page, add a Plain Text control under the customer form called "Customer ID". In the data association dialog, choose existing data as customerID.

![alt text](./images/CustomerIDDataMap.png "Customer ID Data Map")

Expand All @@ -60,20 +60,20 @@ ___

![alt text](./images/CustomerIDLookup.png "Customer ID Lookup")

20. Go to the Risk Assessment pageand set the initial content to CreditDeptTempl.
20. Go to the Risk Assessment page and set the initial content to CreditDeptTempl.
21. We want to show the mortgage amount on this page, so the variable tab of the palette is used to select mortgageAmount.

![alt text](./images/PaletteMortAmount.png "Mortgage amount variable on palette")

22. Create an instance of Loan Risk Charts under the mortgage amount.
23. Create a button in the bottom content box. In the Next step dialog, set the action to "OpenMortgageAccount". Both inputs should be automatically mapped. Choose <end application> for the "Go to page" setting.
22. Add an instance of Loan Risk Charts under the mortgage amount.
23. Add a button in the bottom content box. In the Next step dialog, set the action to "OpenMortgageAccount". Both inputs should be automatically mapped. Choose &lt;end application&gt; for the "Go to page" setting.
24. Set the button label to "Open Account and Exit". You may optionally change its color and set an icon.
25. Create another new button to the right of the other. Set it to go to <end application>.
25. Add another new button to the right of the other. Set it to go to &lt;end application&gt;.
26. Rename the button to Decline. You may optionally change its color and set an icon.

![alt text](./images/RiskPageButtons.png "Risk Page Buttons")

27. Now that the App is fully authored, press the Test button in the top right corner to try it out. Use "Joe" as the first name for the customer ID lookup to work properly.
27. Now that the App is fully authored, press the Preview button in the top right corner to try it out. Use "Joe" as the first name for the customer ID lookup to work properly.
28. Once you are happy with how the app is running, return to studio. Using the menu on the card, choose Request publish. Enter V1 for the snapshot name and complete the dialog so the administrator can publish the app into production.

![alt text](./images/RequestPublish.png "Request Publish")
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions MortgageApproval/Publish and Run/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ ___
1. Open BAStudio and ensure the view mode in the user preferences is set to advanced.
2. If you have not authored the MortgageApproval app, import MortgageApproval - v1.twx.
3. Go into the details for MortgageApproval and choose the snapshots panel.
4. At the end of the V1 snapshot row, click Export.
5. In the dialog, choose Installation Package then complete the dialog.
4. At the end of the V1 snapshot row, click on the options (3 vertical dots) button and then Export.
5. In the dialog, choose .zip then complete the dialog.

![alt text](./images/ExportApp.png "Export App")

Expand Down
Binary file modified MortgageApproval/Publish and Run/images/ExportApp.png
Binary file not shown.

0 comments on commit 8155cf2

Please sign in to comment.