- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Retrieving a Hypercube from an object then reusing it on another object
Good morning everyone,
We need to retrieve the hypercube from an object to use it on custom javascript objects, so far we managed to properly extract the data as if we were creating the hypercube via code, but we can't manage to make the hypercube change with selections.
We need to retrieve the hypercube so we don't need to upload the mashup everytime we change a measure or a dimension
Has anyone found any trick to this?
Our code is:
app.getObject(ObjectID).then(
function (model) {
app.createCube(model.layout.qHyperCube
, function(reply) {
...
});})
- Tags:
- mashup javascript
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nmv, managed to do it:
app.getObjectProperties(ObjectID).then(function(model){
app.createCube(model.properties.qHyperCubeDef
, function(reply) {
...
});})
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nmv, managed to do it:
app.getObjectProperties(ObjectID).then(function(model){
app.createCube(model.properties.qHyperCubeDef
, function(reply) {
...
});})