Integrating Box w/ External App
Greetings, I'm new to BOX and still learning the ropes, but hopefully one of you guys might be able to point me in the right path as I am a bit confused here.
We have an external WLA system (Workload automation) that we want to be able to have place files in various folders. I've created a limited app, but so far I cannot for the life of me figure out how to give this app access to other folders (i.e., ones that I haven't created/aren't owned by the app).
Ideally, what we want is this:
Developer A wants to have Job XYZ put a file in folder "Invoices" that exist under say "Finance". The developer would just input the folder number to the job and it would write the file out.
Any tips, tricks or thoughts - I'm all ears!
Cheers,
Rob
-
Official comment
Hey Robert,
Welcome to Box and congratulations on your first application!
I see you've selected a Limited Access App as your app type and I do want to caution that this app type does have limited API capabilities and is generally leveraged if you just want to use with Box's preview services. If I understood your use case correctly I think that may work for you, but I did want to make sure to call it out just in case.
As for giving your application access to content, the main thing you'll need to understand is that the default access token used is for the application's service account. You can verify this by making a call to the get current user endpoint. Your output should validate that you're working with a user with an auto-generated email address in the format AutomationUser_XXX_XXXXXX@boxdevedition.com. This is the email address you'll want to add as a collaborator on the content you want your app to have access to. You can do that via the UI or you'll need to obtain a token for a user that already has access to the content and can invite collaborators.
I hope that helps lead you in the right direction! Best of luck.
Best,
Kourtney
Comment actions
Please sign in to leave a comment.
Comments
1 comment