World clocks

<< Click to Display Table of Contents >>

Navigation:  Widgets >

World clocks

Overview

The World clocks Widget for Bizagi is available for download at Bizagi Widget Xchange.

Through this Widget, you will be able to display any number of clocks directly in your processes, to show the current time in any place of the world.

 

Worldclocks_teaser

 

note_pin

This Widget requires internet connection (online access to http://24timezones.com).

 

Before you start

In order to test and use this Widget, you will need:

1.Bizagi Studio previously installed.

2.This specific Widget previously installed, either as described at https://help.bizagi.com/platform/en/index.html?widget_xchange.htm, or as described at https://help.bizagi.com/platform/en/index.html?widgets_manualinst.htm.

 

Content Security Policy considerations

The Content Security Policy is an HTTP header that adds an additional layer of security to web pages. By configuring this header, users can allow or deny different resources that can be loaded in the Work Portal, such as JavaScript calls, or CSS components. To use this component, it is necessary to configure the Content Security Policy in Bizagi Studio, as described here.

 

The following is the Content Security Policy for the World clocks widget:

 

default-src 'self' data: blob:;

script-src 'self' 'unsafe-eval' 'unsafe-inline' data: 24timezones.com;

style-src 'self' 'unsafe-inline';

img-src 'self' data:;

font-src 'self' 'unsafe-inline' data:;

 

note_pin

The Content Security Policy configuration is only necessary for Bizagi 11.2.5 version and higher.

 

Data model considerations

In order to use this Widget, you do not need anything in particular in your data model (no attributes required).

 

Properties configuration

In order to configure this Widget once it is installed in your project, include it in any form and set it properties in the Forms designer, just as you would do with any other type of Bizagi control.

 

Worldclocks_forms

 

Consider the following properties.

 

PROPERTY

POSSIBLE VALUES

DEFAULT VALUE / SUGGESTED

City

A string defining the name of the preset city shown by the clock.

When set as editable, the clock will allow changing the city in runtime.

(none)

Color

A palette to define the color used by the clock's border.

Red

 

note_pin

Notice all Bizagi controls and Widgets, enable a visible property which allows you to set if that control should be displayed in a given form or not (e.g, by using a business rule).

This Widget enables this property as well as editable and required.


Last Updated 6/20/2024 10:48:55 AM