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

Knowledge Base Articles

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 Leader
  • 401 Views
  • 0 comments
  • 1 kudos

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
  • 1573 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
  • 2360 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
  • 1395 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
  • 845 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
  • 1213 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
  • 2050 Views
  • 0 comments
  • 0 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
  • 2806 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
  • 358 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
  • 397 Views
  • 0 comments
  • 0 kudos

How To Order A Stacked Column Chart Using A BreakBy

Introduction   When adding a break by field to an ordered column chart, the order does not exist anymore.We have created this post in order to workaround this problem. StepsIn order to use the script, you need to follow the next steps:   1. Edit the...

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

Retrieve All Widget IDs, Titles And Types In A Dashboard

1) Open the Developers Console (press F12 in Chrome.) 2) Navigate to Console tab: 3) In the console prompt line, enter the following script and press Enter: 4) prism.activeDashboard.widgets.toArray() 5) This results in a printout of an object with ...

intapiuser by Community Team Member
  • 2231 Views
  • 0 comments
  • 2 kudos

Resizing And Scaling Charts In R Python

You have you have an R or Python chart but it renders very small. How can you resize it?  The Functions to Resize the Canvas These functions will set the max size that the image is capable of rendering.  For R, you can append the following line befo...

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