How to Use This Plugin in Your Bubble App
Step 1: Install the Plugin
Go to the Bubble Plugin Store (if public) and install File Extension Extractor, or add it from your private plugin editor.
Step 2: Add the Element to Your Page
In the Bubble editor, go to the Design tab.
Search for File Extension Extractor in the Elements menu.
Drag and drop the element onto your page.
Step 3: Set the File URL
Select the element and set the file_url property dynamically:
Example: FileUploader A's value
Or: Current cell's file URL (in repeating group)
Or from database: Do a search for... :first item's file URL
Step 4: Access the Extracted Extension
Use the extracted extension via the element’s exposed state:
Example: File Extension Extractor A's extension
You can now:
Show it in a text element
Save it to the database
Use it in conditions/workflows (e.g., “Only when extension is pdf”)
💡 Example Use Cases
Display an icon based on file type
Validate uploaded file types
Organize or categorize files by type
Filter/search by file type in repeating groups
Editor link :
https://bubble.io/page?id=mintworxs-plugin&test_plugin=1746685520326x500675141013340160_current&tab=Design&name=file_extension_extractor&type=page