Flow Help
NovacuraRoadmap
6.11
6.11
  • What is Novacura Flow?
  • ๐Ÿ““System requirements
  • ๐ŸŽ‰Release notes
  • ๐ŸŽฃGetting started
    • Quick start
    • Develop your first app
  • ๐Ÿ”จInstallation and upgrade
    • Installation
    • New installation
    • Upgrade installation
    • Apply service pack
    • Add component
    • Windows authentication
    • Event log
    • FAQ
      • Monitoring
      • Troubleshooting
      • Migration tool
      • IIS user permission
      • Moving SQLite portal database
  • ๐ŸงฑSecurity
    • Server
      • Security settings
  • ๐Ÿ’กDevelopment
    • Studio
      • Installation and log in
        • OpenID connect
      • Applications
        • Menu
          • Inbox
        • Workflow
          • Start step
          • User step
            • Header
            • Static text
            • Labeled static text
            • Link
            • External app launcher
            • Image viewer
            • Text input
            • Numeric input
            • Date input
            • Time input
            • Check box input
            • Binary option input
            • List selection input
            • List multi-selection input
            • Menu selection input
            • Image selection input
            • Data grid
            • Calendar
            • List presentation
            • Camera input
            • File gallery
            • GPS location input
            • Signature capture input
            • Item creation sub task
            • Check list sub task
            • Verb sub task
          • Machine step
          • Decision step
          • Assertion step
          • Assignment
          • Table
          • Checkpoint
          • Split
          • Join
          • Script item
          • Log point
          • Annotation
          • End step
          • Included workflow
          • Offline resource
          • Public variables
          • Swimlanes
          • Offline workflow
            • Create an offline workflow
            • Create an offline resource
            • Create an offline seed inbox
            • Create an offline transactions
        • Subscribe
        • Server content
          • Workflow scheduler
          • Generate link
        • Elements
        • Problems
        • Find
        • Metadata panel
        • Version panel
        • Navigation
        • Test bench
        • Application package
          • Get started
      • Environment
        • Users
        • Roles
        • Connectors
        • Properties
        • Languages
        • System events
        • Active directory sync
        • License
        • Devices
        • Branding
        • Reports
      • Monitoring
        • Tasks
        • Applications
        • Help requests
      • Connectors
        • Business systems
          • Database
          • IFS Applications
          • Infor M3
            • M3 Infor API
            • Infor M3 REST
          • Maximo Generic
          • SAP
            • SAP BAPI
              • Basic API
                • BAPI: ZNCFLOW_APPLICATION_COMPONENT
                • BAPI: BAPI_MONITOR_GETLIST
                • BAPI: BAPI_INTERFACE_GETDOCU
                • BAPI: RFC_GET_FUNCTION_INTERFACE
                • BAPI: ZNCFLOW_DDIF_FIELDINFO_GET
          • Oracle Primavera
          • Microsoft Dynamics AX
          • Microsoft Dynamics CRM
          • Microsoft Active Directory
          • Microsoft SharePoint 2013
            • Generic operations
              • Custom list
                • Attachments
                • Create new item
                • Create new item, with field values
                • Delete item
                • Get items by query
                • List all items
                • List fields of items
                • Update item field
              • Document library
                • Check in/out file
                • File management
                • Create sub folder
                • Upload/download
              • Tasks
                • Attachments
                • Predecessors
                • Task information
                • Update task
                • Create new subtask
                • Create new task
              • User operations
                • Group operations
                • Get user by ID
                • Get user by login name
                • List users
        • Communication
          • Email
          • Web page submit
          • FTP
            • Server Operations
            • Directory operations
            • Download Operations
            • File Operations
            • Upload operations
          • SFTP
            • Directory operations
            • Download operations
            • File operations
            • Upload operations
          • Modbus
            • Read operations
            • Write operations
          • External Oauth 2.0 provider
          • Siox
          • REST service
            • REST Project Tool
              • Global output
              • Global parameters
              • Authorization schemes
              • Model transform
              • Enumerations
              • Models
                • Custom model member
              • Operations
                • Parameters
                • Outputs
              • Getting started
          • Web service
            • Example
              • Webservice example: Connector to Microsoft Dynamics AX
        • Printing
          • BarTender 2016
            • Print
            • Manually select
            • Print from BTXML script
            • Print from BTXML script
            • List printers
          • NiceLabel
          • Html to PDF
        • Utility
          • Flow environment
          • Table Operations
          • Custom .NET
          • Google API
          • Generate Xml Data
          • Generate text
          • File System
            • Directory operations
            • File operations
            • Zip operations
      • FlowScript
        • Variables
        • Operators
        • Functions
          • Text functions
          • Number functions
          • Date functions
          • Advanced functions
        • Table
          • Table functions
        • Programs
        • Formats
        • Script examples
        • AD sync scripting
    • Portal 2
      • Getting started
      • General
        • Add pages and portlets
        • Edit pages
        • Navigation
        • Style
        • Settings
          • List of values management
          • Presentation mode
      • Portlets
        • Chart portlets
          • Column chart
          • Line chart
          • Pie chart
        • Data tree
        • Document viewer
        • Filter
        • Html table
        • KPI portlets
          • KPI card
          • Speedometer
        • Record viewer
        • Table
        • Text
        • Common configuration
    • Portal
      • Get started
      • Options
        • Settings
        • List of values management
        • Global variables management
        • Content access management
        • Translations management
        • Import/export
      • Portlets
        • Table
          • Database source
          • Workflow source
        • Record viewer
        • Process overview
        • Iframe
        • Inbox
        • News viewer
        • Document tree
        • Document list
        • Document viewer
        • Generic document viewer
        • Generic document viewer URL
        • Generic document viewer
        • Filter
        • HTML
        • Text
        • Data visualizer card
        • Data visualizer navigator
        • Visual planning
          • Gantt chart
          • Kanban
          • Resource bucket
          • Scheduler
        • Map
      • Portal Push
      • Icons
  • ๐Ÿ“ฑClients
    • Android legacy client
    • iOS client
    • Windows 10 client
    • Web client
    • Windows CE client
  • โ“FAQ
    • How do i find which version of Flow i am running?
  • ๐Ÿ“งContact
