ResourcesView Action Parameters

Supported ResourcesView Action Parameters.

The ResourcesView action supports the following input arguments:

createNewTab

See  createNewTab in Expand Action Parameters.

RepGroupingOptions

Defines the content and initial value of the Group reps by drop-down list using JSON.

Default configuration:
{
	"items":
	[
		{"textId": "TXT_net_resourceplan_text_3"},
		{"text": "Department", "key": 1, "infoAreaId": "ID", "fieldIds": [2], "tableCaption": "IDGroup"},
		{"text": "Country", "key": 2, "infoAreaId": "ID", "fieldIds": [13]},
		{"text": "Skill", "key": 3, "infoAreaId": "SI", "fieldIds": ["ItemName", "ProblemGroup"]}
	],		
	"selectedIndex": 0
}

Syntax

"items" defines the entries of the drop-down list.

"selectedIndex" defines the inital value.

The following optional properties are supported:

Property

Description

text

Label of the list entry.

textId

Text group and ID of the language-dependent text, see Texts.

key

The unique key used by the drop-down list to restore the selected value when returning to the Resources page. If used, infoAreaId and fieldIds must be defined.

infoAreaId

The info area of the fields used for grouping. If used, key and fieldIds must be defined.

fieldIds

Field IDs or XML names used for grouping. If used key and infoAreaId must be defined.

tableCaption

The table caption used to display the rep groups. If undefined, the caption is assembled from the defined fieldIds in the defined order.

Note: If you want to reset RepGroupingOptions to undefined, you cannot do this in the action definition: You need to delete the definition from the action template itself.

ForceCurrentRep

If set to true, the Resource page is opened showing only the current rep instead of the previously selected rep set.

Use this parameter when displaying a Resource view on a form, e.g. on a start page.

Default: false

showNewButton

See showNewButton.