To include Box file activity with Salesforce in the Box App Activity stream, you need some additional preparation in your enterprise. Details are below.
Important
To test the Box for Salesforce integration in App Activity, you must upgrade your organization to the new Box for Salesforce v3.57. That is the version that supports App Activity. But keep in mind:
- If your enterprise has a customized deployment of the Box for Salesforce integration via Toolkit or SDK, you must also call a method in your custom instance to enable App Activity. See the Custom Toolkit/SDK Implementations section below for a link to the method to do this.
- This does not include app activity for previously-created Salesforce records. To enable this capability, your Salesforce admin must run an additional backfill script. See the Backfill section below for details.
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:
``` Database.executeBatch(new BackfillAppActivities(), 40); ```
tech_writers_swarm_kb