-
Recently active
Hi all,I'm developing a java application to fetch box documents/files properties/Info. I'm able to get most of the file properties/Info except MIME type of the files. Is it possible to directly get the MIME type of a document/file using Box Java SDK ? Please suggest your suggestion. Thank you,Arpit
Is it possible to programmatically create an app user via Apex (Box Toolkit/Box SDK for Salesforce) and associate it with an Experience Cloud user in Salesforce?
Hi, a user is trying to connect BOX to my app and they’re not seeing any of their files show up. When they navigate to the web they get this: The application could not be added as it is lacking the proper configuration. Please check with an enterprise admin if the app is properly configured via Admin Console or contact the support e-mail indicated in app description for assistance. Any ideas?
Hi everyone,I’ve been testing the Content Sidebar UI Element via the CDN and noticed that the “Open With” option isn’t showing up. After digging into the docs and doing some trial and error, I wanted to confirm what I found in case others hit the same thing: The hasOpenWith parameter used to be part of Sidebar, but it only works for Enterprise accounts where App Integrations (Google Docs, Adobe, Box Edit, etc.) are enabled by an admin. On Free/Personal plans, those integrations aren’t available, so the Open With option won’t appear in the Sidebar at all, even if you set the flag in code. The current Sidebar options you can use on Free plans are: hasActivityFeed, hasMetadata, hasSkills, and detailsSidebarProps. So if you’re on a free plan and wondering why you don’t see “Open With,” that’s expected. To access it you’d need to be on a Business or Enterprise plan with integrations turned on by your admin.Hope this saves someone else a few hours of confusion 🙂
I’m using the following snippet, I don’t receive any event in uploaderClose method. var configData = { ACCESS_TOKEN: "XXXXXXXX", FOLDER_ID: "XXXXXX" }; function uploaderClose(e) { console.log('close:', e); } var optionsUploader = { 'onClose' : uploaderClose } var options = { 'container': '.explorer', 'contentUploaderProps': optionsUploader } var contentExplorer = new Box.ContentExplorer(); contentExplorer.show(configData.FOLDER_ID, configData.ACCESS_TOKEN, options);
Hey allI’m trying to use the Box Typescript SDK’s `client.search.searchForContent()` method to query for Folders using `tags`. There are two routes that I tried, both did not result in success, so was hoping someone knows what’s going on. The two routes were:Update Folder `tags` property:on Folder Create, add step which calls PATCH Folder (`client.folders.updateFolderById`) and update `tags` property const folder = await this.scopedClient.folders.updateFolderById( folderId, { requestBody: { tags: tags }, } ); oddly, when I GET Folder after this PATCH, I don’t see the “tags” attribute defined (ie: `tags: undefined`). I tried the same call, with both `name` and `tags`, and still, `tags` was not updated, however `name` was updated and changed when query’ing, add to query params `query: {tags}` const searchResults = await this.scopedClient.search.searchForContent({ contentTypes: 'tags', query: tags.join(' '),
Based on the following documentation, we have set setConnectTimeout and setReadTimeout to 300000 milliseconds, but even after 30 minutes have passed, no timeout error occurs and the application continues to wait for a response from Box.https://opensource.box.com/box-java-sdk/javadoc/com/box/sdk/BoxAPIConnection.html When we captured a thread dump while waiting for a response, we observed the following stack trace:at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:352)at com.box.sdk.BoxAPIRequest.trySend(BoxAPIRequest.java:720)at com.box.sdk.BoxAPIRequest.sendWithoutRetry(BoxAPIRequest.java:378)at com.box.sdk.BoxDeveloperEditionAPIConnection.authenticate(BoxDeveloperEditionAPIConnection.java:439)at com.box.sdk.BoxDeveloperEditionAPIConnection.tryRestoreUsingAccessTokenCache(BoxDeveloperEditionAPIConnection.java:571)at com.box.sdk.BoxDeveloperEditionAPIConnection.getAppE
I followed this: https://medium.com/box-developer-blog/box-python-next-gen-sdk-getting-started-with-ccg-81be0abc82d9 And it worked but this stops at `user_client.users.get_user_me()`. I want to be able to list files in my folder and download them. How can I do that? I use python.
need to create an app on a box enterprise accountan external application will upload files to box. Box account has added users who will check the files Organization is recommending to use oauth the external app is automated and need to run without having someone enter credentials everytimeis this workflow possible?
Hi team, I’m trying to set up box app with client_credentials grant_type. I have followed these steps: https://developer.box.com/guides/authentication/client-credentials/client-credentials-setup/I have setup an app with App + Enterprise Access, and have provided all the permission including the all files and folders access permissions.Now I am trying to create a client, and fetch folders and files data with enterprise box_subject_type, but it gives empty list. If I try the same with user box_subject_id, then it works and gives all the files and folders from root folder. But as I understand, this will give give admin level to the client(or the user with which I have authenticated). Is there any way to fetch all files and folders using enterprise access, and which do not need user id?I have tried by collaborating a folder with the service user which was created for my app, but with this it only gives access to the shared folder, and couldn’t find a way to share all the folders and files
I have a UWP application that has a file picker and it launches PickerHost.exe when I want to attach a file from Box.When I attach a single file from the Box node in the windows file explorer, it works fine. But when I try to attach 2 or more files, it doesn’t work saying there’s insufficient memoryThe thing is, if I go to directly to the folder location of Box (ie. C:\Users\Username\Box) and select multiple files from there then it works fine. But not when I select from the Box node in the file explorer.I don’t face this issue on other cloud storage applications, only on Box.Wondering if this is a known issue and this line in the Box Drive beta for Windows announcement would address it? Folder redirection to seamlessly sync root folders from their local hard drive directly into Box, providing a more integrated experience (coming later in this beta)
Using .NET sdk and OAuth2 we give login to box application in our embedded browser. But the box cdn js files ( showing syntax errors) are not getting loaded in our embedded browser. Maybe due to updated features the files are not getting loaded. Can you help us here?
Hi everyone,I'm exploring options to allow users to edit .docx documents directly within my application using Box.While researching, I came across the ui.openWith() method in the UI Elements documentation, but I see it's now marked as deprecated. Before I go further, I wanted to ask: What is the recommended alternative to ui.openWith() for opening and editing Word documents? Does the ContentPreview UI Element support editing, or is it strictly for viewing? Are there other supported ways to integrate an editing experience for .docx files stored in Box? I'd love to hear what the best practices are for this type of functionality.Thanks in advance!
Tengo un problema complejo. ¿A Soporte técnico de Box se le puede enviar la duda y pantallazos de alguna manera? Al entrar en Open Box.com, me salen las carpetas azules compartidas de una en una, correcto, no duplicadas, pero si entro desde la pestaña de arriba y abro el desplegable (carpetas azules compartidas en pequeño), entonces si salen duplicadas.Otro problema que veo, es que en las carpetas "grandes azules", (no las del desplegable), entro y a parte de otras carpetas azules compartidas, en mi versión web hay más archivos pdf, jpg, excels, etc. que al abrir la misma carpeta en el desplegable, no salen y en las de la persona con quien las comparto, tampoco salen.
HiI am using React 18 (TSX) for my UI application. I want to integrate Box Content Explorer into my application.
Hi all, Fairly recently we’ve launched a beta version of our Python SDK. Our engineering team is generating the SDK directly from the REST API specifications. This should allow: Full API Support: New Box SDKs empower developers with complete coverage of the Box API ecosystem. You can access all the latest features and functionalities offered by Box and build feature-rich applications. Rapid API Updates: The new auto-generation development approach allows for adding Box APIs to SDKs at a much faster pace (in a matter of days). This means you can leverage the most up-to-date features in your applications without delay. Embedded Documentation: All objects and parameters are documented directly in the source code of the SDK so all the necessary information is stored in one place. Enhanced Convenience Methods: The newly introduced convenience methods cover various aspects such as authentication, chunk uploads, exponential back-offs, automatic retries, type checkers which help to ensure tha
Hi, I just added this non react script to our Blazor site and it is complaining that React is not defined. Could you please check to make sure the correct script has been uploaded?<script src="https://cdn01.boxcdn.net/platform/elements/23.0.0/en-US/uploader.no.react.js"></script>
I’m using the box-sdk-gen to download files from box. Some of the files are quite large. With larger files we are experiencing timeouts. Is there anyway to prevent timeouts. Are there server configuration changes we need to make or are there settings in the sdk that we can change that might stop the timeouts from happening.
When we add showAnnotations:true for BoxUiElementsPreview box ui element, we need to mask the annotations call that is being fired /annotations call with our masking url but annotations call is not coming in request interceptor at all to mask it like other calls like comments, etc on preview.how we can resolve it as other calls we are able to mask fired from preview except annotations call.
Join us for a webinar dedicated to developers, where we will explore the generated Box SDKs. You’ll see several code demos of Box SDKs in Python, .NET, and TypeScript both on the server side and within a web browser. Learn tips and tricks, get to know new convenience methods, compile-time issue detection, and get to know exciting new features coming soon.Join on April 15th, and choose a time slot that works best for you.Register here: https://events.box.com/box-webinars/box-sdk-webinar-2025See you soon!
Hello dear box.com support team, Perhaps someone here can help me… but first, some information: TB: 115.6.1 (64-Bit) OS: Windows 10 Account Type: POP Mailbox Provider (split): SMTP marec.de (own domain) / POP (Incoming server:) gmail.com Storage Service (the one that is / isn’t working ;)): box (box.com) AV: Windows Defender Firewall: Windows Defender (and Fritzbox) On the subject: For many years, I have been using the Box (box.com) add-on with Filelink (from a certain attachment size). It has always worked great. However, for some time now, the upload always fails, I can no longer use Box (box.com) in conjunction with Thunderbird. There is no further error message, except that the “upload failed”. I have already “uninstalled” and re-set up the service several times → no improvement. If I try it e.g. 5 times with Box (box.com), it may work on the 5th try or already on the third try or only on the 7th try and sometimes not even then. Since I have a lot and enough storage at Box, I am in
Hi Box Community,I hope this message finds you well.As part of the BOX redesign in our organization, I worked on redesigning the BOX API Python code. Here is an overview of the code logic and the challenges faced:Code LogicPython code is invoked. Checks for the specific folder ID and retrieves the total number of files available. Creates a loop with a batch size of 100. Executes the download command.Scenario100 files, each with a size of 150 MB, were present in the BOX folder ID.Challenges FacedDuring the download, 96 to 97 files are downloaded with full size, but 3 to 4 files are downloaded with 0 MB size.Workarounds ExecutedPost-download of each file the script revalidates the file size. If the file size is 0 MB, a retry for the download is executed. This worked fine even for larger files. Changed the batch size to 30, and no issues were noticed with 100 files.I am curious to know if there are any limitations imposed by Box on the number of files that can be downloaded in a single ba
I do find my question to be similar to an unanswered one I can set the event type to download and only return download events. but when I set it to accessrevoked I see results returned for content_access, Delete, upload, etcI am using EventType = new List<StringEnum<GetEventsQueryParamsEventTypeField>> { new(GetEventsQueryParamsEventTypeField.AccessRevoked) } to set the filter in the parameter variable
oauth.get_authorization_url returns url that returns a 302 errorThe url starts with https://account.box.com/login/mfa?redirectUrl
I have set up an application. I have specified the authentication method as OAuth 2.0 with JSON Web Tokens (Server Authentication) I have specified the app access level to App + Enterprise AccessI have valid oauth2 credentials. I have the following application scopes enabled.1- Read all files and folders store in Box Access to content is further restricted by the user' permission and Access Token used 2- Write all files and folders store in Box Necessary to download files and folders. Access to content is further restricted by the users' permission and Access Token used. Read access is required when Write access is selected. 4- Manage Users 5- Manage Groups 6- Manage retention policies for use with the governance add-on7- Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App + Enterprise Access is required to use this scope. Manage enterprise properties for use with the event stream, enterprise's attributes, and device pins. App
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.