Efficio Web Data Connector

Efficio Web Data Connector
using the May someone know's my problem and can please give me a hint. Thanks", "answerCount": 1, "upvoteCount": 0, "datePublished": "2020-06-25T10:19:48.000Z", "author": { "@type": "Person", "name": "Ralph Mikulasch", "url": "https://trailblazers.salesforce.com/profileView?u=005KX000003vOFTYA2", "affiliation": { "@type": "Organization", "name": "--" } }, "suggestedAnswer": [ { "@type": "Answer", "text": "Not sure what is causing it from just the HTML but one thing I noticed is you are not closing your tag.", "upvoteCount": 0, "url": "https://trailhead.salesforce.com/trailblazer-community/feed/0D5KX00000mkKcD0AU", "datePublished": "2020-06-25T18:18:41.000Z", "author": { "@type": "Person", "name": "Tableau Community Forums Member (Inactive)", "url": "https://trailblazers.salesforce.com/profileView?u=005KX000003dXo4YAE", "affiliation": { "@type": "Organization", "name": "Salesforce" } } } ] } } Skip to main content

Hi all,

I've created a html file to load Data, when I run this in a Browser it will start and waiting till I confirm with the submit button.

Also it works in the Web Connector Simulator tool.

 

But when I use my Tableau Dektop Version 2019.1.6 it don't wait and the Sumbit Button is not appearing.

 

The html:

 

<!DOCTYPE html>

<html>

  <head>

    <meta charset="utf-8">

    <title>Efficio Web Data Connector</title>

    <!--  In order to use promises, like this example, you will need to include this polyfill to add promises

          functionality to the built in Tableau WDC browser (it does not have ES6 functionality by default)    -->

    <script src="https://www.promisejs.org/polyfills/promise-7.0.4.min.js"></script>

    <script src="https://connectors.tableau.com/libs/tableauwdc-2.3.latest.js" type="text/javascript"></script>

    <script src="http://localhost:85/Efficio/AMP.js"></script>

    <style>

      * {

        padding: 0px;

        margin:  0px;

        font-family: Arial, sans-serif;

        color: ⌗1c1c1c;

      }

      body {

        background-color: ⌗f5f5f5;

        text-align: center;

      }

      h1 {

        margin-top:  30px;

        font-weight: normal;

        margin-bottom: 15px;

      }

      p {

        margin-bottom: 15px;

        line-height: 1.4;

      }

      button {

        padding: 6px 12px;

        background-color: ⌗5cb85c;

        border: 2px solid ⌗4cae4c;

        color: white;

        border-radius: 4px;

        margin: 0 auto;

        font-size: 1.2em;

        transition: background-color .4s, border-color .4s;

      }

      button:hover{

        cursor: pointer;

        background-color: ⌗3c9e3c;

        border-color: ⌗3c9e3c;

      }

    </style>

  </head>

  <body>

    <h1>Efficio Web Data Connector </h1>

    <p>Efficio Web Data Connector <br>using the <a href="http://10.139.0.190:8081/api/public/points/51842/calculations?type=consumption&raster=quarterHour&timePeriod=currentMonth".</p>

    <button id="submitButton" onclick="send()">Get Data</button>

  </body>

</html>

 

May someone know's my problem and can please give me a hint.

 

Thanks

1 answer
0/9000