Got feedback or spotted a mistake?

Leave a comment at the end of this page or email contact@krishagni.com

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

From v5.0 onwards, It is possible to configure a user list with a few selected the user.

This features help user to speed up the data entry. If there are only 4-5 users to select from, then user don't have to search every time from the list of all users.

Example: The user drop-down field 'Biobank Technician' is only having the 4-5 users to select, instead of searching from the list of all the users, the user is able to create the subset of the users which belongs to biobank technician.

Add the below-mentioned code block to create the subset of users.

{
            "name": "specimen.extensionDetail.attrsMap.FC15",
            "caption": "Biobank Technician",
            "type": "user",
            "selectProp": "id",
            "listSource": {
              "options": [
                {
                  "id": 12,
                  "firstName": "Cora",
                  "lastName": "Mariano"
                },
                {
                  "id": 13,
                  "firstName": "Emily",
                  "lastName": "Lin"
                },
                {
                  "id": 382,
                  "firstName": "Nurul",
                  "lastName": "Alhamid"
                },
                {
                  "id": 166,
                  "firstName": "Enmily",
                  "lastName": "Hernandez"
                },
                {
                  "id": 248,
                  "firstName": "Jessica",
                  "lastName": "Kenney"
                },
                {
                  "id": 418,
                  "firstName": "Priscilla",
                  "lastName": "McNeil"
                }
              ]
            }
          },

Screenshot: After configuring the user subset in the JSON workflow, in the 'Biobank Technician' user drop-down shows only listed users.



  • No labels