From c874eebade514894c794680013bb90addcfa8c66 Mon Sep 17 00:00:00 2001 From: Eric Marchand <129385512+e-marchand@users.noreply.github.com> Date: Thu, 21 Dec 2023 10:44:18 +0100 Subject: [PATCH] Update ChoiceListFromCurrentEntityData.md --- docs/ChoiceListFromCurrentEntityData.md | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/docs/ChoiceListFromCurrentEntityData.md b/docs/ChoiceListFromCurrentEntityData.md index 27ac904..42b8787 100644 --- a/docs/ChoiceListFromCurrentEntityData.md +++ b/docs/ChoiceListFromCurrentEntityData.md @@ -23,7 +23,7 @@ The input control manifest.json contains a "choiceList" key [as usual for choice ```json { - "name": "MyChoiceList", + "name": "myChoiceList", "type": [ "text" ], @@ -56,13 +56,28 @@ Inside `app/src/main/assets/inputControls.json` the input control json definitio "currentEntity": true } }, - "name": "MyChoiceList", + "name": "myChoiceList", "format": "push" } ...] ``` +then as usual for action, inside actions.json, the corresponding action parameter contains the "source" + +```json +... +{ + "name": "myParameter", + "label": "New Parameter", + "shortLabel": "New", + "type": "string", + "format": "/push", + "source": "/myChoiceList" +} +... +``` + ## iOS Inside `???.Storyboard`