Coder Social home page Coder Social logo

mcore15 / extension-date-updater Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tableau/extension-date-updater

0.0 0.0 0.0 3.78 MB

Automatically update your date parameters to today's date.

Home Page: https://tableau.github.io/extension-date-updater/

License: MIT License

HTML 2.27% JavaScript 1.03% TypeScript 86.44% CSS 10.27%

extension-date-updater's Introduction

Date Updater

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.

How to use an Extension

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.

Using the Extension

  1. Bring in the extension
  2. 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
  3. 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.
  4. Click OK and watch your parameter update!

How to install for local use

  1. Make sure you have Node.js and Yarn installed.
  2. Clone or download and unzip this repository. Open the command line to the extension-date-updater-master folder and run yarn to install the node modules.
  3. Edit the homepage in the package.json file to the server where you are going to host the extension. For example:
"homepage": "http://localhost:8080",
  1. In the command line run yarn build to build the extension with the new homepage. Note, you can update the package.json file to just run react-scripts build, the rest is just to move the folders around. If you do this, look for the build folder in the next step.
  2. Copy the files in docs to your web server at the path you specified in Step 3.
  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.

Support

If you have questions about the extension or found a bug please open a new issue.

extension-date-updater's People

Contributors

keshiarose avatar dependabot[bot] avatar benlower avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.