Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serializeapp

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serializeapp

Serializes a Qlik Sense App into JSON

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

serializeapp

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

Verified to work in the browser using browserify or webpack.

installing

npm install serializeapp

or

yarn add 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(global => global.openDoc('Executive Dashboard.qvf'))
.then(app => serializeapp(app))
.then(result => console.log(result))
const serializeapp = require('serializeapp')
const enigma = require('enigma.js')
const WebSocket = require('ws')

enigma.getService('qix', {
    schema: require(`./node_modules/enigma.js/schemas/qix/3.2/schema.json`),
    session: {
        host: 'localhost',
        port: 4848,
        secure: false
    },
    createSocket: (url) => new WebSocket(url)
})
.then(qix => qix.global.openDoc('Executive Dashboard.qvf'))
.then(app => serializeapp(app))
.then(result => console.log(result))

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 NxFieldDescription
snapshots: [] -> @Array of Array of GenericBookmarkLayout
}

Keywords

FAQs

Package last updated on 22 May 2017

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc