Uses a published file from GitHub to build a function to import Modern Dashboards.

See Import Modern Dashboard for a more rudimentary solution.
Relies on $SwisConnection
variable as defined in Practical Examples: Authenticate.
Watch Practical Examples Using the Orion API to see the step-by-step process of this and other scripts for the SolarWinds Platform API.