question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Store sourceId for widgets

See original GitHub issue

Since we are supporting dataviews having an analysis as a type of source (https://github.com/CartoDB/cartodb.js/issues/1212), we now need to store the sourceId (the id of the analysis) whenever we create a widget.

/cc @alonsogarciapablo

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
juanignacioslcommented, Apr 25, 2016

@javierarce frontend currently sends source_id: id (current status of branch at #7217). It’s not a problem for me, but maybe you’d like to send source: { id: id } instead so you handle it the same way for requests and responses. That will be the format used at vizjson and named map template as well.

1reaction
juanignacioslcommented, Apr 21, 2016

After talking to @rochoa he confirmed that this should send this to Maps API:

{
  options: { ... },
  source: { 'id': id },
  type
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

Provide and consume data sources in widgets—ArcGIS Web ...
Generated data sources are stored in the app config, and all of the widgets can use them. To learn how to configure a...
Read more >
JavaScript API for custom widgets - IBM
The JavaScript API for custom widgets is described here.
Read more >
How to Add Widgets to Your Store - Jotform
In the Jotform Store Builder, under the Basic tab of the App Elements, you can add the widgets mentioned above from the Featured...
Read more >
Widgets Development Guide | ThingsBoard Community Edition
Introduction. ThingsBoard widgets are additional UI modules that easily integrate into any IoT Dashboard. They provide end-user functions such as data ...
Read more >
Configure knowledge related articles widget instance options
The target column specified in the base system is Knowledge article (kb_knowledge). Source Id, URL parameter containing the unique record ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found