WordPress Integration

Last modified on 2022/05/28 10:50

About this integration

SAS_IntegrationRESTIntroduction

You can integrate third-party systems with Service Apps in many ways. The method you select will depend on business requirements, architectural and security constraints as well as the characteristics specific to each third-party application or service. You can use the REST, CSV, Online CSV data sources as well as the HTML Script widget.

This document describes a standard integration process with the REST data source that has already been implemented in a customer context. It provides only a few examples of HTTP queries for manipulating resources (i.e. endpoints) using the REST API in the third-party application. You can discover more about the possibilities of this API and consult the relevant documentation on the website of the third-party software company.

To find out more about this integration, please do not hesitate to contact your EasyVista contact, or your service provider and integrator.

Integration Summary

WordPress is a software that enables you to design and update websites or multimedia applications dynamically. One of its functionalities enables you to retrieve and manipulate website content in raw JSON format, e.g. news or blog posts.

You can then integrate this data in any Product name - ev sas.png app using an Online REST data source that points to the URL of the JSON feed, and display it, for example, using a Data Viewer widget. Data will automatically be updated in the Product name - ev sas.png app each time the content is modified on the website.
 

Integration Data Feed (direction) Authentication Type Integration Connector Options

Product name - ev sas - big.png

Up arrow.png

Logo - Wordpress.png

N/A

REST data source   Apps - Datasource - JSON Online icon.png

SaaS Version of Third-Party Product

On-premise Version of Third-Party Product

Check icon.png

Not check icon.png

Notes

  • The WordPress REST API plugin must be installed on the website whose content you want to retrieve in JSON format.
  • Generally, the URL of the JSON feed is as follows: http://www.<WebSite>/json/.
             Example documentation icon EN.png  http://www.easyvista.com/json

Procedure: How to display the content of a website created using WordPress

1. Install the WordPress REST API plugin on the website.

          Download Zip icon.png Download the plugin

2. Go to Product name - ev sas.png and integrate the content retrieved from the website in an app:

  • Open the app you want.
  • Add a dynamic Online REST data source pointing to the website content in JSON format:
    • In the Objects pane, click Apps - Add datasource icon.png. In the Online category, select the Online REST data source.
    • Rename the data source so you can easily identify it.
    • In the Content > Authentication Type drop-down list, select the None authentication method because the REST API is open or public.
    • Select Content > Base URI and indicate the URL of the JSON feed.
               Example documentation icon EN.png http://www.easyvista.com/json
  • Select the data you want to display from the content in JSON format:
    • Click Apps - Edit icon.png next to the Selector field.
    • You can click the tag you want in the JSON table (Note: It will appear in yellow). You can also enter an expression in the search field and click [ APPLY ].
               Example documentation icon EN.png  In the content retrieved from the easyvista.com website, display all news headings using the title tag.
    • Click [ OK ].
               WordPress - Example Selector.png
  • Display the selected data using a Data Viewer widget:
    • In the Objects pane, click Apps - Add widget icon.png. In the Basic category, click and drag the Data Viewer widget to the Design pane.
    • Rename the widget so you can easily identify it.
    • Select the data source you previously created from the Content > Data Source drop-down list. The data retrieved from the website will automatically be displayed.
    • Select the display mode you want using the Content > Default View drop-down list, i.e. Grid (formatted using Theme > Cell Style/Grid Style), Line (formatted using Line properties), or Tile (formatted using Tile properties). Open url.png  See the description of properties. In your Product name - ev sas.png app, check that the data retrieved from the website is correctly displayed.
  • Click EVApps - GUI - Execute icon.png to switch to preview mode and check the data displayed.
  • Check that the data is automatically refreshed:
    • Go to the website and make a modification.
    • Return to your Product name - ev sas.png app. Switch to preview mode and refresh the screen (Note: Some time may be required before the data is refreshed).
SAS_IntegrationRESTAboutTheUse

About the use of the software companies API REST

Note: The possible cost of the use of the third-parties API REST via Service Apps is not taken care by EasyVista.

  • Numerous software companies limit the access to the API REST of their software, generally by basing itself on a number of calls by hour/day/month.
  • Only specific editions of their software can be eligible in the use of the API REST (with or without additional cost).
  • Some software companies set up plans, e.g., Classic, Professional, Enterprise, for which the number of possible calls to the REST API or even to specific resources (i.e. endpoints) can be more or less numerous.
Tags:
Powered by XWiki © EasyVista 2022