Re: Put a Republish Cube Button on Dashboard/Document
03-17-2017 02:06 PM
I have a dashboard using a cube generated from a Google Sheet. I can republish the cube without having to upload the file. Currently, I have it set to republish on a nightly schedule.
However, if a user makes a change to the Google Sheet, I want to enable them to republish the cube manually at that time. Right now, they CAN republish it from the datasets window, but I'd like to have a button on the dashboard that republishes the cube.
Does anyone know of a way to accomplish this? I've tried to capture the scripts that run when you click on "Republish Cube" with little to no success.
I am using MSTR Web. Version 10.
03-20-2017 05:45 PM
Intelligent Cubes are treated as any other reports in MicroStrategy Web. Therefore executing them as any other report would publish the cube.
Put a button (or link) on your dashboard, and on click execute your cube through URL API as any other report.