This article is for developers with a full understanding of how to work with our API.
Important note about the API explorer:
When you follow the link we provide to the API explorer, you'll see a red warning.
The API itself is not deprecated. It's the Google API explorer that is deprecated. All the processes described in our API articles function correctly and safely if you use this Google API explorer.
You may want to remove the Open with UFO or Open with Microsoft Office buttons that appear next to Microsoft attachments. This means you can ensure your users use only Google Docs rather than the Microsoft Office suite.
A custom configuration flag is available to remove these buttons from the interface for a specific library or a whole domain:
- Open with UFO if you have UFO installed - learn more: What are the UFO and AFO extensions?
- Open with Microsoft Office if you don't have UFO installed – learn more:
This affects only Microsoft attachments. The Open with UFO button remains available for non-Microsoft attachments such as PDFs.
Important:
– To apply the flag at the domain level, you must be super administrator; to apply the flag at the library level, you must be library administrator or super administrator.
– This setting is available through the API only. It isn't available in the administration interface.
– Custom configurations at the library level take precedence over those set at the domain level. For example, if you set the flag as true at the domain level and false for one library, the UFO and Open with Microsoft Word buttons will be removed for all libraries in your domain except the one in which you set it as false.
Learn more: Use the API to check which custom configuration flags are set on your domain or library.
In this article:
Automatically generated table of contents
Set the custom configuration at the domain level
1. As an AODocs super administrator, follow one of these links to the AODocs API:
- US instance:
- EU instance:
Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?
2. Enter the flag name: disableUFOForOfficeFiles
.
3. Enter your domain name.
4. In the Request body field, enter a TRUE
.
5. Click Authorize and execute. The response is displayed in the lower part of the screen.
Note: To remove a custom configuration, use the same process, and enter the value FALSE
in the Request body field. This is the default value.
Set the custom configuration at the library level
1. As a library administrator, follow one of these links to the AODocs API:
- US instance:
- EU instance:
Note: Dedicated instances have their own URLs. Learn more: What are AODocs instances?
2. Enter the ID of the library in which you want to add custom buttons. Learn how to identify the library ID.
3. Enter the flag name: disableUFOForOfficeFiles
.
4. In the Request body field, enter TRUE
.
5. Click Authorize and execute. The response is displayed in the lower part of the screen.
Note: To remove a custom configuration, use the same process, and enterFALSE
. This is the default value.
Which buttons are removed?
If you activate the disableUFOForOfficeFiles
flag, the buttons shown below are no longer available for Microsoft attachments.
AODocs document
#UFO installed | #UFO not installed |
Views in Team Folders and Secured Folders
#UFO installed | #UFO not installed |
Views in Document Management libraries
#UFO installed | #UFO not installed |