TreeINFO-For-M365 documentation
    Preparing search index...

    Interface Utils

    Utility functions available on tisa.utils for both form and list custom scripts.

    interface Utils {
        addDialog: AddDialogType;
        addToast: AddToastType;
        httpRequest: HttpRequest<any>;
        runWithLoader: RunWithLoaderType;
        translation: TFunction<"translation", undefined>;
    }
    Index

    Properties

    addDialog: AddDialogType
    addToast: AddToastType
    httpRequest: HttpRequest<any>
    runWithLoader: RunWithLoaderType
    translation: TFunction<"translation", undefined>

    Example:

    const { translation } = tisa.utils;
    console.log(translation("translation.key"));