Skip to main content

Link Widget

With this widget you may embed a link into the dashboard.

Drag the Link widget into the bottom of the container with the HTML Text and click CONFIGURE. Then click URL BUILDER

Information note

You can build a link that works just like the embedded URL, but not embedded.

Information note

By default, the Tomcat server is configured to reject any image not hosted on the application server. As a result, the link, html and image widgets do not allow referencing external images.

A simple change to the default tomcat configuration (in the $MM_HOME/tomcat/conf/web.xml) can fix that. Change:

<filter>

<filter-name>SecurityHeadersFilter</filter-name>

<filter-class>MITI.tomcat.filter.SecurityHeaders</filter-class>

<init-param>

 <param-name>Content-Security-Policy</param-name>

 <param-value>default-src 'self'; child-src 'self'; img-src 'self' data:; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline';</param-value>

</init-param>

<init-param>

 <param-name>X-Content-Type-Options</param-name>

 <param-value>nosniff</param-value>

</init-param>

<init-param>

 <param-name>X-XSS-Protection</param-name>

 <param-value>1; mode=block</param-value>

</init-param>

</filter>

To:

<filter>

<filter-name>SecurityHeadersFilter</filter-name>

<filter-class>MITI.tomcat.filter.SecurityHeaders</filter-class>

<init-param>

 <param-name>Content-Security-Policy</param-name>

 <param-value>default-src 'self'; child-src 'self'; img-src * 'self' data:; script-src 'self' 'unsafe-eval' 'unsafe-inline'; style-src 'self' 'unsafe-inline';</param-value>

</init-param>

<init-param>

 <param-name>X-Content-Type-Options</param-name>

 <param-value>nosniff</param-value>

</init-param>

<init-param>

 <param-name>X-XSS-Protection</param-name>

 <param-value>1; mode=block</param-value>

</init-param>

</filter>

So, let’s get the structure of a URL. Open a new browser tab and go to WORKSHEETS > Glossary > Terms. Then specify a filter where Certified By does Not Exist.

Now, paste that link back into the Link Widget Settings dialog. Click URL BUILDER.

Now, select the “-1_25” (i.e., the congfigId) in the URL and click on Configuration Version Identifier.

Information note

The URL is replaced with a substitution parameter. In this way, you may use this link in ANY configuration, and it will always present the terms without certification.

Go to the Display Options tab and specify “Link to Terms to be Certified” as the Title. Click Save.

Click Save for the dashboard.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!