cancel
Showing results for 
Search instead for 
Did you mean: 

BLOX TABLE WITH HYPERLINKED URL

cartercjb
10 - ETL
10 - ETL

 I am trying to create a dashboard that contains a Blox widget with custom hyperlinked resources in it. This was what I came up with. Does anyone have a better idea/suggestions for achieving this?

cartercjb_0-1648527528310.png

 

{
    "style": "",
    "script": "",
    "titleStyle": [
        {
            "display": "none"
        }
    ],
    "showCarousel": false,
    "carouselAnimation": {
        "delay": 0,
        "showButtons": false
    },
    "body": [
        {
            "type": "Container",
            "style": {},
            "items": [
                {
                    "type": "TextBlock",
                    "text": "",
                    "style": {}
                },
                {
                    "type": "TextBlock",
                    "text": "",
                    "style": {}
                },
                {
                    "type": "TextBlock",
                    "text": "<p class='jx-txtTitle'>RESOURCES</p>",
                    "style": {
                        "font-weight": "bold",
                        "text-align": "center",
                        "padding": "2px",
                        "background-color": "#006374",
                        "color": "#ffffff",
                        "border": "2px solid #006374"
                    }
                },
                {
                    "type": "TextBlock",
                    "text": "<p class='jx-txtTitle'><a href='http://conceptrehab.com' target='blank'>Video Tutorial: Introduction to BI & Missing Assessments Report</a></p>",
                    "style": {
                        "font-weight": "light",
                        "text-align": "left",
                        "padding": "0px",
                        "background-color": "#ffffff",
                        "color": "#3399ff",
                        "border": "1px solid #999999",
                        "margin": "1px"
                    }
                },
                {
                    "type": "TextBlock",
                    "text": "<p class='jx-cmi'></p>",
                    "style": {
                        "text-align": "center",
                        "padding": "3px",
                        "background-color": "",
                        "border": "1px solid #999999",
                        "border-radius": "3px",
                        "margin": "1px",
                        "font-weight": "bold",
                        "color": "#009933"
                    }
                }
            ]
        }
    ],
    "actions": []
}

FASDF

1 REPLY 1

Ophir_Buchman
12 - Data Integration
12 - Data Integration

Hi @cartercjb 

You've used the right object for this hyperlink (HTML Text Box).
Another option is using the "Open URL" action:

{
  "type": "Action.OpenUrl",
  "title": "Open In Web",
  "url": "https://www.sisense.com/sisense-labs/"
}

However, putting technicalities aside:

  • What are you attempting to achieve? A single URL? Multiple URLs?
  • Where are you getting the list of URLs (and names) from?

Ophir