Created
June 7, 2021 13:46
-
-
Save jhoek/750c3daa65c2f1fa896081222cae3952 to your computer and use it in GitHub Desktop.
Business Central Page Actions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"item":{ | |
"navigation": { | |
"Entries": { | |
"caption": "Entries", | |
"ellipsis": true | |
}, | |
"Availability": { | |
"caption": "Availability", | |
"children": { | |
"AvailabilityByLocation": {"caption": "By Location"}, | |
"AvailabilityByVariant": {"caption": "By Variant"} | |
} | |
} | |
} | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": { | |
"area": { | |
"type": "object", | |
"properties": { | |
"removeExistingActions": { "type": "boolean"} | |
}, | |
"additionalProperties": { | |
"oneOf": [ | |
{ | |
"$ref": "#/definitions/group" | |
}, | |
{ | |
"$ref": "#/definitions/action" | |
} | |
] | |
} | |
}, | |
"group": { | |
"type": "object", | |
"properties": { | |
"caption": { | |
"type": "string" | |
}, | |
"enabled": { | |
"type": "string" | |
}, | |
"image": { | |
"type": "string" | |
}, | |
"visible": { | |
"type": "string" | |
}, | |
"tooltip": { | |
"type": "string" | |
}, | |
"children": { | |
"type": "object", | |
"additionalProperties": { | |
"anyOf": [ | |
{ | |
"$ref": "#/definitions/group" | |
}, | |
{ | |
"$ref": "#/definitions/action" | |
} | |
] | |
} | |
}, | |
"removeExistingActions": { "type": "boolean"}, | |
"excludeFromPages": { | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"required": [ | |
"caption" | |
] | |
}, | |
"action": { | |
"type": "object", | |
"properties": { | |
"caption": { | |
"type": "string" | |
}, | |
"ellipsis": { | |
"type": "boolean" | |
}, | |
"excludeFromPages": { | |
"type": "array" | |
} | |
}, | |
"additionalProperties": false, | |
"required": [ | |
"caption" | |
] | |
} | |
}, | |
"type": "object", | |
"additionalProperties": { | |
"type": "object", | |
"properties": { | |
"creation": { | |
"$ref": "#/definitions/area" | |
}, | |
"navigation": { | |
"$ref": "#/definitions/area" | |
}, | |
"processing": { | |
"$ref": "#/definitions/area" | |
}, | |
"reporting": { | |
"$ref": "#/definitions/area" | |
}, | |
"skipPages": { | |
"type": "array", | |
"items": { | |
"type": "string" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment