Histórico da Página
...
Speaking of datasets...
This feature allows you to define which datasets 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, 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 go to Task scheduler and define the synchronization frequency on the Task Scheduler.
Estado
Basic Path
01. In the main menu, click Control Panel.
02. In the General tab, click Datasets.
03. View all internal, generated or encodeddatasets
Expandir | ||
---|---|---|
|
...
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.
It is possible to search for a specific dataset through the Search field located in the upper right corner of the window. |
Alternative Paths
Displaying datasets
01. In the Display field located at the top left side of the screen, select the type of dataset to view.
02. Select the type of dataset to view: Encoded, Generated or Internal.
03. The selected types of datasets will be listed
New Dataset
01. Click New Dataset.
02. In the Code field, enter a code for the dataset.
03. In the Description field, enter a description for the dataset.
04. In the Service field, select a service for the dataset.
Expandir | ||
---|---|---|
| ||
If no service is listed, simply register a new one, by clicking the Register button. In the Name field, add a name for the service to be registered. In the Description field, add a description for the service. In the URL field, add the URL of the Webservice to be used. Click Save. When creating a service in fluig, pointing to a webservice, a .jar file is created in the volume, which is used to access that webservice. The classes within the .jar file are called stubs. That is why, when creating a service, some conflicts may occur and prevent the generation of stubs. Thus it will be necessary to use a JAXB bind file. The binding file will only be used for services created using the CXF API. To add it, simply click Choose file in the Binding file field and add it. For more details about binding, see our technical documentation on Integration with External Applications. |
05. In the Operation field, select an operation for the dataset.
Painel |
---|
It is possible to configure an operation by clicking the Configure field. 01. In the settings window, set the authentication by selecting the Basic Authentication option.If this option is not selected, the user and password fields remain disabled. 02. In the User field, define a user. 03. In the Password field, define a password. 04. To disable chunking, select the Disable chunking option. 05. If you want to enable the soap message list, select the List SOAP messages option. 06. In the Response Time field, define the response time. 07. Click Save. |
06. In the Parameters field, define the assignment and value for each parameter.
07. Click Save.
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 | ||
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 Save
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.
|
...
Synchronize dataset data
...
01. Click the Edit icon on the Sync dataset edit icon, represented by the pencil symbol, located in the Synchronization column.
02. Enable dataset data synchronization in "Synchronize with server?". Click On to enable it.
03. Click Synchronize now
Painel | ||
---|---|---|
Expandir | ||
| ||
When clicking this option, the dataset data written on the platform are synchronized with the corresponding data from the external system. | ||
It is only possible to enable data synchronization for datasets developed on the platform. When enabling synchronization, it will be is carried out according to the schedule created in Task Scheduler. Information For information on how to define the synchronization frequency can be obtained in the alternate , see the alternative 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. |
...
04. Click Off to disable it.
05. Click Save.
06. Click Close.
Painel |
---|
This option can only be edited for Generated Datasets. Internal Datasets are viewed as default. |
View
...
synchronization information
01. Click the information icon on in the Last synchronization column.
02. View the information of on the last data synchronization of the dataset.
03. Click Close to return go back to the main window
Painel |
---|
This option can only be edited for Generated Datasets. |
...
Edit synchronization scheduling
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 editedthe horizontal bars icon, located in the Options column.
02. Click on Edit scheduling.
03. In the Schedule Scheduling settings window, change the desired information .of your choosing
Painel | ||
---|---|---|
For additional | ||
Expandir | ||
| ||
Additional information on the fields can be found in , see Task Scheduler. |
04. Click Confirm.
...
Painel |
---|
To view the next scheduled synchronization, simply keep an eye on the Next synchronization column, which shows the exact date and time of the next synchronization. This option can only be edited for Generated Datasets. |
Display code
01. Click on the context menu located on the bottom-right side of the line corresponding to the dataset that will be queriedthe horizontal bars icon, located in the Options column.
02. Click on Query dataset Display code.
03. View the dataset javascript source code of the developed dataset.
04. Click Close.
Delete
...
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 deletedthe horizontal bars icon, located in the Options column.
02. Click on Delete datadataset.
03. In the pop-up message displayed, click on Yes. Delete
Painel |
---|
Expandir | title | Learn more
When activating clicking this option, all data contained in the dataset is deleted. This option can only be edited for Generated Datasets |
...
Querying 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.
...
title | Learn more |
---|
...
Query, represented by the magnifying glass icon, located in the Options column.
02. View dataset data.
03. Click Close.
Edit dataset
01. Click Edit dataset, represented by the pencil icon, located in the Options column.
02. Make the necessary changes.
03. Click Save.
Informações | ||
---|---|---|
| ||
This documentation is valid from the 1.56.10 2 update. If you use a previous update, it may contain information different from what you see on your platform. |
...