Skip to main content

AppBlockItemView

One component inside an app block's list. The fields set depend on type.

type AppBlockItemView {
amount: String
currencyCode: String
display: String
label: String
max: Int
path: String
ref: AppBlockEntityRefView
text: String
tone: String
type: String!
unit: String
value: Float
variant: String
}

Fields​

AppBlockItemView.amount ● String scalar​

A money component's amount as a decimal string. Format it with currencyCode.

AppBlockItemView.currencyCode ● String scalar​

A money component's ISO 4217 currency code.

AppBlockItemView.display ● String scalar​

An entityRef component's name in ARC (customer name, order number).

AppBlockItemView.label ● String scalar​

A short label.

AppBlockItemView.max ● Int scalar​

A rating component's highest value.

AppBlockItemView.path ● String scalar​

An action component's app-proxy path.

AppBlockItemView.ref ● AppBlockEntityRefView object​

An entityRef component's record.

AppBlockItemView.text ● String scalar​

A text component's text.

AppBlockItemView.tone ● String scalar​

default, success, warning or critical.

AppBlockItemView.type ● String! non-null scalar​

text, number, money, rating, action or entityRef.

AppBlockItemView.unit ● String scalar​

A number component's unit, e.g. pts.

AppBlockItemView.value ● Float scalar​

A number or rating component's value.

AppBlockItemView.variant ● String scalar​

A text component's style: body, heading or caption.

Member Of​

AppBlockComponentView object