Getting Dynamic list from custom table in DataSource Value of multiple choice component in widget

Ankit Singh asked on November 29, 2024 08:02

Hi Team, we need to get the dynamic list from custom table and then need to populate the datasource of the multiple choice component. public const string listed = "test\r\ntest2";

[EditingComponent(MultipleChoiceComponent.IDENTIFIER, Order = 0, Label = "Menu")] [EditingComponentProperty(nameof(MultipleChoiceProperties.DataSource), listed)] public string Menu { get; set; }

I need to the get the listed from the custom table

Recent Answers


Juraj Ondrus answered on November 29, 2024 11:57

Have you tried following the idea from the documentation?

0 votesVote for this answer Mark as a Correct answer

Ankit Singh answered on November 29, 2024 12:33 (last edited on November 29, 2024 13:17)

I followed the approach but for now it's only selecting a single option I want multiple options to be selected

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.