[Feature]: Model Driven Application - UCI - Muiltiselectoption

Open
#592 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
testing-qa

Research direction

Read the Model Driven Entity Record handling for Power Fx state and the agents-details.te.yaml example linked from issue #560. Verify how available options and selected options should be exposed, then use the shown CountRows and SetProperty cases as acceptance checks for querying and updating selections.

Written by the indexing model from the issue text.

Description

enhancement
Is your feature request related to a problem? Please describe.

While testing the Copilot Studio Kit agent configuration Model Driven Entity Record need the ability to get and set selected options

Describe the solution you'd like

Enhance the Power Fx state so that the following is available:

  • Query the list of available options
  • Query the current list of selected options
  • Set new list of selected options
Describe alternatives you've considered

No response

Additional context?

For example for Testing Copilot Studio Kit in the agents-details.te.yaml looking at add the test with the following:

Assert(CountRows(cat_configurationtypescodes.Options)=3)

and set a single record

SetProperty((cat_configurationtypescodes.SelectedOptions, First(cat_configurationtypescodes.Options))

or multiple records

SetProperty((cat_configurationtypescodes.SelectedOptions, Table(First(cat_configurationtypescodes.Options)))

Dominant language
C#
Stars
150
Forks
55
Avg merge
5d 23h
Merged PRs (30d)
4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/PowerApps-TestEngine

All issues in microsoft/PowerApps-TestEngine

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.