Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / R

Export case360 Application Files using R

0.00/5 (No votes)
8 Feb 2016CPOL 6K  
Autodeploy case36 using R

Introduction

Manual deployments is an annoyance to many case360 developers, this is a way to export the application using R. Although R was not designed with this in mind, it's a tad simpler and allows for more automation than just using dos batch scripts as was done here.

Using the Code

Change the names of the application to suit your setup:

//
applications <- c("System", "Application2", "Application3")

c360Download <- function(x) {
  encoded <-  base64enc::base64encode(charToRaw(x))
  exportURL <- paste0("https://serverName/sonora/ImportExport?op=export&applicationName=", encoded)
  destFileName <- paste0(x, ".xml")
  download.file(exportURL, destFileName)
}

sapply(applications, c360Download)

//

History

  • 9th February, 2016: Initial version

 

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)