Power Automate Office Scripts Basics: Difference between revisions

From Training Material
Jump to navigation Jump to search
(Created page with "{{Cat|JavaScript}} <slideshow style="nobleprog" headingmark="⌘" incmark="…" scaled="true" font="Trebuchet MS" > ;title: Power Automate Office Scripts Basics ;author: Lukasz Sokolowski </slideshow> == Power Automate Office Scripts Basics == Power Automate Office Scripts Basics Training Materials {{Can I use your material}} == Introduction == Single module context * Accessing Scripts * Triggering Scripts in Power Automate * IntelliSense * Variables, Types and Int...")
 
mNo edit summary
Line 28: Line 28:
* Connection to SAP GUI through Scripting Engine
* Connection to SAP GUI through Scripting Engine
-->
-->
== Intro Con't ==
Office Scripts
* '''Online''' version of ''VBA''
* Built to '''run in Excel''' online
** similar to GoogleDocs App Scripts, but based on '''TypeScript''' instead of ''Javascript''
** '''TS''' is a '''subset''' of ''JS'', so we can use JS as well
== Accessing Scripts ==
<syntaxhighlight lang="ts">
// comment
let a: string = 'code'
</syntaxhighlight>
== Triggering Scripts in Power Automate ==
== IntelliSense ==
== Variables, Types and Interfaces ==
== Get & Set ==
== Basic Excel Actions ==
== If ==
== Loop ==
== Send and Return Data ==
== Additional functions ==

Revision as of 19:19, 10 December 2024


title
Power Automate Office Scripts Basics
author
Lukasz Sokolowski


Power Automate Office Scripts Basics

Power Automate Office Scripts Basics Training Materials

Introduction

Single module context

  • Accessing Scripts
  • Triggering Scripts in Power Automate
  • IntelliSense
  • Variables, Types and Interfaces
  • Get & Set
  • Basic Excel Actions
  • If
  • Loop
  • Send and Return Data
  • Additional functions

Intro Con't

Office Scripts

  • Online version of VBA
  • Built to run in Excel online
    • similar to GoogleDocs App Scripts, but based on TypeScript instead of Javascript
    • TS is a subset of JS, so we can use JS as well

Accessing Scripts

// comment
let a: string = 'code'

Triggering Scripts in Power Automate

IntelliSense

Variables, Types and Interfaces

Get & Set

Basic Excel Actions

If

Loop

Send and Return Data

Additional functions