Forum Stats

  • 3,875,547 Users
  • 2,266,945 Discussions
  • 7,912,244 Comments

Discussions

Import using eulapi removes content from EUL

tootricky
tootricky Member Posts: 26 Blue Ribbon
edited Aug 1, 2016 7:22AM in Discoverer
We are looking to use eulapi to automate the import of EEX files. While trying to decide on the best process I have been trying a few things out but I have been having problems successfully performing an import using eulapi. I issued the following command to create the EEX:

eulapi -connect EUL_US/[email protected] \
-export $HOME/Procurement.eex \
-business_area_and_contents Procurement \
-business_area_and_contents "Accounts Payable" \
-log $HOME/Procurement_exp.log

and the following to perform the import:

eulapi -connect EUL_US/[email protected] \
-import_rename_mode refresh -auto_refresh \
-identifier -preserve_workbook_owner \
-import Procurement.eex \
-log $HOME/Procurement_imp.log

The problem I have is that any items referenced in the EEX are removed from the EUL when the import completes rather than being updated. Has anyone come across this type of issue before? Any assistance gratefully received.

Thanks,
Nic

Best Answer

  • tootricky
    tootricky Member Posts: 26 Blue Ribbon
    Answer ✓
    Hi Rod,

    turns out the issue is because we have an apps mode EUL and EUL_US is not an apps user. In this case the -auto_refresh switch is leading to the objects being dropped as the import is unable to access the apps objects they are based on. If we run the script without the -auto_refresh switch then the import works fine.

    Thanks,
    Nic

Answers

  • Rod West
    Rod West Member Posts: 4,025 Gold Trophy
    Hi,

    Not user what is happening here. Are you sure that problem you are seeing is not because folders are being orphaned?

    Rod West
  • tootricky
    tootricky Member Posts: 26 Blue Ribbon
    Answer ✓
    Hi Rod,

    turns out the issue is because we have an apps mode EUL and EUL_US is not an apps user. In this case the -auto_refresh switch is leading to the objects being dropped as the import is unable to access the apps objects they are based on. If we run the script without the -auto_refresh switch then the import works fine.

    Thanks,
    Nic
This discussion has been closed.