sassoftware / sas-visualanalytics-thirdpartyvisualizations

The data-driven content object enables you to display your data in a custom third-party visualization, within your SAS Visual Analytics report. The third-party visualization can be authored in any JavaScript charting framework, such as D3.js, Google Charts, or CanvasJS. The visualization in a data-driven content object receives its data query from SAS Visual Analytics, and so it interacts with filters, ranks, and object actions in the same way as the other objects in your report. For information about creating third-party visualizations for data-driven content, see Programming Considerations for Data-Driven Visualizations in SAS Visual Analytics: Reference.
Apache License 2.0
39 stars 61 forks source link

Performs several adjustments related with replacement of inherited jQuery ajax with fetch API #66

Closed rluppi closed 1 year ago

rluppi commented 1 year ago

In the utility files:

  1. Removed dependency on inherited jQuery from window.parent by replacing ajax calls with fetch API (compatibility with VA React).
  2. Replaced promise chaining with more modern and easier to maintain async/await.

In the examples of integration of VA with Viya Jobs, added v4 files with:

  1. Fetch API calls to support VA React (2023.06 and beyond).
  2. Commented code that eliminates the need to provide the job name as a value to the _program parameter, for those who want to explore that option.