简体   繁体   中英

Stepped configuration in Google Data Studio API issue

I'm currently building a Google Data Studio connector where I need to make use of the stepped configuration to achieve dynamic user input.

For example, connecting to Google Analytics will have a configuration of account -> properties -> view.

I want to achieve something exactly of this sort but when a user input the first answer from a dropdown, the connector should make an API request to pull data into the dropdown of the next config.

Please, how do I go about this.

You should be able to get the parameters the user selects from "request.configParams" (in the getConfig function). Using your chosen parameter, you can do an API call to get the data you need so that you can set up your options for the stepped configuration.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM