Canvas Apps
How To Store Choice Value To Collection

How To Store Choice Value To Collection

In this post we will see more in detail about how to store choice value to collection.

  1. Choice Column Name: AccountType

2. Choice Values:

3. On Button select do the following expression:

Where EmployeeData is our Table name and AccountType is our choice column. Find Code snippet below.

ClearCollect(
    colAccountType,
    {TextData: ""}
);
ForAll(
    Choices(EmployeeData.AccountType),
    Collect(
        colAccountType,
        {TextData: Text(ThisRecord.Value)}
    )
);

4. Finally you can view collection data from view tab.

YouTube player

Comment your queries below for further help. šŸ™‚

0

Leave a Reply

Newsletter Signup

Subscribe to our weekly newsletter below and never miss out the latest updates

%d bloggers like this: