Knowledge
cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

Toggle Logarithmic Feature

Toggle Logarithmic Feature Question I want the user to be able to toggle on and off the "Logarithmic" feature from the design panel. Answer See the script below: widget.on('processresult', function(se, ev){ev.result.chart.spacing = [20, 20, 77, 20...

gwolfe_0-1716309534846.png
DRay by Community Team Member
  • 50 Views
  • 0 comments
  • 1 kudos

React Typescript Component for Embedding Sisense Dashboards

To embed dashboards from Sisense into your web application, typically you would use either the IFRAME or EmbedSDK approaches (see sisense.dev for more details). If your application is written in React, then React components to achieve tasks, like th...

sampleApp.gif
steve by Sisense Team Member
  • 1764 Views
  • 5 comments
  • 0 kudos

Dashboard Dictionary

Use Case My users and designers were looking for an easy way to get insights into how certain dashboards and widgets were built in terms of formulas and filters.  Solution For this, I have written a Python script that takes a list of dashboard IDs...

DRay_0-1707934801901.png
DRay by Community Team Member
  • 248 Views
  • 0 comments
  • 1 kudos

How to hide the "Switch to view mode" button based on a role

How to hide the "Switch to view mode" button based on a role This article provides an example JavaScript snippet that could hide the "Switch to view mode" button based on the user's role.  How to use it? First of all, you need to get the role name y...

Screenshot 2024-01-23 at 12.59.43.png Liliia_DevX_1-1706007100279.png Liliia_DevX_2-1706007247757.png

Migrating Blox Custom Actions

Migrating Blox Custom Actions   When relocating Sisense resources from one server to another, the Sisense Rest API is a possible method for transferring Sisense components and objects like dashboards, users, groups, and data sources. Similarly, Blo...

Screen Shot 2023-12-11 at 5.21.27 PM.png Screen Shot 2023-12-11 at 5.21.27 PM.png

Dynamic Resize For Embedded IFrames

If you've ever attempted to dynamically resize your embedded iFrames in your parent application, you may have experienced a CORS conflict. Basically, since your parent application and sisense application serve from different domains, your browser re...

intapiuser by Community Team Member
  • 1051 Views
  • 1 comments
  • 2 kudos

Setting up Docker Registry for Sisense Offline Installation

An offline, or air-gapped, Sisense environment provides higher security than online, connected environments. As the offline environment has no outside communication, the only method to install Sisense in this environment is by using removable media,...

vsolodkyi by Sisense Team Member
  • 1607 Views
  • 3 comments
  • 1 kudos

BloX Write Back Form to a Source Database

BloX Write Back Form to a Source Database Sisense BloX Database Writeback This guide demonstrates setting up a simple BloX widget to enable front-end users to write data back to the database. While this guide specifically uses AWS lambda to execute ...

Querying the Sisense Elasticube with Python

This article will cover two methods you can use to connect Python to the Elasticube. Method 1: Using ODBCMethod 2: Using the REST API Method 1: Connect to the EC with ODBC Download Sisense ODBC This method will require you to download the ODBC ...

intapiuser by Community Team Member
  • 931 Views
  • 1 comments
  • 0 kudos

Schedule Download Of SQL API Queries To CSV

Introduction With the Python script below and the Window Scheduler, you can automate the download of csv files based on queries of the SQL API to the elasticube. This type of process comes in handy when a user needs to download information regularly...

intapiuser by Community Team Member
  • 581 Views
  • 1 comments
  • 0 kudos

REST API - Adding Data Level Security

When building code to automate the process of adding users (or groups), it may be beneficial to add security around those users. Follow the steps below to learn how to add data level security through the REST API:  Step 1 From your SiSense home pag...

intapiuser by Community Team Member
  • 876 Views
  • 0 comments
  • 0 kudos

Rolling Averages Using Window Functions

Want to show a rolling average for your data, but not the granular breakdown? We can use the average window function to run this calculation.   First, I created a CTE that contains the number of new users per day on a fictional gaming platform. I...

intapiuser by Community Team Member
  • 1477 Views
  • 0 comments
  • 0 kudos

Introduction To Hyperparameter Optimization - Machine Learning

There are lots of knobs (a.k.a hyperparameters) we can turn when coming up with a Machine Learning model. in the script below, we take the well-known iris dataset, and play around with different hyperparameters.   First, a few notes: In machine lear...

intapiuser by Community Team Member
  • 355 Views
  • 0 comments
  • 1 kudos

Python Script to Export Dashboards to CSV File

The following Python script allows exporting dashboard data to CSV files. The script will export each widget to a separate CSV file. This new version of the script uses Sisense's REST API an eliminates the direct connection to the mongodb. Important:...

intapiuser by Community Team Member
  • 2288 Views
  • 0 comments
  • 0 kudos

Resend Invitations to Inactive Users in Bulk

Steps: 1) Download Python and install it on your PC or the Sisense machine (make sure to add python to the PATH to easily initiate installation of directories). 2) Run CMD and type the following commands to add libraries used as part of our solution...

intapiuser by Community Team Member
  • 265 Views
  • 0 comments
  • 1 kudos

Python 3 Script to Import Many ElastiCubes

Introduction The attached script is intended to loop through all ElastiCube folders in your ElastiCubeData folder and import them. Business Case This solution has a couple of possible use cases.  The first is to facilitate migrating a Sisense environ...

intapiuser by Community Team Member
  • 267 Views
  • 0 comments
  • 0 kudos
Labels