Trying out the Data Grid Web Tutorial now
It has been a long time since the Reactive version of the Data Grid component; I still have some reasons to try the Traditional Web version now.
This scrap is a memorandum while doing some tutorials under the following page.
Installed the OutSystems Data Grid Web Version 2.21.4 from here.
New development seems to have stopped, and the team has uploaded new versions just as bug fixes.
One caveat for new OutSystems developers is that Traditional Web Applications can not be created in a newly created Environment. I heard that OutSystems can enable it, and we may ask them to do so via support tickets.
If you can create Traditional Web Applications in your environment, you can see the "Traditional Web" option on the New Application dialog.
If you want to use the newer Web Application Development way, Reactive Web App, you should use the OutSystems Data Grid component instead.
The module name seems to have been changed from "DataGridComponent" to "OutSystemsDataGridWeb" and from "DataGridWebExample" to "OutSystemsDataGridWebSample."
The following modules are in the Data Grid Web component.
- OutSystemsDataGridWeb
- DataGridAuthentication (extension)
- DataGridConfigurations (extension)
- DataGridAuthentication
- GetUserLogged Action
- call OutSystems.RuntimePublic.Session.GetUserFromSessionCookie() to get the currently logged in User Id
- method comment: Action that allows to get the current user making the request, based on the session cookie
- related URL: https://www.outsystems.com/forums/discussion/47309/rest-api-call-authentication/#Post173344
- GetUserLogged Action
- DataGridConfigurations
- GetLicenseKey Action
- use GridConfigurations.LicenseKey object to call its getLicenseKey() method
- GetLicenseKey Action
This component requires
- a REST API Method that returns a data list
- a REST API Method that returns the URL of the API above
- set the RestURL property of the GridContainer web block as the result of the API above
- the same set of REST APIs are needed for updating using SendSelectedRowsButton
- set the RestURL property of the SendSelectedRowsButton web block as the result of the API gotten from the URL getting API