Table of Contents
< All Topics
Print

Views

Gnosis Views are used for the No-code App, Custom Application User Interface, Application Logic, and Web APIs.

Access Control is set to Gnosis Identity Permissions on the View. To render or execute the View, a User must be a Member of the Identity.

View Name

The View Name can be any string of letters, digits, spaces, underscores, and dashes but cannot be empty or whitespace only. However, several reserved names are used for specific purposes.

  • All Sub-types
  • Archived
  • Explore
  • Home
  • Import
  • Init
  • Items
  • New
  • Read
  • Selection
  • Settings
  • SideDetails
  • Start
  • Update

View Type

Depending on the View Type, a View can be part of the UI, a Web API, or internal application logic.

Custom

EventHandler

Generator

Generator-type Views are special in that they are used to generate other Views of other view types. Generator Views are mainly used to create No-Code views of type Items, Read, New, and Update.

Gnosis recognizes a special view format, ‘auto,’ when applying the configured View Generator. The Generator can be set in auto View options, solution options, or global configuration.

Import

Import views are used as UI for import operations and can declare property options for the import process. The Item Type Import Script handles the import process for an item type.

Items

Items-type Views are used when navigating a Solution with the Gnosis No-code App.

Layout

Layout-type Views provide the ability to create any user interface you want.

The View format can be straight HTML, JSON, Gnosis Script (gs), or the most common gshtml Gnosis Markup Scripts format. You have complete control over the View’s content, accessible by URL.

/app/{SolutionName}.{ViewName}

Layout-type Views don’t load the Gnosis No-code App, so the Header bar is not shown.

If there is only one Layout-type View for the Solution, the URL can be simplified:

/app/{SolutionName}

If there are multiple Layout-type Views, the lowest-order View will be used.

Start Layout View

The Launch Pad is the default landing page for the Gnosis No-code App.

If there is a Solution Layout-type Start View, the Gnosis App begins with this View, and the No-code App is not loaded, so the auto-format will not be used.

In addition, set the Default Solution for the Users and Teams in the Gnosis Identities App to the Solution with the Start View.

New

Override

Print

Read

Report

Report views are used to generate data reports for item types.

Task

Template

Template views are custom views with textual templates as content. The content of a template view is rendered on the fly from context using special template macro syntax.

The rendered content is then used according to view format (dynamic HTML, dynamic JavaScript, dynamic CSS, or even dynamic Gnosis Script).

Update

Widget

View Format

The View Format specifies the format of the view content.

  • auto
  • chart
  • control
  • controller – used by the ExtJS UI
  • css
  • function
  • gsAction
  • gshtml
  • gs
  • gridview – used by the ExtJS UI
  • html
  • js
  • json
  • report
  • settings
  • svg
  • template
  • viewModel – used by the ExtJS UI
  • XML