Skip to content

jmccuen/parsley

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b4e11bd · May 18, 2022

History

27 Commits
Jan 23, 2017
May 18, 2022
May 18, 2022
Mar 22, 2019
May 18, 2022
Dec 13, 2017
Mar 22, 2019
Dec 13, 2017
Jan 23, 2017
Mar 22, 2019
Jan 23, 2017
Jan 23, 2017
Jan 23, 2017
Mar 22, 2019

Repository files navigation

parsleyIcon.png

About Parsley

Parsley aims to allow you to parse CSV files, JSON Objects, JSON Arrays, XML Documents, and XLSX files into InfoTables as painlessly as possible, without needing a predefined data shape. The Parsley Extension for ThingWorx provides a Parsley Resource with the following services:

  • ParseJSON
  • ParseCSV
  • ParseXML
  • ParseXLSX

Note that ParseXLSX is rudimentary and expects a simple grid of data. It also requires the Apache POI libraries, which conflict with some other extensions. A Parsley_No_Poi zip is also included in this directory.

This extension utilizes the Thingworx 6.6.5 SDK.

Installing the Parsley Extension

  1. From a web browser, launch ThingWorx.
  2. Log into ThingWorx as an administrator.
  3. Go to Import/Export > Import.
  4. Click Choose File and select Parsley_ExtensionPackage.zip
  5. Click Import.

Note: If an Import Successful message does not display, contact your ThingWorx System Administrator.

  1. Click Yes to refresh Composer after importing the final extension.
  2. Confirm that the Extension has been imported properly. Check the Application Log for potential problems.

Usage

The Parsley Extension can be used by invoking any one of the following services through the Snippets tab when creating a new Service on any ThingWorx entity: • ParseJSON • ParseCSV

1.png 2.png

These services can be used to parse a JSON object or CSV file directly into an InfoTable result.

ParseCSV

3.png

Result

4.png

ParseJSON

5.png

Result

6.png

Compatibility

This extension was tested for compatibility with the following ThingWorx Platform version(s) and Operating System(s):

  • ThingWorx 6.6.5+

About

Parsely Extension for Thingworx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages