Skip to main content
Version: 8.0

BaseSectionV2 schema

Level: beginner

BaseSectionV2 is the base section schema. Provides the base section logic. Implemented in the NUI package. This is a view model schema. Learn more about the schema properties in a separate article: Client schema. All section schemas must inherit from the BaseSectionV2 schema.

Messages

Base section messages

Name

Mode

Direction

Description

RerenderModule

Address

Publish

Rerender the message of the dashboard module.

ReloadDataOnRestore

Broadcasting

Subscription

Whether to reload data on the following launch.

SelectedPackageResult

Address

Subscription

The selected result.

The Terrasoft.core.enums.MessageMode enumeration represents the message modes, and the Terrasoft.core.enums.MessageDirectionType enumeration represents the message directions. Learn more about the MessageMode enumeration in the JS class library. Learn more about the MessageDirectionType enumeration in the JS class library.

Attributes

ChartEditSchemaName TEXT

The SchemaName editing schema.

IsEmptyChart BOOLEAN

The flag that marks the schema as empty.

AnalyticsChartActiveRow GUID

The active row of the analytics schema

AnalyticsGridData COLLECTION

The view collection of the list analytics.

IsAnalyticsPrintButtonVisible BOOLEAN

The visibility flag of the button to print out analytical forms.

AnalyticsData COLLECTION

The analytics data collection.

IsAnalyticsActionButtonsContainerVisible BOOLEAN

The visibility flag of the analytics action buttons.

AnalyticsDataViewName TEXT

View the name of the analytics section.

IsBindDataActionVisible BOOLEAN

The data binding flag.

The Terrasoft.core.enums.DataValueType enumeration represents the attribute data types. Learn more about the DataValueType enumeration in the JS class library.

Methods

checkCanManageAnalytics()

Whether the user has permission to execute CRUD operations with the schedule. The Analytics setup (CanManageAnalytics code) system operation manages the access permissions.

onCanManageAnalytics(result)

Specifies the CanManageAnalytics attribute depending on the queried Display demo links (ShowDemoLinks code) system setting and Analytics setup (CanManageAnalytics code) system operation.