Need to Fetch data from external API (without storing at database) and show data on multiple views - sugarcrm

I have few custom modules created using Module Builder. I need to fetch data using external REST API (around 200-300k record per API) and without storing data in suite database I need to display data on custom modules (using UI provided by SuiteCRM only. NO CUSTOM UI). and also I have operations to be perform on data which will again call External API.
So, as per requirement, Data should not be saved at database. How to achieve this in SUITECRM (7.11.8 version)?
I have tried using Process record hook. But things aren't working.

Related

create json with data local

Good morning, community, I would like you to help me with a topic that has me confused, going into context: there is a project in flutter which consumes an api that must be stored locally to avoid making requests to the webService. The serious question is how can I consume the data from my local database to create the corresponding widgets and thus create the respective forms?
I have tried to make a query for each table saved in my local database and there create a json and consume it,
however this has a disadvantage which when traversing each table takes time and in performs it is not optimal
Since you're using Sqlfite package you can use this site Dart QuickType to generate your models to import your tables from the local storage, I suggest make a single class handling the DB access, and then as many as you need (models and DAOs in where you write your queries) according to your DB arch.
You can consume later your info using FutureBuilder or StreamBuilder if you're using BLoC architecture or another DB management package like drift

Getting filtered/aggregated data from Tableau Server via REST API from custom page

I have existing Tableu Server workbook with diagrams and own datasources(mysql).
Is it possible to fetch data from Tableau Server via Rest Api, e.g. if I build a custom web dashboard and need only data from Tableau?
I am interested in Tableaus ability to filter/aggregate data, thats what it does for its diagrams, would be great to harvest it from custom Python web page for my custom diagrams (e.g. for D3 or Highcharts).
Is "Extracts API" the right direction for this?
Or the path with "Query View Data" is the solution?
If you want to specify the filter values and get the exact set of data that your diagrams/workbooks are using, go with the Query View Data solution.
If you pull the data from the extract, you will get it exactly as it is out of the extract. This means if you have filters or aggregation done in your visualization (which is processed after the extract), it won't apply to the extracted data.

How to get data from Sitecore

I am a newbie to Sitecore and I want to ask if it possible to get data from sitecore via. some REST API or if I can intercept when form data changes and save it to a json file.
There are a few ways to do this depending on what version of Sitecore you are using, but the most robust at the moment is to use the Sitecore Services Client Framework:
https://sdn.sitecore.net/upload/sitecore7/75/developer%27s_guide_to_sitecore.services.client_sc75-a4.pdf
You can use the ItemService REST api to get data out of Sitecore in json format of if you need more control over the data you can use the EntityService. This is specific to Sitecore 7.5 and above.
If you're in an earlier version then you have the Item Web api:
https://sdn.sitecore.net/upload/sdn5/modules/sitecore%20item%20web%20api/sitecore_item_web_api_developer_guide_sc65-66-usletter.pdf
If you planning on intercepting data on Web Forms for Marketers forms then you're best off using a Custom Save Action to save form data to a json file:
http://www.roundedcube.com/Blog/2016/creating-a-custom-save-action-for-sitecore-wffm

Tableau read and update data source ( From Web data connector) automatically

I am installed and added data source (web data connector) inside tableau
Web data connector URL : http://localhost/datasouceexample/example.html
we data connector holds some data.
import data from web data connector and created graphs using the data's from the web data connector URL .Generated graph and saved in "tableau public" option.
Embed the code inside my web application . Graphs shows perfectly.
My question is about the automatic data updation .
1 ) I want to update graph automatically based on the value from web data connector URL
2 ) If any new updations are inside input datas (new inputs) , automatically sync with tableau and update the graph,so no changes in the embed code and graph updated automatically
Any settings available inside tableau for do this section? if it is possible ? Thanks
Only dashboards with a google sheets datasource can be automatically updated on Tableau Public. Maybe you could redesign your web service to write to a google sheets doc. If so, you could republish your dashboard to sync with that doc.
The scenario you are describing is not possible using Tableau Public (the free version of Tableau software) and the web data connector. Tableau Public does not support updating web data connector data once published on Public, you would need to refresh the data from your desktop application and republish.
The closest supported path to your use case would be, as Kara_F mentioned in the comments, to use Tableau Server. With that product, you can create web data connector datasources and publish them to your Server. You can then schedule a refresh job which will update your data at a certain interval. More info for keeping WDC data up to date can be found here: http://onlinehelp.tableau.com/v0.0/server/en-us/datasource_wdc.htm.

Neo4j commit callback over REST API?

I came across https://github.com/neo4j/neo4j/blob/master/community/kernel/src/main/java/org/neo4j/graphdb/event/TransactionData.java which allows to capture data that was changed within the course of a transaction.
My application uses two data stores, postgresql and Neo4j. To revert to a consistent state upon crash/failure, I am hoping to maintain data from this event which could be useful to reconcile data between databases.
However, we are using the neo4j server REST api, and this event is available to using neo4j in embedded mode. Is it possible to get a response similar to 'created_nodes' and 'created_relationships' over rest batch commits?
The TransactionData instances are only exposed to a TransactionEventHandler. That is a component to be written in Java (or other JVM language) you can register with your graph database, either in embedded mode or when running as server. TransactionEventHandler are typically used to implement cross cutting concerns.
Access to TransactionData is not available using the REST API.