Embed vs iframe1/14/2024 ![]() To adjust the game size: The standard code embeds a game with automatic width. In WordPress: place a “Custom HTML”-block in your post and insert the code (or in classic editor: change from ‘visual’ to ‘text’ editor and insert the code where you want the game to appear). Simply copy the embed code below and paste it where you want the game to appear on your page. The games are made in HTML5 and will run in any web browser. ![]() The width of the game window will auto-adjust to fit the available space on PC, tablet or smartphone. Place it anywhere on the page or in your blog article for free. ![]() Visitors can play the game without leaving your site. See Appending filters.Do you want to put a game on your webpage or in your blog post? Show/hide the filter and design panel to the rightĪdds temporary filters to the dashboard. Show/hide the Navigation Panel to the left Remember: all of the parameters below are optional and can be combined! NameĮnables dashboard designers to edit the dashboard To enable "edit" mode, append the parameter edit=true to the URL. Viewers can still only view the dashboard.Īs the default behavior is "view" mode, you don't need to do anything to enable it. Edit mode: Designer users can modify the dashboard - move and resize widgets and even edit them directly within the embedded iFrame.This mode is identical to "view mode" in the Sisense UI In addition, Designer users can perform the actions available through the toolbar buttons of the dashboard/widget, such as duplicating and downloading dashboards, and renaming and deleting widgets. View mode: Users can only view the dashboards and widgets, regardless of whether they are a viewer or a designer for that dashboard.Using Edit ModeĪs mentioned above, when embedding a Sisense dashboard using an iFrame the default behavior is "view" mode, but a query parameter can be used for "edit" mode. You can also choose a theme when using the Embed Code feature, and this parameter will be included in the generated URL and sample code. You can show panels otherwise hidden in embedded mode, switch the dashboard to "edit" mode, and even apply temporary dashboard filters - all using the query parameters in the URL.įor example, by appending the query parameter l=true you indicate that Sisense should show the left-side panel that contains the dashboard navigation: Customizing the UI for embeddingīy adding specific query parameters appended to the dashboard's URL, you can customize which parts of the Sisense UI are being displayed, and how the UI behaves. When embed=true is appended to the URL, Sisense will display the dashboard in embedded mode which means all toolbars and panels will be hidden except for the right-side filters panel, and the dashboard will be shown in "view" mode (it cannot be modified or re-arranged). However, to construct the URL which might be required when dynamically choosing which dashboard to display, use the following template: The easiest way to get a dashboard's URL is by navigating to that dashboard in the Sisense UI and simply copying the entire URL from your browser. Getting the dashboard's URL for embedding # Walkthroughįollow the steps below to embed your first dashboard in mere minutes. To read more on configuring Single Sign On in Sisense, click here. When embedding dashboards outside of the Sisense environment, usually the use case is to skip the Sisense authentication (login) page, and instead use SSO (Single Sign On) with existing corporate authentication. # Authentication in Embedded Dashboards and WidgetsĪll Sisense dashboards and widgets require authentication. To learn more, please refer to the Embedding Sisense page. However, if your requirements involve something more complex than described in this article, Sisense has 2 additional embedding methods for entire dashboards or individual widgets, providing a more detailed API for a more interactive embedded experience. The iFrame is great for simple embedding use cases.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |