Skip to content

emwsc/WebResourcePublisher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is plugin that allows you to automatically publish web resources to Dynamics 365. It's useful when you compile your js code with webpack and want to upload and publish changes automatically into Dynamics 365. How it works:

  • Build project WebResourcePublisher in Visual Studio
  • Import publish method from dynamics.js into your build pipeline script
  • Call publish like:
    const publish = require("./dynamics").publish;
    publish(process.cwd());
    
  • In project root folder (near package.json) create publisher.json
{
  "publisherToolPath": "Path to exe WebResourcePublisher",
  "buildPath": "Full path to build folder",
  "connectionString": "Dynamics 365 connection string",
  "mapping": [
    {
      "fileName": "Filename in build folder",
      "webResourceName": "Web resource name"
    }
  ]
}

About

Plugin to publish web resources to Dynamics 365 from node js.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published