Powered by GitBook
On this page
  • General
  • Database source
  • Listeners
  • Listener types
  • Style
  • Workflow source
  • Add existing workflow
  • Create new workflow

Was this helpful?

  1. Development
  2. Portal 2
  3. Portlets

Common configuration

The configuration common for all portlets.

PreviousTextNextPortal

Last updated 5 years ago

Was this helpful?

General

All portlets must have a name and a unique identifier.

  • Name: the name of the portlet

  • Unique identifier: unique string to identify this portlet.

Dynamic Titles

Dynamic titles can be used in portlet names to give more details of what is presented. For this to work, the portlet needs to have access to data as a parameter from the other portlets. To achieve this, let the portlet listen to other portlets.

To add a dynamic value to the title, add the parameter in the portlet's name using curly brackets - {}.

Example:

The title โ€œProduct info: {ProductId}โ€ would display the chosen product id in the title given the parameter name is ProductId.

Settings

  • Auto-refresh: enables the portlet to refresh the data every SS:second

    • If data has changed in the columns, the table will not refresh until the changes have been saved or cancelled

  • Exportable: enables a button to export the data as a Microsoft Excel File (.xlsx)

    • Available for table portlet

  • Auto hide header: click to hide the header in the portlet

Database source

Database source uses a connector to fetch data to the portlet. Select the connector in the drop-down query and write the select statement in the space below the connector. The database type is visible at the top-right above the statement space, as is the expand icon (F11), which can be clicked to get a larger statement space.

When the select statement has been written, press the Execute button to make the select result available in the continued configuration.

Listeners

Listeners enable the portlet to listen for events sent by other portlets to execute specified commands. Specify which portlet the commands should be triggered from by clicking in the From field. Select from the list of the available portlet's unique identifier. Click New if the portlet is to listen to more than one portlet. If using listeners, remember to adjust the data source query.

The following events are available:

  • On Row Selection

  • On Refresh

  • On Filter

Show rows when On Row Selected is empty: tick this box if the table portlet is listening to a portlet, but should show all data if no command is givenโ€”that is if no row has been selected in the commanding portlet. This option is only available for Oracle connectors.

Listener types

On Filter

On Filter event will be sent when filtering data by a Filter portlet when a filter is applied. The listening portlet will react to the filter and show appropriate data.

Example - list of values as filter

List of values select fetches part number and part description.

The query result is:

PartNo PartDesc

1013 Printer paper

1014 Rubber bands

1015 Ruler

List of values is set up to have PartDesc as the Text column and PartNo as the Value column. The list of values drop-down list will show the PartDesc (text column), and when selecting Printer Paper the part number 1013 will be sent as the value (value column) to filter on.

The column upon which the filter is to be applied is the Parameter in the filter configuration.

On Refresh

The event will be sent when a portlet is refreshed, either manually or automatically, and refresh listening portlets.

On Row Selection

When selecting a row or item, this event will be sent to allow portlets to listen to this specific data.

Use curly brackets - {} to handle the data in the listening portlet. In the below example the portlet will only show data where PartNo equals the PartNo send in the selected row.

select PartNo, PartDesc

from part

where PartNo = {PartNo}

Style

In Style, the user can set the color for portal title and add a color for a user-defined header stripe. The header stripe is visible between the table title and header sections.

Click on the color box to select the desired color.

Workflow source

Workflow data source fetches data to the portlet by executing specified flow studio workflows. Read more about how to work with workflows by clicking the link below.

The workflow data source fetches data, as the name implies, from a workflow.

Add existing workflow

If the workflow already has been created, select it from the drop-down. The workflow can be opened by clicking the Open button.

Create new workflow

To create a new workflow, click the New button. Enter the workflow name, select if the workflow is to have paging and/or filtering, and click Create to save the workflow in the Studio. Click Open to launch the Studio and modify/finalize the workflow.

Workflow Input Configuration

When a workflow is created from the Portal, the workflow will be automatically generated with Input and/or QuerySetting as start input data.

  • Input: enter the data or columns to be sent when communicating between two portlets, for example columns like ID and Value.

  • Query Settings: this contains necessary information for filtering, pagination, and sorting (only when using pagination and filtering).

Workflow Output Configuration

Once the workflow elements have been added and finalized, configure the End Step to send data back to the Portal. The two important values that need to be sent are:

  • TotalCount: the calculated total count (only when using pagination and filtering).

  • Single table variable: table variable with data that can be used by the Portal.

To add output variables, open the End Step and tick the boxes for the output variables required to be sent to the Portal.

๐Ÿ’ก
Workflow
Example 1: Select statement
Example2: Select statement