SAP Analytics Cloud, analytics designer Developer Handbook Document Version: 5.1 – 2020-04-06 Table of Contents 1 Table of Contents Table of Contents ......................................................................................................................... 1 Figures .......................................................................................................................................... 7 1 About Analytics Designer .............................................................................................10 1.1 What Is an Analytic Application? .....................................................................................10 1.2 What Is Analytics Designer? ............................................................................................10 1.3 What Can You Do with Analytic Applications That You Can’t Do with Stories? ..............10 1.4 How Are Stories and Analytic Applications Related to Each Other? ...............................10 1.5 Why Do We Need Both Stories and Analytic Applications? ............................................11 1.6 What Is the Typical Workflow in Creating an Analytic Application? .................................11 1.7 What Are Typical Analytic Applications? .........................................................................12 1.8 How Does Scripting Work in Analytic Applications? ........................................................12 1.9 What’s the Scripting Language for Analytic Applications? ..............................................13 2 Getting Started ...............................................................................................................14 2.1 Prerequisites ....................................................................................................................14 2.1.1 Required Access ..............................................................................................................14 2.1.2 Required Roles ................................................................................................................14 2.1.3 Required Licenses ...........................................................................................................14 2.1.4 Modes ..............................................................................................................................15 2.2 Designing Elements .........................................................................................................15 2.2.1 Canvas .............................................................................................................................15 2.2.2 Widgets and Filters ..........................................................................................................15 2.2.3 Data Sources and Models ................................................................................................15 2.3 Managing Your Analytic Application ................................................................................16 2.3.1 Transporting an Analytic Application ...............................................................................16 2.3.2 Sharing an Analytic Application .......................................................................................16 2.3.3 Bookmarking Your Analytic Application ...........................................................................16 2.3.4 Translating Your Analytic Application ..............................................................................17 2.3.5 Exporting Your Analytic Application to PDF .....................................................................18 2.3.6 Commenting in Your Analytic Application ........................................................................20 2.4 Navigating from Analytic Application to Another Document or URL ................................21 2.4.1 Create a Story from a Widget ..........................................................................................21 2.4.2 Navigation APIs ...............................................................................................................22 3 Designing an Analytic Application ...............................................................................23 3.1 Creating ............................................................................................................................23 3.2 Browsing ..........................................................................................................................23 3.3 Opening Analytic Applications in a Specific Mode ...........................................................24 3.3.1 Opening an Analytic Application from File Repository with CRUD Permissions .............24 3.3.2 Opening an Analytic Application from File Repository with Read Permissions ...............24 3.3.3 Opening a Mode with the URL .........................................................................................24 3.3.4 Switching Between Present and View Mode ...................................................................25 Table of Contents 2 3.4 Toolbar Functionalities .....................................................................................................25 3.4.1 Toolbar in Edit Mode ........................................................................................................25 3.4.2 Toolbar in View Mode ......................................................................................................26 3.5 Edit Mode Functionalities .................................................................................................26 3.5.1 Outline and Side Panels ..................................................................................................26 3.5.2 Scripting Section ..............................................................................................................27 3.5.3 Layout Section .................................................................................................................28 4 Scripting in Analytics Designer ....................................................................................32 4.1 Why Scripting? .................................................................................................................32 4.2 Scripting Language Overview ..........................................................................................32 4.2.1 Type System ....................................................................................................................32 4.2.2 Tooling – Code Completion and Value Help ....................................................................32 4.2.3 Events ..............................................................................................................................32 4.2.3.1 Application Events ........................................................................................................32 4.2.3.2 Individual Widget Events ..............................................................................................33 4.2.4 Global Script Objects .......................................................................................................33 4.2.5 Accessing Objects ...........................................................................................................33 4.2.6 Script Variable ..................................................................................................................33 4.2.7 Timer ................................................................................................................................34 4.2.7.1 Script APIs ....................................................................................................................35 4.2.7.2 Sample 1 – Create Animation .......................................................................................35 4.2.7.3 Sample 2 – Automatically Play the Application ............................................................35 4.3 Script Editor......................................................................................................................36 4.3.1 Creating and Editing Event-Based Scripts .......................................................................36 4.3.2 Creating and Editing Functions in Global Script Objects .................................................38 4.3.3 Script Editor Layout ..........................................................................................................39 4.3.4 Keyboard Shortcuts .........................................................................................................40 4.3.5 Info Panel: Errors and Reference List ..............................................................................40 4.3.6 Renaming Widgets, Script Variables, and Script Functions ............................................40 4.4 Scripting Language Features ...........................................................................................40 4.4.1 Typing ..............................................................................................................................40 4.4.2 No Automatic Type Casting .............................................................................................41 4.4.3 Accessing Objects ...........................................................................................................41 4.4.4 Finding Widgets with Fuzzy Matching .............................................................................41 4.4.5 External Libraries .............................................................................................................42
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages254 Page
-
File Size-