Overview
The Splash View is a flexible data exploration tool in myBMT, providing interactive access to various structured data formats, including:
- CSV
- JSON
- Parquet
- Nested JSON
- XLSX (including worksheets)
- API responses (returning JSON results)
This tool allows users to explore data visually and programmatically, ensuring seamless interaction across multiple file formats.
1οΈβ£ Availability
Where can I find the Splash View?
πΏ Wherever you see the shower icon in myBMT “Shower Me with Data”
- Appears as [πΏ Show Container]
- Click it to explore the dataset interactively
π Azure Explore Page in myBMT
- Provides direct access to stored datasets
These entry points enable seamless access to structured data, whether you’re working with files or catalogue tables.
2οΈβ£ URL Formats
The Splash View can be accessed using two different URL formats, depending on the use case.
1οΈβ£ Catalogue Tables & File Objects
Used for accessing predefined catalogue tables or file objects by specifying an id
parameter.
http://mybmt/index.php?module=app/splash/view&id=795
id=795
β Refers to a specific catalogue table or file object- The system retrieves metadata from the catalogue entry to determine the data source
2οΈβ£ Direct Table Access via Storage Path
Used for accessing files directly from storage.
http://mybmt/index.php?module=app/splash/view
&table=DIM_ABSENCE_TYPE_OL.csv
&host=uks
&cont=ifs
&folder=Import
&env=dev
&rows=100
πΉ Query Parameters
Parameter | Description | Default |
---|---|---|
table | The name of the table or file to access. | Required |
host | Specifies the data host location (e.g., uks ). | Required |
cont | The container where the file is stored (e.g., ifs ). | Required |
folder | The folder location inside the container. | Import |
env | The environment (dev or prd ). | dev |
rows | The maximum number of rows to fetch. | 100 |
3οΈβ£ API Functionality
A new API function enables retrieving JSON results directly, making it useful for integrations and automation.
if ($view === 'api') {
header('Content-Type: application/json');
echo json_encode($tablearray);
exit;
}
Parameter | Description | Default |
---|---|---|
table | The name of the endpoint to access. | Required |
host | Specifies the data host location (e.g., hubspot ). | Required |
cont | The container array in the result (e.g., data ). | Required |
folder | The folder location inside the container. | Import |
env | The environment (dev or prd ). | dev |
rows | The maximum number of rows to fetch. | 100 |
4οΈβ£ Features & Functionality
πΉ Interactive Tables with DataTables
- Uses DataTables for enhanced functionality:
β Column-based searching
β Pagination & sorting
β Export options (Excel, CSV, PDF)
πΉ Role-Based Access Control
- Permissions are enforced using field-based security.
- Users without access receive a “No Data Found” message.
πΉ Table Access Logging
- Logs all user access attempts for tracking & auditing.
5οΈβ£ Troubleshooting
Issue | Solution |
---|---|
No table data appears | Check permission settings |
Debug output missing | Ensure user is in group_id 0 =dev or admin |
API returns empty JSON | Confirm tablearray is populated |
6οΈβ£ Future Enhancements
β
Expand API Capabilities β Add support for filters & pagination
β
Custom Export Options β Additional format conversions
β
Enhanced UI β Consider integrating charts or summary statistics
7οΈβ£ Summary
The Splash View dynamically renders tables from various data sources while enforcing permissions and logging activity.
π‘ Key Takeaways
βοΈ Supports multiple file types
βοΈ Implements role-based access control
βοΈ Provides logging & auditing
βοΈ Allows interactive table search & filtering
βοΈ Can return JSON API responses
βοΈ Accepts two different URL formats
βοΈ Available in myBMT via the shower icon on the πTable Catalogue listings and πAzure Explore Pages