Skip to Content
avatar image
Former Member

Exporting a Business Object Entity says success. But not able to find the exported file.

I have been working on a similar script , as we worked for promotion, for the exporting of the entity which is for back up. I have attached the script of it.

I have the following questions.

1) While trying to export the query , the script asks for LCMBIAR password , unless it is included in the script with the hardcoded value “Password1”. Is that the correct way?

2) After the execution of the script, it says successfully executed without errors but I am not able to find the backed up file in the mentioned path. What is the mistake I am making here?

3) In the exportLocation value, if I am giving the path without .lcmbiar filename, it automatically assigns the name in a particular format and throws File not found error. But if the value is given with any name or an asterisk symbol (ex Sample.lcmbiar or *.lcmbiar) query runs successfully. So my doubt here is if we import this file again what name will the entity get ?

action=export
LCM_CMS=Server Name
LCM_userName=administrator
LCM_password=PW
LCM_authentication=secEnterprise
Source_CMS=Server Name
Source_userName=administrator
Source_password=PW
Source_authentication=secEnterprise
exportQuery1=select * from ci_Infoobjects where si_cuid='FnerKktFQAgABjIAAJAL1loBABWi2hW'
exportLocation=C:\Users\Default\Desktop\*.lcmbiar---->3rd point
includeSecurity=true
includeDependencies=true
lcmbiarpassword=Password1----> 1st Point
stacktrace=true
consoleLog=true
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Jul 05, 2017 at 02:33 PM

    1. yes. you have to provide the password explicitly. Or you can just comment out this option and your lcmbiar fie will be without password. See Admin guide for all options explanation

    2/3 you cannot use *.lcmbiar in the export location. Again - see the Admin guide for details and sample properties file.
    Make sure the destination you provide is accessible for the user which runs the script.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 20, 2017 at 02:17 AM

    Yes. After giving the password option it works. Thanks @Denis! I have another question. PMT is capable of doing promote , export and ROLLBACK. Is the Command Line interface also capable of doing the rollback option. In the admin guide I was not able to find it out.

    So is there any way to rollback using the CLI method?

    Add comment
    10|10000 characters needed characters exceeded