Árvore de páginas

Você está vendo a versão antiga da página. Ver a versão atual.

Comparar com o atual Ver Histórico da Página

« Anterior Versão 8 Próxima »

Index 

 

Speaking of datasets...

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, among other options.

Datasets are components that allow 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 query, enhancing the performance of the datasets developed on the platform. Therefore, the data 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, go to Task scheduler and define the synchronization frequency.

 

Basic Path

 

01. In the main menu, click Control Panel.

02. In the General tab, click Datasets.

03. View all internal, generated or encodeddatasets

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.

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.

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

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 that the feature is disabled.

Mobile cache expiration time

Time in which the stored data is considered valid and remains in the cache of mobile devices before being updated.

Not use cache when the mobile device is online?

When enabled, the data in cache is not queried when the mobile device is online, that is, it is required from the external system.

03. Click Save

Attencion

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.

For Internal datasets, this option is not editable. They are only viewed as default, Internal.

 

Synchronize dataset data

 

01. Click the edit icon, represented by the pencil symbol, located in the Synchronization column.

02.  Click On to enable it.

03. Click Synchronize now

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 is carried out according to the schedule created in Task Scheduler. For information on how to define the synchronization frequency, see the alternative path Edit scheduling

04. Click Off to disable it.

05. Click Save.

06. Click Close.

This option can only be edited for Generated Datasets. Internal Datasets are viewed as default.

 

View synchronization information

 

01. Click the information icon in the Last synchronization column.

02. View the information on the last data synchronization of the dataset.

03. Click Close to go back to the main window

This option can only be edited for Generated Datasets.

 

Edit synchronization scheduling

 

01. Click the horizontal bars icon, located in the Options column.

02. Click Edit scheduling.

03. In the Scheduling settings window, change the information of your choosing

For additional information on the fields, see Task Scheduler.

04. Click Confirm.

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 the horizontal bars icon, located in the Options column.

02. Click Display code.

03. View the javascript source code of the developed dataset.

04. Click Close

 

Delete dataset

 

01. Click the horizontal bars icon, located in the Options column.

02. Click Delete dataset.

03. In the pop-up message, click Delete

When clicking this option, all data contained in the dataset is deleted.

This option can only be edited for Generated Datasets

 

Querying dataset

 

01. Click 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.

Solo los datasets del tipo Generados podrán tener esta opción editada.


 

 

Please note!

This documentation is valid from the 1.6.2 update. If you use a previous update, it may contain information different from what you see on your platform.

 

 

  • Sem rótulos