π οΈ
Installation & Setup Guide β Document Viewer Plugin ππ
πΉ
Installation Stepsπ
Step 1: Open your
Bubble Editor.
π
Step 2: Navigate to the
Plugin tab and search for
Document Viewer Plugin. π
π
Step 3: Click
Install to add the plugin to your
Bubble application. β
βοΈ
Configuration & Setupπ
Adding the Plugin Element π₯οΈ
βοΈ Go to the
Design tab in Bubble. π¨
βοΈ Drag and drop the
Document Viewer element onto your page. π
π
Setting Up File Links π
βοΈ Users can
input file URLs manually in the
file_upload field. π₯
βοΈ Add a
Google Viewer Button, then set its
ID in the Appearance tab as
"viewAsGoogle"
.
βοΈ Click the button with this
ID to view the file from a URL. πποΈ
βοΈ Click a
demo document button to preview sample files in action. π
π
Adding Buttons Manually for Demo Documents π²οΈ
βοΈ In the
Design tab, add multiple
Button elements for demo documents.
βοΈ Label them based on
file type (e.g.,
View PDF, View DOCX, View PPTX). π·οΈ
βοΈ In the
Workflow tab, set an action to
display the demo document.
π¨
Custom Styling β¨
βοΈ Modify
CSS styles in the Bubble editor to match your
appβs design. π
β
FAQs β Document Viewer Plugin1οΈβ£
What types of documents can this plugin preview? π
β
The plugin supports
PDF, DOCX, PPTX, XLSX, TIFF, and SVG files.
2οΈβ£
How do I add my own file for viewing? π₯οΈ
β
Simply
paste the file URL into the
input field file_upload.
3οΈβ£
Do I need any external API keys? π
β
No, this plugin uses the
publicly available Google Document Viewerβno API key required! π
4οΈβ£
Does the plugin work on mobile devices? π±
β
Yes! The plugin is
fully responsive and works on both
desktop and mobile devices.
5οΈβ£
Does the plugin support real-time updates if the file changes? π
β
Yes, the plugin
automatically refreshes to display the
latest version of the file when updated.
πPlugin Documentationπ
Get started with the Document Viewer Plugin today and enhance your Bubble app's document preview experience!β¨