Podio API PHP: Set Default View

Comments

2 comments

  • Henrik Huhtinen

    Well, check the UI that it didn't work (remember to reload), see https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for explanation of code 204 :)

    Also, are all the requirements met?  ("Makes the view with the given id the default view for the app. The view must be of type "saved" and must be active. In addition the user most have right to update the app")

    So, the view must be saved and active, and user must have right to update the app - app authentication won't work.

     

     

     

     

     

     

    0
    Comment actions Permalink
  • Scott Costello

    Hi Henrik,

    Thanks for the link, that will be very helpful in the future.  

    I did reload the page after "marking it as default" and the View in question stays at the bottom and does not become the default.

    Now lets talk about the requirements...

    What is type "Saved"?  If I create the view using the API I'm assuming it is saved if it shows up along the left side.  Or is there some sort of flag I have to tick when creating the view using the API?

    User must have the right to update the app.  The creation of the view and then marking it as default are both done by the same API process and thus the same user.  So I definitely meet this criteria (i would hope). 

    I did get around this issue by having the API process delete all the existing Views and then recreating them in the order I want...Default view being created first.  This works and is probably a better solution.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk