Skip to main content

Advanced samples

These samples show how to combine ONLYOFFICE Apps Embed SDK calls into complete, real-world integrations. Each one builds on the basics covered in Basic samples and targets a specific use case.

Security and access​

SampleDescription
AuthorizationLog in to an ONLYOFFICE Apps account using email and password hash.
Two-factor authenticationVerify users with a phone code before granting ONLYOFFICE Apps access.

Room and workspace setup​

SampleDescription
Structured room creationCreate client rooms with predefined folders and document templates.
Tabbed manager UIEmbed ONLYOFFICE Apps in a tabbed interface with multiple manager instances.
Draggable resizable modalsEmbed ONLYOFFICE Apps in draggable and resizable modal windows.

File and folder management​

SampleDescription
Create file in selected folderCreate a file in a selected folder and open it in the editor.
Open file in ONLYOFFICE editorsSelect a file and open it in ONLYOFFICE editors via the SDK.
Customize editorsCustomize the editor interface with branded buttons, logos, and links.

Project and task management​

SampleDescription
Create basic taskCreate a task management table with auto-generated ONLYOFFICE Apps rooms.
Create files in roomsCreate tasks linked to ONLYOFFICE Apps rooms and add files inside them.
Room selectorLink tasks to ONLYOFFICE Apps rooms using the room selector component.
Manage project foldersTrack projects as folders in a shared room with file locking.
File manager with task attachmentsAttach files to tasks using an ONLYOFFICE Apps file selector modal.
Collaborative project workflowBuild a freelance project workspace with rooms and file management.

Document workflows​

SampleDescription
Approval workflowRoute a document through reviewer sign-off before it's approved.

Communication​

SampleDescription
ONLYOFFICE Apps chat commandsInsert room and file links into a chat using slash commands.