oj-c-select-multiple: "select all" option
Summary:
oj-c-select-multiple, select all option
Content (please ensure you mask any confidential information):
Hi i am using oj-c-select-multiple and i need a "select all" option. Can anyone help me?
I tried using a for-each by adding all selectable values to the Country array, but it did not work (see code snippet)
Version (include the version you are using, if applicable):
23.10.4
Code Snippet (add any code snippets that support your topic, if applicable):
async run(context, { value }) {
const { $page, $flow, $application } = context;
const Countries = await Actions.callRest(context, {
endpoint: 'businessObjects/getall_Xc8222CountryV',
responseBodyFormat: 'json');
if (value.has("SELECT/DESELECT ALL")) {
Tagged:
1