Wondering what’s next for npm?Check out our public roadmap! »

    @cathalnoonan/xrm-webresource-uploader
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.1 • Public • Published

    XRM WebResource Uploader

    Function to deploy web resources to the specified solution in Dynamics 365 / Power Platform from node js

    Example

    const path = require('path');
    const { uploadWebResources, XrmClientSecretAuthService } = require('@cathalnoonan/xrm-webresource-uploader');
    
    (async function () {
    
        await uploadWebResources({
            apiVersion: 'v9.1',
            deployFolder: path.resolve(__dirname, 'dist'),
            authService: new XrmClientSecretAuthService({
                clientId: '<your client id>',
                clientSecret: '<your client secret>',
                tenantId: '<your tenant id>',
                environmentUrl: 'https://your-environment.crm4.dynamics.com',
                tokenTolerance: 60
            }),
            soltionName: '<your soultion unique name>',
            includeSourceMaps: true,
        })
    }()) 

    Install

    npm i @cathalnoonan/xrm-webresource-uploader

    DownloadsWeekly Downloads

    2

    Version

    0.0.1

    License

    MIT

    Unpacked Size

    68.4 kB

    Total Files

    25

    Last publish

    Collaborators

    • avatar