Skip to main content
Question

How are salesforce records and box folders linked?

  • May 22, 2025
  • 4 replies
  • 21 views

Forum|alt.badge.img

Does anyone know how the link between a Salesforce record and a box folder is stored?

 

Digging through the objects, metadata and fields in the managed package I haven't found it obvious. I can find a Folder_Id__c field on the Folder Metadata Object, but not how that then relates to say an opportunity or account record.

4 replies

Forum|alt.badge.img

The Box Folder/Salesforce Record relationship is maintained by an object in Salesforce called FRUP. A single FRUP record includes a Box folder ID and its associated record ID in Salesforce. It also keeps track of individual users (Box and Salesforce), and their access to the folder/record relationship.

 

To run a FRUP report: 

  1. Click on "Setup"
  2. Navigate to "Create > Objects"
  3. Click "Edit" by the "FRUP" object
  4. Click "Allow Reports" and Save
  5. Click the "Reports" tab from your All Tabs menu
  6. Click "New Report..."
  7. Search for FRUP within the Report Type list and click Create
  8. From the fields on the left, double click "FRUP: ID", "Box user", "CollaborationID", "Folder ID", "Record ID", and "Salesforce User" to add these columns to the report.
  9. Filter for "All frup" (not just Created by Me)
  10. Run the report

Forum|alt.badge.img

Can you link salesforce records and Box folders through the FRUP object?

 

such as :

box__FRUP__c newFolder = new box__FRUP__c();
newFolder.box__Record_ID__c = prop.Id; //id of the salesforce record
newFolder.box__Folder_ID__c = prop.BOX_Folder_ID__c;  //id of the box folder you want on the salesforce record


Forum|alt.badge.img

Not important, just curious, what is FRUP an abbreviation for? 


Forum|alt.badge.img

FRUP = Folder Read Update Permissions