Aras Innovator Platform

Appendix A – Standard ItemType Configuration

The appendix defines out-of-the-box Feeds for some of Aras Innovator’s standard ItemTypes.

Aggregate messages from own Board, Boards of directly referenced CADs (i.e., first level only without further CAD dependencies), referenced Document Boards and Boards of first level Part BOM children. Shows files only from related CADs and Documents (does not show files from CADs and Documents of first level Part BOM children).

DiscussionTemplate

item_selection_depth: 1

file_selection_depth: 1

Feed 1:

feed_type: Board

reference: this

history_events: null

Feed 2:

feed_type: Discussion

reference: “Part CAD(related_id)”

history_events: null

Feed 3:

feed_type: Discussion

reference: “Part Document(related_id)”

history_events: null

Feed 4:

feed_type: Discussion

reference: “Part BOM(related_id)”

history_events: null

Aggregates messages from own Board. Shows own files.

Feed 1:

feed_type: Board

reference: this

history_events: null

{related FileSelectors}:

FS1:

reference: “Document File(related_id)”

filter: { ID of “*.pdf” FileType } | {ID of “*.jpg” FileType} | {ID of “*.png” FileType} | {ID of “*.gif” FileType}

Aggregate messages from own Board. Shows own files.

Feed 1:

feed_type: Board

reference: this

history_events: null

{related FileSelectors}:

FS1:

reference: view_file

filter: {ID of ‘*.HWF’ FileType}

FS2:

reference: viewable_file

filter: {ID of ‘*.pdf’ FileType} | {ID of “*.jpg” FileType} | {ID of “*.png” FileType} | {ID of “*.gif” FileType}

FS3:

reference: “CADFiles(attached_file)”

filter: { ID of “*.pdf” FileType } | {ID of “*.jpg” FileType} | {ID of “*.png” FileType} | {ID of “*.gif” FileType}

Aggregate messages from own Board and discussions of all new “change control items” of affected items related to the ECO. Show files from all new “change control items” of affected items related to the ECO. This is representative of the Feed definition of other Change items, including PR, ECR, ECN, Simple ECO, Simple MCO, Express DCO, and Express EDR.

DiscussionTemplate

item_selection_depth: 2

file_selection_depth: 2

Feed 1:

feed_type: Board

reference: this

history_events: null

Feed 2:

feed_type: Discussion

reference: =”Express ECO” id=”{id}” action=”SSVC_GetECOAffectedControlParts”/>

history_events: null

polysource_type_name: Part

Feed 3:

feed_type: Discussion

reference: =”Express ECO” id=”{id}” action=”SSVC_GetECOAffectedControlCADs”/>

history_events: null

polysource_type_name: CAD

Feed 4:

feed_type: Discussion

reference: =”Express ECO” id=”{id}” action=”SSVC_GetECOAffectedControlDocs”/>

history_events: null

polysource_type_name: Document

Notes:

Internally all three methods must call the same “internal” parameterized method where the type of the polysource is the method parameter.

Here is pseudo-code for the method:

if (new_item_id !== null)

{

if (affected_id !== null && affected.config_id != new_item_id.config_id)

{

return messages from both affected_id and new_item_id

}

else

{

return messages only from new_item_id

}

}

else

{

Return messages only from affected_id

}

Note
It is recommended to make the Methods OS agnostic to use them with different operating systems. The main incompatibility issues in operating systems that need to be considered when implementing the methods are related to file path case-sensitivity, file path separators, OS-specific line-endings, OS-specific code. For more information about cross-platform development please see section 2.3 Cross-platform development in the Aras Innovator 30 - Programmer’s Guide.