What can we help you with?

e.g. Getting Started, Build Dashboards

1 comment

  • Official comment
    Avatar
    Jay

    Here's some code you can modify and use accordingly: 
     
    select concat("<button  onclick='httpGet(&quot;",<yourcolumn>,"&quot;)'>Click</button>
    <script>
     function httpGet(code){
      const theUrl2 = '<yoururltocall>'+code;
       var xmlHttp = new XMLHttpRequest();
       xmlHttp.open( 'GET', theUrl2, false );
       xmlHttp.send( null );
       alert(theUrl2);
     }
    </script>") as tmp, *
     

    • Put the above (or a variation of it) into the Cloud9QL filter at the widget level (widget in a dashboard --> Filter icon --> Cloud9QL Transformation at the bottom). 
    • Change the column type to HTML on grid.  
    Comment actions Permalink

Please sign in to leave a comment.