Skip to content

Create bookmarks not functional #8

@fredrik-oskarsson

Description

@fredrik-oskarsson

Hey,

First off, thanks for an awesome tool!

There seems to be an error when generating the json for bookmarks.
The code below the resulting bookmarks.json I get when serializing an app with a single simple bookmark in it (ALL values in field Store Code have been selected). Not how the title and selectionfields are correct, but no data about which selections that has actually been made are appended.

{
"bookmarks": [
{
"qInfo": {
"qId": "8f6db25e-e450-4061-a840-8e26fcb09875",
"qType": "bookmark"
},
"qMetaDef": {
"title": "Dashboard - all StoreCodes",
"description": ""
},
"creationDate": "2018-11-21T12:40:49.160Z",
"sheetId": "72d08945-a8c2-4acf-a622-dad7d59856e9",
"selectionFields": "Store Code",
"qData": {
"qBookMark": {
"qStateData": [
{
"qStateName": "$",
"qFieldItems": [
{
"qDef": {
"qName": "Store Code",
"qType": "PRESENT"
},
"qSelectInfo": {
"qRangeLo": "NaN",
"qRangeHi": "NaN",
"qNumberFormat": {
"qType": "U",
"qnDec": 10,
"qUseThou": 0
},
"qRangeInfo": [],
"qContinuousRangeInfo": []
},
"qValues": [],
"qExcludedValues": []
}
]
}
],
"qUtcModifyTime": 43425.57001157408,
"qVariableItems": []
}
}
}
]
}

Using the Engine API explorer I am able to generate bookmarks by manually filling in:
"qValues": ["ALL"],
"qExcludedValues": [0]

Shouldn't this code be generated when bookmarks are exported? I have no idea how to generate it though, so any help would be appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions