exporting workspace members into exel using api

Answered

Comments

4 comments

  • Andreas Haugstrup Pedersen

    Hi Søren,

    Not all authentication methods are created equally. I believe excel export is limited to regular members and admin members of a workspace. This would mean that you can't use app authentication as the app doesn't have the proper rights.

    You can always check which rights you have:

    $app = PodioApp::get($appId);

    // Prints all rights:

    print_r($app->rights);

    // Check for specific right:

    if ($app->can('export')) {

    print "Yes, I have the right to export";

    }

    So check the specific rights you have on that app using app authentication. If app auth doesn't give you the rights, you have to authenticate as a user.

    All the best,

    Andreas

    0
    Comment actions Permalink
  • Søren Nørup

    Ok. I will check that.

    But otherwise i'm on the right track to get the job done? (0:

     

    0
    Comment actions Permalink
  • Andreas Haugstrup Pedersen

    Yup. Although I must admit I won't understand the need for a podio_connect class :)

    0
    Comment actions Permalink
  • Justin Roff-Marsh

    Did you get this working?

    I'd love to export a list of all our Podio users.

    Justin

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk