Custom Connector Functions Overview

Updated on

Power Query exposes specific functions when developing Custom Connectors in Visual studio. You can find an overview of these below.

Custom Connector Functions

FunctionDescriptionInputOutput
DataSource.TestConnectionReturns whether a connection to a datasource can be established and credentials are correct.AnyLogical
Error.UnexpectedTextRecord
OpenApi.DocumentReturns a table of operations from an Open API definition.BinaryAny
SqlView.GeneratorThis function is intended for internal use only.AnyFunction

Action Functions

FunctionDescriptionInputOutput
Action.DoNothingAn action that performs no action when executed and returns null as its result.AnyAny
Action.ReturnCreates an action that performs no action when executed and returns the specified value as its result.AnyAny
Action.SequenceCreates an action that executes a sequence of actions in order.ListAny
Action.TryCreates an action that executes the specified action, catching and returning any errors that occur during its execution.AnyAny
Action.ViewCreates or extends an action with user-defined handlers for query and action operations.AnyAny
Action.ViewErrorCreates a modified error record which won’t trigger a fallback when thrown by a handler defined on a view (via Action.View).RecordRecord
Action.ViewFunctionCreates a function that can be intercepted by a handler defined on a view (via Binary.View).FunctionFunction

Connector – Crypto

FunctionDescriptionInputOutput
Crypto.CreateHashNumberBinary
Crypto.CreateHmacNumberBinary

Enviroment Functions

FunctionDescriptionInputOutput
Environment.ConfigurationReturns the value of all configuration properties set in the current environment.RecordRecord
Environment.FeatureSwitchReturns the value of a configuration property set in the current environment.TextAny
Environment.LibrariesReturns a table of libraries that are available in the current environment.RecordTable

Extension Functions

FunctionDescriptionInputOutput
Extension.CacheRecordRecord
Extension.ContentsTextBinary
Extension.CredentialErrorTextRecord
Extension.CurrentApplicationRecordRecord
Extension.CurrentCredentialLogicalRecord
Extension.HasPermissionRecordLogical
Extension.InvokeVolatileFunctionFunctionAny
Extension.InvokeWithCredentialsFunctionAny
Extension.InvokeWithPermissionsFunctionAny
Extension.LoadStringTextText
Extension.ModuleTextAny
Extension.StateTableTable

External Integrations

FunctionDescriptionInputOutput
Delta.SinceTableTable

Table Action Functions

FunctionDescriptionInputOutput
TableAction.DeleteRowsCreates an action to delete rows from a table.TableAny
TableAction.InsertRowsCreates an action to insert rows into a table.TableAny
TableAction.TeeCreates an action that executes multiple actions concurrently while reading data from a table.TableAny
TableAction.UpdateRowsCreates an action to update rows in a table.TableAny

Value Action Functions

FunctionDescriptionInputOutput
ValueAction.BeginTransactionRecordAny
ValueAction.CommitTransactionRecordAny
ValueAction.NativeStatementCreates an action to execute a statement against a target.AnyAny
ValueAction.ReplaceCreates an action that replaces the content of a value with the specified value.AnyAny

Web Functions

FunctionDescriptionInputOutput
Web.DefaultProxyTextRecord
Web.SignForOAuth1TextBinary

Last update: December 23, 2024 | Contribute » | Contributors: Rick de Groot
© 2024 BI Gorilla. All rights reserved. Content derived from Microsoft documentation is property of Microsoft Corp.

2023-2024 © BI Gorilla. All rights are reserved. Information from Microsoft docs is property of Microsoft Corp. | Privacy Policy