imply Ask Save Function Not Working in Embed SDK Implementation
Hi, I'm working with Sisense's Embed SDK (not iFrame or SisenseJS) implementation and I've encountered a specific issue with the Simply Ask feature. The Simply Ask button is visible and functional in my embedded dashboard, but I'm unable to save any queries created through it. Here's my current implementation: typescriptCopyconst sisenseFrame = new SisenseFrame({ url: 'https://dvunified1.sisense.com/', dashboard: { id: '65118b631a4ea600334e0e7e', settings: { toolbarEnabled: true, toolbarShowDashboards: true, navigation: true } }, settings: { showHeader: true, showLeftPane: true, showRightPane: true, showToolbar: true }, element: document.getElementById('sisense-iframe') }); The interesting part is that: The Simply Ask button appears and works correctly I can create queries and see results However, when trying to save a query, nothing happens I've verified that: I'm using the latest version of Embed SDK The JWT token includes necessary permissions Simply Ask is enabled in the Sisense admin panel The implementation follows the SDK documentation guidelines Is there any specific configuration or permission needed for the save functionality in Simply Ask when using Embed SDK? Or could this be related to the 'volatile' mode setting? Any guidance would be greatly appreciated.Solved545Views0likes2CommentsNavigating the Future of Angular: Questions and Insights on the Compose SDK
Hi Sisense team and fellow developers, I want to take a moment to express my appreciation for the substantial improvements in performance, the variety of tools available, and the resolution of bugs in the recent updates to the Compose SDK for the Angular framework. As a developer using this SDK, I’m particularly pleased with the advancements in React, where we can see new features being rolled out. However, I have some questions regarding the future of the Angular package, especially concerning ongoing issues that have persisted since the beginning and, in some cases, are critical. Regarding the new DashboardByID component, which is currently in beta, I think its speed and visual output are excellent. However, I’d like to know more about plugin integration. Once the ability to register plugins in Angular is fully implemented, will it support all types of plugins? This includes purchased plugins like Paldi widgets and those requiring direct communication via PostMessages. I also want to address issues I've encountered with Jest and the CSKD. Since the official release of the package, I've faced constant problems when including components or APIs exposed by the Jest testing framework. This has forced me to manually mock numerous package components (including modules, graphics, and filters), which adds friction to development time due to the maintenance of these mocks. I have experienced this issue in both new projects and existing ones, and I’d like to know if I am the only one facing this, or if there is a solution from the Sisense team. On the topic of performance, while I have noticed slight improvements in recent updates, including reduced build times, I still perceive that the overall build time is quite high due to the heavy dependencies required by Angular. I would like to know what future plans are in place to address this. I realize this post is quite lengthy, but I want to highlight the great work being done with the package. It offers a strong alternative to using iframes and significantly enhances the user experience.Solved2.3KViews2likes7CommentsRetrieving total count and paginating large datasets with Compose SDK
I'm currently working on implementing a custom table to handle a large dataset in Sisense, and I'm encountering some performance challenges related to pagination. Here's the scenario I'm facing: Requirements: Retrieve the total number of records that match a filter condition (to get the total count for display and pagination). Efficiently paginate the results by fetching only the records for the current page, based on page size (e.g., 10, 25, 50 records per page), without retrieving all records at once. The Challenge: While I can use offset and count to paginate the records and fetch only the records for the current page, I don't have a way to determine the total number of records that match the filter condition without retrieving all of the records first. For large datasets, fetching the entire dataset before pagination is causing performance issues, since Sisense retrieves all the records matching the filter condition before applying pagination, which is inefficient. What I'm Looking For: Is there a way to retrieve the total count of records matching the filter condition without fetching the full dataset? How can I fetch only the records for the current page (using offset and count), while still being able to display the total number of matching records? Does anyone has experience implementing efficient pagination in Sisense for large datasets or can share any best practices, examples, or solutions?Solved1.4KViews0likes4CommentsUse of 'beforeRender' inside Table?
Hi, I'm using the CSDK on Angular 18 to run my micro-analytics components, I'm trying to replicate a table that I have on a dashboard using the Table component, but I need to make some customization to the Table itself like rendering some columns like an HTML to load images. Checking the docs I don't see any documentation about the use of "beforeRender" but inside the Chart component that allows the use of the 'table' type, it allows it, I wonder if is possible to use it or there is an alternative for my use case?Solved1.3KViews0likes3CommentsMitigating Optimization Bailouts in Angular with Sisense SDK: Handling CommonJS/AMD Dependencies
I’m experiencing longer build times after integrating the Sisense Angular SDK into my project. Profiling suggests that CommonJS/AMD dependencies in the SDK are triggering optimization bailouts during the build process. Has anyone encountered similar issues with the Sisense SDK? I’m looking for strategies to reduce these bailouts or optimize the integration to better fit Angular’s ES module requirements. Any advice on how to improve build performance while using this SDK would be greatly appreciated!Solved2.6KViews1like6CommentsApplied JAQL formula on top of another JAQL formula result
Hi, I have applied a JAQL formula to get new values (the values * 10), after that, I want to get the MAX from the result of the first query. how to achieve that? this is the result get from JAQL : [{"data": 4.3,"text": "4.3"}, {"data": 1,"text": "1"}, {"data": 43,"text": "43"}] the third column is get by applied this JAQL formula: { "jaql": { "context": { "[sepal_length]": {"dim": "[irisdataset6.sepal_length]"} }, "formula": "10 * MAX([sepal_length]) + 0", "title": "transform_x" } } now I want to get the max from the third column, how to achieve that?1.2KViews0likes5CommentsCould Someone Give me Advice for Optimizing Sisense Dashboards for Performance?
Hello there, I have been working with Sisense for several months now and have created a number of dashboards for my organization. While they are functional and provide the insights we need; I have noticed that some of the dashboards are starting to slow down as the data grows. I am looking for advice on best practices to optimize dashboard performance; especially as data volumes increase. Some of my dashboards take a while to load; especially those with multiple widgets and complex calculations. What are the key factors that impact load time; and how can I minimize them? I am currently using several Elasticubes to pull data into Sisense. What are the best practices for designing Elasticubes that are optimized for performance? Should I be considering different strategies based on the type of data I am working with? I have implemented several filters and drill-downs to allow users to explore the data; but I have noticed that these features sometimes slow down the dashboard when applied. Are there specific techniques to improve performance when using filters and drill-downs? I am aware that the way queries are structured can significantly impact performance. Are there any specific query optimization techniques or tools within Sisense that can help? Also, I have gone through this post; https://community.sisense.com/t5/product-and-website-news/minitab-performance-insights-why-sisense-offers-a/ba-p/20121 which definitely helped me out a lot. I want to ensure that my dashboards remain responsive and efficient; even as our data continues to grow. Thank you in advance for your help and assistance.1.2KViews0likes3CommentsInactivity Timeout with iFrame Dashboard
I'm working on an Angular/Spring application that embeds Sisense dashboards in iFrames. I'm trying to add an inactivity timeout for the application, so that users are signed out after a certain period of inactivity. However, I'm not sure how to detect user activity on the dashboards, sense they are rendered within an iFrame. What options are available for handling this functionality?1.1KViews0likes4CommentsHelp with connecting to Sisense instance
The current documentation advises configuring the connection with the following setup: export const SISENSE_CONTEXT_CONFIG: SisenseContextConfig = { url: '<instance url>', // replace with the URL of your Sisense instance token: '<api token>', // replace with the API token of your user account }; This approach involves passing the API token directly from the frontend, which raises security concerns. Can someone please recommend a more secure method for establishing the connection to the Sisense instance, as exposing the API token in the frontend does not seem ideal.Solved2KViews0likes7CommentsCompose SDK mock data
Hi, I am making use of the Compose SDK to build some analytics on my site, however, I wanted to be able to render a preview of my graphs without the need to generate a query to any of my cubes. Is there any way currently to perform this procedure, i.e. make the graph with values written by the developer?Solved1.3KViews0likes2Comments