To include Box file activity with Salesforce in the Box App Activity stream, you need some additional preparation in your enterprise. Details are below.Documentation Index
Fetch the complete documentation index at: https://docs.box.com/llms.txt
Use this file to discover all available pages before exploring further.
Default Behavior
- After you install v3.57, each time someone clicks Create Folder to create a new folder, Box records an app activity on that new folder.
- Folders created previously do not have an app activity recorded.
- Folders created via any custom implementation using the Toolkit or the SDK also do not record any app activity. For these, follow the instructions toward the bottom of this page.
Backfill
Because previously-created folders do not have an app activity recorded out of the box, you can download and run a script to do the backfill. Run the script by uploading the code into your org. Then, from the Developer Console, execute the script as follows:Custom Toolkit/SDK Implementations
When organizations have customized the behavior of their integration with Box, it’s often the case that they are creating folders on their own using either the Toolkit or the SDK. To record an app activity in this scenario, Box provides a global Toolkit method calledenableAppActivity that accepts a Box folder ID as a parameter and records an app activity.
The method signature for enableAppActivity looks like this:
| Parameter | Type | Description |
| folderId | String | The Box folder ID on which to enable app activities |