Planning Analytics with Watson

 View Only
  • 1.  Workspace API

    InnerCircle
    Posted 9 days ago
    Do these still work for cloud customers on the latest version of Workspace?
    No matter what we try to do, we're sent back to the PAW welcome page.

    https://ibm.github.io/planninganalyticsapi/#showing-a-widget

    FYI to
    @Svetlana Pestsova​​
    @STUART KING​​

    ------------------------------
    Adam
    ------------------------------


  • 2.  RE: Workspace API

    InnerCircle
    Posted 5 days ago
    Hi @Svetlana Pestsova,

    Wanted to give you more detail.
    1. Let's say I saved a cube view to the contentstore. 
    2. I log into PAW in Chrome and am on the PAW welcome page.
    3. In my URL bar, I replace the PAW welcome page with: https://XXXXX.planning-analytics.ibmcloud.com/?type=cube-viewer&path=/shared/MyTestView
    4. Expect it, per PAW UI documentation to take me to that view. However all that happens is I am taken back to the PAW welcome page.
    Seems PAW UI API no longer works? If that is the case my recommendation would be to remove it all to avoid confusion.

    Thanks!

    ------------------------------
    Adam
    ------------------------------



  • 3.  RE: Workspace API

    Posted 5 days ago
    Hi Adam,
    The URL used is incorrect. 
    Try adding: /ui?type=cube-viewer&path=<path-to-paw-view>

    Hope this helps.

    Charbel


    ------------------------------
    Charbel Abou-Khalil
    ------------------------------



  • 4.  RE: Workspace API

    InnerCircle
    Posted 2 days ago
    @Charbel Abou-Khalil While NONE of the examples for "New Experience" include /ui, I appreciate you suggesting that I try that. That also does not work. Generates a custom 404 error:

    [TM1MDVDriver.init] failure initializing: [CubeViewerDriver.generateTM1MDVCoreArgs] failed to obtain query state: {"statusCode":404,"message":"{\"detail\":{\"message\":\"NOTEXISTS: Not found.\",\"type\":\"NOTEXISTS\"},\"error\":\"NOT_FOUND: NOTEXISTS: Not found.\"}"}​

    ------------------------------
    Adam
    ------------------------------



  • 5.  RE: Workspace API

    Posted 2 days ago
    Hi Adam,

    The documentation is explaining two things: the endpoint (/ui) and the params (i.e. what is after the ?p1 ... etc). The sceencap I posted and what I highlighted shows the end point to be used. (Classic v New Experience is irrelevant at this point)

    You made progress there by adding /ui the next step is to make sure what you are looking for exists. That response is basically saying the View you are attempting to render is not a view with a query, does not exist, is wrong or you do not have permission to see it. Remember you can only open PAW views (not books) using that path you were using in the original post.

    My recommendation is you go back to PAW open a book, add view/exploration, click on the view/exploration Save As (Not the book Save as, but the view/Exploration widget) Save it to a known location then use the path of that new location as the param to the endpoint (/ui) path query-param.
    e.g:  https://XXXXX.planning-analytics.ibmcloud.com/ui?type=cube-viewer&path=<Make sure this path a PAW saved view>

    ------------------------------
    Charbel Abou-Khalil
    ------------------------------



  • 6.  RE: Workspace API

    InnerCircle
    Posted 2 days ago
    Edited by Adam Havas 2 days ago
    Thank you so much @Charbel Abou-Khalil, I am all set.

    The "missing link" indeed was ​​Contentstore View -vs- Server MDX View -vs- Server Native View.

    For benefit of everyone, here's the three different forms these can take:



    ------------------------------
    Adam
    ------------------------------