Skip to main content
Question

Box Content Uploader - Shows Close button though the onClose Function is not used

  • May 22, 2025
  • 2 replies
  • 19 views

Forum|alt.badge.img

I am integrating the Box Content Uploader in Salesforce, Close button appears when i haven't specified the onClose function in the code, I am just using the following code and successfully upload the files but i dot not want close button to show, can any one help me.

 

var uploader = new Box.ContentUploader();
uploader.show(folderId, tokenJs, {
container: '.container'
});

2 replies

Forum|alt.badge.img

Hi  , thanks for using the content uploader!

 

An easy workaround is to apply some css like:

 

.bcu-footer-left > .btn {

    display: none;

}

 

Sample codepen: https://codepen.io/box-platform/pen/rEzKya


Forum|alt.badge.img

Hi, i Integrate that box content uploader to webpage and provide details of folderId ,accessToken 

 

but  i got error message of 

Something went wrong with the upload. Please try again.
 
 
thanks in advance