1 Reply Latest reply on Nov 6, 2017 8:44 AM by patrick.byrne.0

    Not able to apply date time parameter from custom gui

    pinki sharma

      Hi All,


      I am using tableau embed. I am able to apply string parameters values from custom gui to tableau workbook but not able to apply date time value in date time parameter.


      I am using date time input tag for custom value.


      viz.getWorkbook().changeParameterValueAsync("Start Date-Time",new Date());


      Please help me to resolve this item.

      Thanks in advance !!!




      Pinki Sharma

        • 1. Re: Not able to apply date time parameter from custom gui

          Hello Pinki,


          Reviewing the product help on using the changeParameterValueAsync() call, I found the following information.  The value should be the same data type as the parameter and within the allowable range of values. It also needs to be the aliased value and not the raw value. I would also review the table within the below linked API Reference that touches on the ParameterDataType and matching Native JavaScript Type.


          Additional information here: API Reference


          Hope this helps!



          Byrne, Patrick

          1 of 1 people found this helpful