Skip to main content
Question

Salesforce Developer Toolkit rename folder

  • May 22, 2025
  • 3 replies
  • 46 views

Forum|alt.badge.img

Hi - We are using Salesforce Developer Toolkit to create folders from Opportunity records. Folder name is defaulting to the Opportunity name but when the Opportunity name field is updated, we want the folder to be renamed to match Opportunity Name. How can that be achieved?

createFolderForRecordId with folderNameOverride seems to be working only on creation.

 

Thanks!

3 replies

Forum|alt.badge.img

Hi ,

 

Thanks for your post. I believe that's a limitation of the SalesForce Developer toolkit to only allow renames when creating the folder in the first place, but I'll let the developer community team answer if they have any creative workarounds. 

 

Appreciate the post!


Forum|alt.badge.img

Hi ,

 

There's no method in the Salesforce Developer Toolkit to rename a folder unfortunately. That'll have to be done manually in the embed window.

 

The other long way around is to build a custom trigger in SFDC and make an API call out to Box manually or with the Box for Salesforce SDK when the opportunity name is renamed, but understandably that's higher on the effort scale.

 

Hope that helps!

 

Thanks,

Jason


Forum|alt.badge.img

We were able to rename our Box Folder by using the available generic method : sendRequest then calling Box's Update Folder API