Click here to Skip to main content
16,016,184 members
Articles / Programming Languages / R
Tip/Trick

Export case360 Application Files using R

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
8 Feb 2016CPOL 5.9K  
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)


Written By
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --