Pages

Friday, February 25, 2011

Command Line Export/Import Biar File

Langkah-langkah untuk Export/Import file Biar lewat command line :

1. Buat file xxx.properties ke dalam direktori C:\Program Files\Business Objects\Common\4.0\java\lib
 
   Contoh :
   Buat File Myproperties.properties dgn isi sebagai berikut :

   #This file exports a single report
   # Remember to include indexed properties with your query!
   # The more indexed properties, the better!
   exportBiarLocation=C:/CR.biar
   action=exportXML
   userName=Administrator
   password=
   CMS=localhost:6400
   authentication=secEnterprise
   exportDependencies=false
   includeSecurity=true
   exportQuery1= select * from ci_Infoobjects where si_kind IN ('Webi', 'CrystalReport', 'Publication', 'Word', 'Pdf', 'Excel', 'DiskUnmanaged', 'Smtp', 'Folder', 'FavoritesFolder', 'Inbox')
   exportQuery2= select * from ci_appobjects
   exportQuery3= select * from ci_systemobjects where si_kind NOT IN ('Connection', 'Server', 'ServerGroup')
   exportQueriesTotal=3

2. Jalankan lewat command prompt
   java -jar biarengine.jar Myproperties.properties

Sumber : BusinessObjects Enterprise Administrator's Guide Chapter 9

1 comment:

  1. Mantap gan postingannya, keep sharing ya.. heheh

    ReplyDelete