Planning Analytics

Planning Analytics

Get AI-infused integrated business planning

 View Only
Expand all | Collapse all

PAW Books: Unable to save the view

  • 1.  PAW Books: Unable to save the view

    Posted Sun January 21, 2024 10:34 PM

    Hi All,

    We have recently moved some books between environments and now we have some of them that simply will not save.

    No matter what we do to the books this message comes up;

    has anyone seen this before?  

    I've wasted a lot of time on this so far, deleting pages and resetting json, etc..

    Nothing seems to work.

    Cheers

    Karl Blackler

    Head of Product Development

    Cortell Australia Pty Limited



    ------------------------------
    Karl Blackler
    ------------------------------


  • 2.  RE: PAW Books: Unable to save the view

    Posted Mon January 22, 2024 03:07 AM

    Hi,

    It's not a message I have specifically seen before when saving a book.

    I wonder if the message is correct and its a view that is the issue or if that's just a dud message that shows meaning it can't save the book.

    I would try going through the views in the book one by one deleting them to see if it saves then; if it eventually saves after the deleting of a specific view - it would narrow it down to suggesting there are some issues with that itself. You could then try and work out what the issues are - or in my experience its normally quicker to just accept somethings weird about it and rebuild that view from scratch.

    Are the 2 environments you are moving between on the same version?

    Thanks,
    Declan



    ------------------------------
    Declan Rodger
    Technical Director
    Spitfire Analytics
    ------------------------------



  • 3.  RE: PAW Books: Unable to save the view

    Posted Mon January 22, 2024 04:31 AM

    I had a similar issue with a Cloud instance and finally raised a support ticket and the apache server/ service was restarted and all was well again.

    Hopefully, your issue will be as simple to fix as well



    ------------------------------
    Edward Stuart
    ------------------------------



  • 4.  RE: PAW Books: Unable to save the view

    Posted Mon January 22, 2024 07:34 AM

    Hi Karl,

    Support have logged a defect:
    PH59267 AN IMPORTED WORKBOOK FROM SOURCE ENVIRONMENT TO TARGET WHEN EDITED IN TARGET, ERRORS OUT ON SAVE : UNABLE TO SAVE THE VIEW

    You can use the book spec from the source book to resolve the issue in the target book. If you log a case with Support, we can help you out. 



    ------------------------------
    JILL MACLAURIN
    ------------------------------



  • 5.  RE: PAW Books: Unable to save the view

    Posted Mon January 22, 2024 07:36 AM

    sorry, should have mentioned, this was logged against Planning Analytics Workspace 2.0.92, speficially Cloud.



    ------------------------------
    JILL MACLAURIN
    ------------------------------



  • 6.  RE: PAW Books: Unable to save the view

    Posted Mon January 22, 2024 02:42 PM

    Fix is coming in the Workspace 2.0.93 release (should be the first February).



    ------------------------------
    Stuart King
    IBM Planning Analytics Offering Manager
    ------------------------------



  • 7.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 01:34 AM

    Hi Karl.
    Yes, we have had the same issue on books migrated between environments. It doesn't affect all books, but at one client it affects the vast majority. Issue started with v92. Hopefully v93 resolves this, as it's very difficult/time-consuming to deploy anything to PROD in the mean time.

    Johann



    ------------------------------
    Johann Kassier
    ------------------------------



  • 8.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 01:54 AM

    Thank you everyone for the responses, and I'm glad it's getting fixed soon.

    I found a workaround, which was using the Ctrl+Q+/ feature combined with a notepad find/replace of the server name.

    It's not ideal, but it works; I'm glad I'm not doing a large deployment/migration.

    Cheers

    Karl Blackler

    Head of Product Development

    Cortell Australia Pty Limited



    ------------------------------
    Karl Blackler
    ------------------------------



  • 9.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 03:07 PM

    Hello Karl,

    where do you execute that "CRTL+Q" command? When editing the book directly in PAW? Not working for me so far.

    We are facing the same issue after version uprade to .92



    ------------------------------
    Tim Leonhardt
    ------------------------------



  • 10.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 03:11 PM

    Hi Tim,

    "CRTL+Q+/"  this being up the book specification.

    There is another workaround too:

    Here is some javascript code snippet as a workaround through dev tools console.
    let spec = __getDashboardAPI().getSpec()
    spec.sync.values = spec.sync.values[0]
    __getDashboardAPI().reloadFromJSONSpec(spec)
    Please follow these steps:
    1 - open book
    2 - open dev tools
    3 - switch to console tab
    4 - type 'allow pasting' (no quotes)
    5 - paste code snippet and hit enter.
    6 - Done (edited) 


    ------------------------------
    JILL MACLAURIN
    ------------------------------



  • 11.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 03:15 PM

    Sorry, missed a whole sentence in my previous post. 

    Replicate the issue (get the error) then follow the steps to fix the problem.

    Sorry about that.



    ------------------------------
    JILL MACLAURIN
    ------------------------------



  • 12.  RE: PAW Books: Unable to save the view

    Posted Thu January 25, 2024 02:29 PM

    I hit this issue as well.  Posting the work-around that I found:

    1) Use the CTRL-Q / command to open the console

    2) Copy the spec to Notepad++ as type JSON

    3) Look for they sync section (row 22 in my screenshot).  Collapse the "book" node on row 26.  Delete the entire "0" section.. rows 25-158 in my example.

    BEFORE:

    AFTER:

    Repaste the spec into PAW and you're good to go.  It doesn't even delete the synchronization info as far as I can tell.  Seems like a duplicate/invalid artifact left in there from Lifecycle manager / upgrading.

    Bit more complicated that Jill's solution but it will persist and allow you to save going forward.

    Cheers!



    ------------------------------
    Brian Simpson
    ------------------------------



  • 13.  RE: PAW Books: Unable to save the view

    Posted Thu January 25, 2024 11:50 PM

    Thanks for sharing - good to know...



    ------------------------------
    George Tonkin
    Business Partner
    MCI Consultants
    Johannesburg
    ------------------------------



  • 14.  RE: PAW Books: Unable to save the view

    Posted Tue January 23, 2024 10:04 PM

    Hi Tim,

    If you are using Edge, Ctrl + Q will bring up quick find. You need to try a variation on the same keys i.e. Ctrl + / + q

    In other words, hold Ctrl then press / and hold, then press q

    This should open the board specification of the book you are in, whether you are in edit mode or not.

    You may also want to look at this blog post for some more insights.



    ------------------------------
    George Tonkin
    Business Partner
    MCI Consultants
    Johannesburg
    ------------------------------



  • 15.  RE: PAW Books: Unable to save the view

    Posted Wed January 24, 2024 01:49 AM

    Thanks, got it! Had to switch my keyboard to qwerty layout. 



    ------------------------------
    Tim Leonhardt
    ------------------------------



  • 16.  RE: PAW Books: Unable to save the view

    Posted Fri March 08, 2024 05:46 AM

    Hi all, anybody who can confirm this has been fixed by .93 version? We are still facing that issue even after upgrading.



    ------------------------------
    Tim Leonhardt
    ------------------------------



  • 17.  RE: PAW Books: Unable to save the view

    Posted Mon March 11, 2024 04:51 AM

    Hi,

    for me it fixed the issue on a book that was migrated before the upgrade.

    Before the upgrade I have found that the easiest workaround was to save the book as template and then create a new one from that template.

    Best regards,



    ------------------------------
    Anja Pećnik
    ------------------------------