Selectable Fields

Overview

The ability to comment against the content which has been entered by a user. This content is currently in a long text format (paragraph field with multiple paragraphs) and smaller text fields (which are out of scope for this component and will be handled purely in Appian).

Users will enter data in a set of standard Appian components. This content will then be presented to another user via the component to be made highlightable so that comments can be raised against the content that they entered (similar to word commenting functionality). The presentation and management of the comments is completely outside of the components scope, the scope of the component is to enable highlighting and persistence of the data of the highlighting.

These comments will then be reviewed by the user that initially raised them and the content will be edited using standard OoTB Appian UI components.

This component enables designers to build inline commenting capabilities.

Key Features & Functionality

  • Simple paragraph or rich text field with an addition of a button which when clicked saves data pertinent to the the selection to be used by the Appian application.
  • For paragraph text, the highlight event will append a dictionary to the input/output variable which has the properties {startIndex, endIndex, color, selectedText} to enable the persistence of this data to the Application.
  • For rich text, the highlight event will add a span tag to the highlighted area with a unique UUID, outputted as a map to the selectedText parameter, to enable the persistence of this data to the Application.
  • Once the dictionary is appended to; the content of the component is updated to display the user selected highlight. The Appian application will then interface with the data which was saved.
Anonymous