Histórico da Página
Index
Índice | ||||||
---|---|---|---|---|---|---|
|
Speaking of datasets...
This feature allows you to define which datasets will be offline on mobile devices, which should be synchronized with the external data provider, the synchronization frequency, among other options.
...
Datasets are components that allow you to standardize standardizing access to information from locations external to the platform, such as applications and databases. High-performance datasets have a data storage cache obtained externally, which aims to reduce the number of accesses to external data services, that is, it creates a copy of the data structure within the platform for consultationquery, enhancing the performance of the datasets developed on the platform. Therefore, the data are is queried on the platform itself, preventing access to data in the external provider system in every request.
In order to update the data of the copy created on the platform, it is necessary to define the synchronization frequency on the Task Scheduler.
Estado | ||||
---|---|---|---|---|
|
HTML |
---|
<a id="toggleAll" href="#" >Expand/hide additional information. </a>
<script type="text/javascript">
var abertos = 0;
var fechados = 0;
function contador() {
abertos = 0;
fechados = 0;
jQuery(".expand-control").each( function() {
if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
fechados++;
} else {
abertos++;
}
});
}
AJS.toInit(function() {
contador();
var soma = abertos + fechados;
$("#toggleAll").html('Expand/hide ' + soma + ' additional information.');
AJS.$('#toggleAll').click(function() {
contador();
if (abertos >= fechados) {
jQuery(".expand-control").each(
function() {
if (document.getElementById(this.id).children[0].className == "expand-control-icon icon expanded") {
jQuery(this).trigger("click");
}
}
)
} else {
jQuery(".expand-control").each(
function() {
if (document.getElementById(this.id).children[0].className != "expand-control-icon icon expanded") {
jQuery(this).trigger("click");
}
}
)
}
});
});
</script> |
Basic Path
01. From the main menu, click on Control panel.
02. In the General tab, click on Datasets.
03. View all datasets that have been exported to the platform.
Expandir | ||
---|---|---|
| ||
This feature does not allow the creation of datasets, they must be developed in Studio and later exported to the platform. You can search for a specific dataset through the Search field located in the upper right corner of the window. |
Alternative Paths
Make dataset offline in mobile
01. Click the Edit icon on the Offline mobile column.
02. Define the requested information in the displayed window.
This feature allows creating datasets and defining which ones will be offline on mobile devices, which ones should be synchronized with the external data provider, and the synchronization frequency, disable those that are no longer used, among other options.
Active datasets are highlighted with a stronger font color to stand out among datasets that are no longer being used.
Informações | ||
---|---|---|
| ||
Refer to the technical documentation to learn more about dataset development. |
Displaying datasets
...
01. In the main menu, click Control Panel, then check Development container and click Datasets.
02. View all datasets shown in the list.
Painel |
---|
It is possible to search for a specific dataset through the Search field located on the upper right corner of the window, or use the Filter button to select datasets that will be returned. |
Filtering datasets
...
01. Click the Filter button located on the upper right corner of the window.
02. Select the datasets to be shown on screen. Filter by status (active, inactive and/or under editing) and type (internal, simple and/or advanced).
Painel |
---|
The selected types of datasets will be listed. |
New simple dataset
...
01. Click New Dataset, and click Simple.
02. In the Code field, enter a code for the dataset.
Painel |
---|
To avoid inconsistencies, the dataset code and description must not contain special characters (except for “_” and “-”). |
03. In the Description field, enter a description for the dataset.
04. In the Service field, select a service for the dataset.
Painel |
---|
If you do not have any registered services, simply go to the Services menu in the General tab of the Control Panel to create a new one. |
05. When you select the SOAP, REST, or JDBC services, the fill-in options will appear differently from one to the other. Fill in the fields according to the selected service.
Painel | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
06. Click Save.
New advanced dataset
...
01. Click New Dataset, and click Advanced.
02. In the Code field, enter a code for the dataset.
Painel |
---|
To avoid inconsistencies, the dataset code and description must not contain special characters (except for “_” and “-”). |
03. In the Description field, enter a description for the dataset.
Painel |
---|
This adds a new advanced dataset record and opens the screen to edit the dataset source code. The source code will be saved as draft before the authenticated user clicks Save. Changes to the source code are only applied to the dataset after the user completes all changes and clicks the Post button. Refer to the technical documentation available here to learn more about building advanced datasets. |
Enable offline dataset on mobile
...
01. Click the edit icon in the Offline mobile column, represented by the pencil symbol.
02. Define the required information in the pop-up window
Painel | ||
---|---|---|
The default setting is No (Off). Required information: Use cache on mobile devices? When enabled, the data in the dataset is stored in cache when used on mobile devices. In this case, the button ON (yes) is displayed, indicating that the feature is active. When set to disable the feature, the button OFF (no) is displayed, indicating | ||
Expandir | ||
| ||
The requested information is: Use cache in mobile devices? Mobile cache expiration time Time in which the stored data is considered valid and remain remains in the cache of mobile devices before being updated. Not use cache when the mobile device is online? When enabled, it states that the data in cache will is not be accessed queried when the mobile device is online, that is, they will be it is required from the external system. |
03. Click on Save.
Enable dataset data synchronization
01. Click the Edit icon on the Sync dataset column.
02. Enable dataset data synchronization in "Synchronize with server?".
Expandir | ||
---|---|---|
| ||
It is only possible to enable data synchronization for datasets developed on the platform. When enabling synchronization, it will be carried out according to the schedule created in Task Scheduler. Information on how to define the synchronization frequency can be obtained in the alternate path Edit scheduling. When this feature is enabled, the button is marked as ON. When activated to disable the feature, it is presented with the call OFF, stating that the feature is disabled. |
03. Click Close to return to the main window.
View Syncing Information
01. Click the information icon on the Last synchronization column.
02. View the information of the last data synchronization of the dataset.
03. Click Close to return to the main window.
Enable scheduling of dataset data synchronization
01. Click on the context menu located on the bottom right side of the line that corresponds to the dataset for which the synchronization schedule will be edited.
02. Click on Edit scheduling.
03. In the Schedule settings window, change the desired information.
Expandir | ||
---|---|---|
| ||
Additional information on the fields can be found in Task Scheduler. |
04. Click Confirm.
Query dataset
01. Click on the context menu located on the bottom-right side of the line corresponding to the dataset that will be queried.
02. Click on Query dataset.
03. View the dataset source code.
04. Click Close.
Delete the dataset data
01. Click on the context menu located on the bottom-right side of the line corresponding to the dataset from which data will be deleted.
02. Click on Delete data.
03. In the message displayed, click on Yes.
Expandir | ||
---|---|---|
| ||
When activating this option, all data contained in the dataset is deleted. |
Synchronize data in the dataset
01. Click on the context menu located on the bottom-right side of the line corresponding to the dataset from which data will be synchronized.
02. Click on Synchronize now.
Expandir | ||
---|---|---|
| ||
When pressing this option, the data from the dataset written on the platform are synchronized with the corresponding data from the external system. |
Nota | ||
---|---|---|
| ||
New data created on mobile devices when using the offline mode is only available for query on other forms after the mobile application is synchronized with the Fluig server. For more information about this process, go to the step Configuring dataset synchronization on this page.
|
Import dataset
...
01. Click Import.
02. Select the server to which the dataset will be imported.
Painel |
---|
The server must be properly registered as detailed in the Servers item. The dataset will only be successfully imported if the selected server has a update 1.6.5 (Liquid) or higher. If there is already a dataset with the same code imported from another server, the platform will show a warning message, and the user must confirm in order to create a new version with the deployment of the imported dataset. |
03. Click Import.
Export dataset
...
01. Select the datasets to be exported.
02. Click Export.
03. Select the server to which the dataset will be exported.
Painel |
---|
The server must be properly registered as detailed in the Servers item. The dataset will only be successfully imported if the selected server has a update 1.6.5 (Liquid) or higher. |
04. Click Export.
Configure access permission in the dataset
...
The Control Panel Permissions feature allows you to define users, roles, or groups that will have access to Internal datasets. For more details, go to Permission features in APIs, datasets and webservices.
Dataset synchronization
...
Synchronization features are available in a specific screen, which can be accessed by clicking the link in the Synchronization column. Refer to the Dataset synchronization page to learn more about this feature.
More dataset actions
...
Datasets contain several specific actions, which may be checked by clicking the Horizontal bars icon in the More actions column. Refer to the More dataset actions page to learn more about these features.
Informações | ||
---|---|---|
| ||
This documentation is valid from the Liquid (1.6.5.10 ) update. If you use a previous update, it may contain information different from what you see on your platform. |
...