Socket
Socket
Sign inDemoInstall

serializeapp

Package Overview
Dependencies
2
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    serializeapp

Serializes a Qlik Sense App into JSON


Version published
Weekly downloads
91
increased by12.35%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

##serializeapp

serializeapp is a node utility module to serialize a Qlik Sense app into a JSON object.
Pass it a qsocks app class and it returns the JSON representation of that app.

Returns a promise as standard but also accepts classical node style callbacks.
Verified to work in the browser using browserify or webpack.

##installing

npm install serializeapp

##examples

Connect to Qlik Sense Desktop, open a app and pass that into serializeapp.

var qsocks = require('qsocks')
var serializeapp = require('serializeapp')

qsocks.Connect().then(function(global) {
	
	global.openApp('Executive Dashboard.qvf')
		.then(function(app) {
			return serializeapp(app);
		})
		.then(function(data) {
			console.log(data) // --> A JSON Object describing the app.
		})
	
})

##Returns

{
properties: {}, -> @Object AppEntry
loadscript: '', -> @String Loadscript
sheets: [], -> @Array - Array of GenericObjectEntry and its children
stories: [], -> @Array - Array of GenericObjectEntry and its children
masterobjects: [], -> @Array - Array of GenericObjectEntry
dataconnections: [], -> @Array - Array of Connection
dimensions: [], -> @Array - Array of GenericDimensionProperties
measures: [], -> @Array - Array of GenericMeasureProperties
bookmarks: [], -> @Array - Array ofGenericBookmarkLayout
embeddedmedia: [], -> @Array of MediaListItem
fields: [], -> @Array of FieldListDef
snapshots: [] -> @Array of Array of GenericBookmarkLayout
}

Keywords

FAQs

Last updated on 29 Oct 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc