AddIn: How to implement a search with results picker?

AddIn: How to implement a search with results picker?

Anonymous
Not applicable
450 Views
1 Reply
Message 1 of 2

AddIn: How to implement a search with results picker?

Anonymous
Not applicable

I would like to develop an AddIn where users can input a string to search in a repository. Then, the list of results consisting of text and images is shown below the search input.
Browsing the command inputs I did not find a UI element flexible enough to implement this. The closest would be LabeledIconDropDownStyle? How could I implement the desired UI?

search text input with preview

0 Likes
451 Views
1 Reply
Reply (1)
Message 2 of 2

jesse
Enthusiast
Enthusiast

Check out the new TableCommandInput, which lets you build a table of CommandInput objects.  You could create a command with a textbox, a button, and an empty table; then, catch the button press in an InputChanged handler, and execute the search; then add rows to the table with the attributes you want to display.  You may not be able to stack text on top of the images of stars, though, unless you were able to render that as an image and display the image.