1 Reply Latest reply: Apr 6, 2018 6:16 AM by Daniel Hernández Rino RSS

    Retrieving a Hypercube from an object then reusing it on another object

    Daniel Hernández Rino

      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) {

      ...

      });})