WAI Coder
WAI Coder is a rapid application development tool based on low-code development principles. It allows building business logic in a more standard and secure structure instead of writing SQL queries or long code blocks.
Path: Control Panel > System > Dev Wo
Usage
First of all, whichever business function is to be edited, you should go to the dev.wo of that business function (page). When you go to the WAI icon in the Tab menu in Wo detail, select "Wai Coder" from the options that appear.
On the page that opens, there are Resources related to fuseaction on the left. Respectively, the events defined in the Controller file and any files therein, the table selection area that will be used to print code (Data CFC), an AI prompt area defined for WO, the area where the prompt and mockup information to be used in the Create Widget field to create a Widget or Function will be entered, and the list of defined Widgets.
Tip: Widgets can be created with the edits made here. In order to add a function to CFC, the datacfc path must be specified in the wo detail.
- The Event field contains the icons "Monaco Editor" and "Antigravity". Existing files can be opened in two different ways.
- To open with Antigravity, the following information must be attached to the ssh environment connected with Antigravity:
- A file named developer.code-workspace must be opened in the main directory.
The file content must be as follows. The "tokyo" part here should be written if the ssh connection is named.
{
"folders": [
{
"name": "developer",
"path": "../.."
" }
],
"settings": {
"alias": "tokyo"
}
}
For example; If the ssh connection is as follows in the config file:
Host tokyo
HostName 127.0.0.1
User username
In this case, the tokyo in the Host value should be written in the alias field in the workspace file. If the host value is different, it should be written.
If the host value is used as the ip, the alias value should remain empty. When it is empty, it will directly connect with the ip.
- Before creating the widget, the tables to be used in the widget should be selected from the Data CFC box and the save button should be pressed.
- WO Prompt should be written and saved.
- Mockup, if any, should be selected and the widget prompt should be entered.
- After the widget name is written, a typoe for the widget should be written. must be selected.
- Then the process can be started by using one of the Create Widget or Add Function buttons.
- When the code is created, the widget will be listed in the Widgets box at the bottom.
- If the function has been added, the function will be added at the end of the data cfc file. (The file can be opened with Monaco or with Antigravity if the necessary settings have been made.)
Feedback
Special Reports with WAI
It is possible to print reports with WAI, add the report to custom reports, and edit the added reports with the VSCode-based Monaco editor in Workcube.
WAI General Settings
AI, or artificial intelligence, are systems that enable machines to perform human-like tasks, learn from experience, and adapt to new inputs. Workcube AI (WAI) works integrated with Google Gemini.
Shall we talk about Workcube?
Call duration has expired.