Wiki source code of JavaScript Reference
Hide last authors
3.1 | 1 | = JavaScript in the platform = | |
1.1 | 2 | ||
3.1 | 3 | The Requea platform uses a JavaScript engine. This scripting is ECMA 1.5 compliant. | |
1.1 | 4 | ||
3.1 | 5 | You may find many documentation on the web about javascript. Here are a few links: | |
6 | |||
6.1 | 7 | [[javascript reference documentation (mozilla.org)>>https://developer.mozilla.org/en/JavaScript/Reference]] | |
3.1 | 8 | ||
9 | |||
10 | = Requea system objects = | ||
11 | |||
12 | A few objects are available to interact with the platform, search data and call operations. | ||
13 | |||
14 | == Static objects == | ||
9.2 | 15 | ||
25.1 | 16 | ; **[[System>>Main.JSSystem]]** | |
21.1 | 17 | : System wide functions and utilities | |
18 | \\ | ||
3.1 | 19 | ||
28.1 | 20 | ; **[[User>>Main.JSUser]]** | |
21.1 | 21 | : Get the current User and access its properties | |
22 | \\ | ||
7.1 | 23 | ||
26.1 | 24 | ; **[[Utils>>Main.JSUtils]]** | |
21.1 | 25 | : Some utility functions | |
26 | \\ | ||
3.1 | 27 | ||
26.1 | 28 | ; **[[Registry>>Main.JSRegistry]]** | |
21.1 | 29 | : Get access to database params or definitions | |
30 | \\ | ||
3.1 | 31 | ||
21.1 | 32 | ; **[[Message>>JSMessage]]** | |
33 | : Retrieve localized end user messages | ||
34 | \\ | ||
4.1 | 35 | ||
26.1 | 36 | ; **[[Runtime>>Main.JSRuntime]]** | |
21.1 | 37 | : Execute external processes | |
38 | \\ | ||
4.1 | 39 | ||
26.1 | 40 | ; **[[Counter>>Main.JSCounter]]** | |
21.1 | 41 | : Retrieve incremental values | |
42 | \\ | ||
4.1 | 43 | ||
26.1 | 44 | ; **[[Progress>>Main.JSProgress]]** | |
21.1 | 45 | : Manage long running operations | |
46 | \\ | ||
17.1 | 47 | ||
21.1 | 48 | ; **[[Other static calls>>OtherStatic]]** | |
49 | \\ | ||
17.1 | 50 | ||
3.1 | 51 | == Non Static objects == | |
52 | |||
4.1 | 53 | In addition, there are a few javascript object that can be used to instantiate objects and retrieve data or export data. | |
54 | |||
21.1 | 55 | ; **[[Entity>>JSEntity]]** | |
56 | \\ | ||
16.1 | 57 | ||
21.1 | 58 | ; **[[Filter>>JSFilter]]** | |
59 | : Set query parameters | ||
60 | \\ | ||
5.1 | 61 | ||
21.1 | 62 | ; **[[EntityList>>JSEntityList]]** | |
63 | \\ | ||
5.1 | 64 | ||
27.1 | 65 | ; **[[Calendar>>Main.JSCalendar]]** | |
21.1 | 66 | : Manipulate dates and time as Gregorian calendars | |
67 | \\ | ||
5.1 | 68 | ||
27.1 | 69 | ; **[[BusinessCalendar>>Main.JSBusinessCalendar]]** | |
21.1 | 70 | : Manipulates dates and time with open hours, week ends and holidays | |
71 | \\ | ||
8.1 | 72 | ||
21.1 | 73 | ; **[[OptionValue>>JSOptionValue]]** | |
74 | \\ | ||
5.1 | 75 | ||
21.1 | 76 | ; **[[CSVReader>>JSCSVReader]]** | |
77 | \\ | ||
5.1 | 78 | ||
21.1 | 79 | ; **[[TextFile>>JSTextFile]]** | |
80 | \\ | ||
5.1 | 81 | ||
21.1 | 82 | ; **[[TextLine>>JSTextLine]]** | |
83 | \\ | ||
15.1 | 84 | ||
30.1 | 85 | ; **[[Money>>Main.JSMoney]]** | |
21.1 | 86 | \\ | |
17.1 | 87 | ||
32.1 | 88 | ; **[[Notification>>Main.JSNotification]]** | |
24.1 | 89 | : Api to send emails or SMS | |
23.1 | 90 | \\ | |
91 | |||
33.1 | 92 | ; **[[Counter>>Main.JSCounter]]** | |
93 | \\ | ||
94 | |||
95 | == Excel Spreadsheet Manipulation == | ||
34.1 | 96 | ||
35.5 | 97 | ; **[[ExcelReadonlyWorkbook>>Main.JSExcelReadonlyWorkbook]]** | |
35.4 | 98 | \\ | |
99 | |||
35.5 | 100 | ; **[[ExcelWritableWorkbook>>Main.JSExcelWritableWorkbook]]** | |
101 | \\ | ||
102 | |||
103 | ; **[[ExcelWorkbook>>Main.JSExcelWorkbook]]** | ||
104 | \\ | ||
105 | |||
35.6 | 106 | ; **[[ExcelCell>>Main.JSExcelCell.WebHome]]** | |
33.1 | 107 | \\ | |
108 | |||
35.6 | 109 | ; **[[ExcelSheet>>Main.JSExcelSheet]]** | |
110 | \\ | ||
35.4 | 111 | ||
35.6 | 112 | ; **[[ExcelWritableSheet>>Main.JSExcelWritableSheet]]** | |
113 | \\ | ||
114 | |||
115 | ; **[[ExcelCellFormat>>Main.JSExcelCellFormat]]** | ||
116 | \\ | ||
117 | |||
118 | |||
17.1 | 119 | == Entity definition access == | |
120 | |||
21.1 | 121 | ; **[[Application>>JSApplication]]** | |
122 | \\ | ||
17.1 | 123 | ||
21.1 | 124 | ; **[[PropertyDefinition >>JSPropertyDefinition]]** | |
125 | \\ | ||
17.1 | 126 | ||
21.1 | 127 | ; **[[Action>>JSAction]]** | |
128 | \\ | ||
17.1 | 129 | ||
21.1 | 130 | ; **[[Operation>>JSOperation]]** | |
131 | \\ | ||
19.1 | 132 | ||
133 | = JavaScript in action = | ||
134 | |||
21.1 | 135 | ; **[[Property rules>>PropertyRules]]** | |
136 | \\ | ||
19.1 | 137 | ||
21.1 | 138 | ; **[[Operation Script>>OperationScript]]** | |
139 | \\ | ||
19.1 | 140 | ||
21.1 | 141 | ; **[[Action Script and Visibility>>ActionScrVis]]** | |
142 | \\ | ||
19.1 | 143 | ||
21.1 | 144 | ; **[[Workflow Script>>WorkflowScript]]** | |
145 | \\ |