Question
3
Replies
37
Views
Posted: January 21, 2021
Last activity: 3 weeks 5 days ago
Solved
Configuring Attachment Location by CaseType
Hi,
We are using Box for storing attachments.
Our application has multiple casetypes and we have a requirement to store attachments for each case in a different folder.
We are on 8.4.1 and the attachment location is only available in application level.
Is there a way to configure attachment location for each casetype separately?
Thanks,
Rajesh.
***Edited by Moderator: Pooja Gadige to update product version***
@augur
Trace the interaction that saves the file to Box and you will learn what the rules are that are involved in forming the REST request which includes the folder and/or filename that is constructed.
There are either available rules or extension points that you can specialize into which you can implement your own algorithm for the path to the filename.
I've not done it for Box but I've done it for Sharepoint Online which uses corresponding Data Pages. We went to the level of having a different folder per Case ID. It has been a few years, I don't remember whether you then also have to - as part of that interaction:
... and in any event Box may require different behavior here. Obviously this can start to get intricate, so error checking at each point is essential.