No longer will you need to employ crazy hacks or manually update your date parameters. This extension allows you to refresh any date parameter to today's date whenever a workbook is opened.
Download the Date Updater manifest file. Open Tableau Desktop 2018.2 or higher, drag in the "Extension" object to a dashboard. Click "My Extensions" and find the manifest file (.trex) you downloaded above.
- Bring in the extension
- In the configuration window you will see all date parameters listed Note: It must be a Date or Date-Time parameter and must allow "All" values
- Select what date you want to set the paramters to when the dashboard is loaded. If you don't want any updates on a parameter, choose None.
- Click OK and watch your parameter update!
- Make sure you have Node.js and Yarn installed.
- Clone or download and unzip this repository. Open the command line to the
extension-date-updater-master
folder and runyarn
to install the node modules. - Edit the
homepage
in thepackage.json
file to the server where you are going to host the extension. For example:
"homepage": "http://localhost:8080",
- In the command line run
yarn build
to build the extension with the new homepage. Note, you can update thepackage.json
file to just runreact-scripts build
, the rest is just to move the folders around. If you do this, look for thebuild
folder in the next step. - Copy the files in
docs
to your web server at the path you specified in Step 3. - Update the existing or create a new manifest file (.trex) to point to the URL where you are hosting the extension with
/#/dateupdate
at the end. For example:http://localhost:8080/#/dateupdate
.
If you have questions about the extension or found a bug please open a new issue.