How to get data from Sitecore - rest

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

Related

Can we extract data from Qlik sense through the Rest API?

I have to extract data from Qlik Sense through the Rest api Call hence I have explored and haven't found any solution. is it possible to do the Rest call to Qlik sense app to extract data ?
As far as I know, there is no REST API allowing to access data inside an application.
There is a Javascript and .Net SDK to use the Engine API and thus connect to data .
There is a also various REST API to manage application, streams, tasks, users...
However, if you want to get access to Qlik data, I suggest you add STORE commands in your load script to dump the tables to text or CSV files, making them easily readable after.
Qlik sense does not provide an API to expose the data in Qlik to other applications.
Because we did need this functionality (for instance to expose data from Qlik to Rapid Application Development platforms like Mendix) we developed a custom application that can help. see https://ddcgroup.com/qlik-data-extractor for more info.
With this tool, you can define the rest webservices that you need (including aggregation etc) which can be called to extract data from Qlik.

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

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.

java interfaces to connect to sharepoint

I have to connect SharePoint resources using Java API for the tasks like uploading the new document and custom metadata to SP,Fetching the document list based on the filtering using the custom metadata and updating the existing document along with custom metadata to SP.
Main Actions:
Storing and updating document with custom metadata
Fetching documents based on document metadata(Using custom metadata filtering)
Please highlight some Java API to do the above tasks.
Check the API from github below.
Sharepoint Java API
Java Sharepoint REST API
You can also take a look of this project i've developed where you'll find a working API that will provide you some common operations to perform against a sharepoint site. It covers all the use cases you want to achieve and some more and it is very easy to use
https://github.com/kikovalle/PLGSharepointRestAPI-java

MQL4 Trade feed as a WEB API

Does someone had any idea or created a webservice REST API in JSON format, which another remote server can fetch the data from.
Just need some beginner's lesson how to setup it on MQL4. My client needs this kind of service, which we will then output on a Wordpress as Widgets.
I want to know how our Wordpress server can access this. MQL4 had this WebRequest() function and planning to use it, but don't know where to start.
A number of options possible.
you can:
a. create web api call to save incoming data (ticks/candles) into db.
create mql4 script to send data via api.
or
b. create c++ / c# dll to save data into db.
separately create web api in language of your choice to read from db.
enter code here
or
c. save file into web accessible folder in format you like and read the file from word press.

How to add custom form and insert data into database in alfresco 5.2

In my alfresco project have requirement for add custom form and data will be store in database.
I would like to submit one form having user name & password fields in it. After click on submit button how can I handle request in backend so it will use Alfresco to process request and store details in database.
I am ready to do this in spring, maven or any java technology but please suggest me how i customize alfresco with custom web form.
I have reefer these links but i have not getting proper answer.
https://community.alfresco.com/docs/DOC-6010-web-quick-start-installation-and-configuration#w_configuringwebquickstart
https://community.alfresco.com/docs/DOC-5527-cmis
If you want to customize the existing Alfresco Share client by configuring forms that allow you to edit properties on folders and documents where those properties are defined using custom types and aspects, then follow this tutorial.
If you do not want to be constrained by the Alfresco Share client then you must write a custom application.
The Alfresco NG2 components were suggested to you, but you would prefer to use Java. So use whatever Java framework you do know and then communicate with Alfresco remotely using CMIS via the OpenCMIS Client for Java.
If you are just building a custom form that captures arbitrary data and stores it in a back-end (relational or otherwise), and your requirements have nothing to do with documents, then you should not be using Alfresco at all.