Skip to content

PredixDev/MobileExample-WebApp-AssetIntegration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MobileExample-WebApp-AssetIntegration

A sample web app that displays data from asset service.

Before You Begin:

It is assumed that you have running instances of Predix Mobile service and Predix Asset service, and you have installed the Predix Mobile pm command line tool.
It is also assumed that you have pushed your sync-processor to your CF space (or have it running on your development system).

To get started, follow this documentation:

Configuration

Update userName and assetZoneID variables in index.html with your mobile service user and asset service zone id respectively.

Installation

Checkout this repository, open the folder in a terminal window, and execute:

pm publish

Tip: Checkout webapp.json for the app name. And, you might need to run pm publish based on your app.json configuration.

Usage

When running on a device/simulator, the app shows two buttons and a text area (when in landscape mode).

  • [Refresh] - Sends a request to SDK and gets the asset results and updates text area.
  • [Watch Changes] - Start watching for changes on asset document and update the text area with new results.

About

Asset integration webapp example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages