Aras Innovator Platform

FeedTemplate

A Feed is a function that returns a set of Secure Messages or History records associated with a set of items. Each Feed Item essentially represents a function.

Figure 8.

A single FeedTemplate with the following default properties already appears in the Relationship grid:

  • Feed Type: Board
  • History Events: null
  • Reference: this
  • Polysource type name: null

Use the following procedure to make changes to the FeedTemplate:

  1. Click in the Relationship Toolbar to add a new FeedTemplate in the relationship grid.
  2. Click the down arrow in the Feed Type column and select the appropriate Feed Type from the dropdown list.
  3. Enter the appropriate Reference type in the Reference field.
  4. Right-click the FeedTemplate in the Relationship grid and select FeedTemplate --> Open from the context menu. This opens the FeedTemplate Item tear-off window.

Figure 9.

  1. Click to modify the properties provided in the FeedTemplate as required. Refer to table 4 for the properties of the FeedTemplate along with its description.

Table 2: FeedTemplate properties

Property Description
Feed TypeThere are two types of Feed: Board: if this Feed Type is selected; it means that the Secure Messages (and History records) will be aggregated from Boards of items that are referred by reference property. Discussion: if this Feed Type is selected, it means that for each item referenced by reference property, Aras Innovator executes all Feeds for the Item’s DiscussionTemplate. It allows performing recursive aggregation of Secure Messages and History records from a hierarchical structure of items.
History Events(string:512) This property is used to aggregate History actions on an item together with the Secure messages. The syntax of History Events is (“|”) separated by a list of Configurable History Events. For example, “Add|Update|Promote” If the property value is “*” (asterisk wildcard) then all history records are aggregated. If the property value is blank, then no history records are aggregated. The property cannot be set for Feeds of Type Discussion.
Reference(text) This property is used to aggregate secure messages depending on the Reference property of an Item. The syntax of the reference is: reference = this | property | relationshipPath(property) | AML property = Name of the property of type Item. relatinshipPath - relationshipName | relationshipName/relationshipPath relationshipName - Name of a Relationship Type AML = {valid AML with single top level Item that has action=”get | {custom method}”} Following are examples of few valid references: this
p1
R1(p1)
R1/R2/R3/R4(p1)
<Item type=”CAD” id=”…” action=”get” />
Polysource type nameThis defines from what specific polysource type the Feed must aggregate Secure Messages. This property is set only when the reference of the Feed refers to a polyitem (For example, a Feed on the DiscussionTemplate for an ItemType Project has the reference=Project Docs(related_id) which references the deliverable which is a polyitem with out-of-the-box polysource Document). Defining a polysource is essential in case the Feed has at least one FileSelector, as a different polysource of the same Polymorphic itemtype can have different properties of type item with the data source file in their structure.
FileSelectorTemplate TabSelecting this tab displays a FileSelectorTemplate.