Dashboard component - Text Editor

BoscoBear21
New Contributor

Good afternoon,

How can I pass a parameter selection from a Button/Combo Box to a URL within a text editor component.

The client would like to select the UD4 and have it retrieve a Word doc / Text Editor for that selected UD4.

I have the current URL in the text editor as this: Documents/Public/DashboardFiles/|!Fin_Dept_Select_ColSet!|.docx

 

Thank you, Stephen

1 REPLY 1

ChrisLoran
Valued Contributor

You should be able to just create a Dashboard Parameter, like this example I created in GolfStream

ChrisLoran_0-1657182275579.png

Then create a Combo Box component,  like this, with the Bound Parameter set to the parameter name:

ChrisLoran_1-1657182331658.png

Then ensure that the Combo Box has the property "Selection Changed User Interface Action" set to Refresh.

I created a simple Text Editor component, like yours, and embedded the |!parameter!| into the Url/Filename, as you already have done:

ChrisLoran_2-1657182405807.png

I set the Dashboard as a Grid layout : 2 Rows, 1 Column
First component is the Combo Box, 2nd component is the Text Editor
Note that there are issues if you have the Dashboard layout set to Vertical Stack Panel when using Text Editor components (which is why I used Grid layout).

The result:

ChrisLoran_3-1657182623751.png 

ChrisLoran_4-1657182676855.png