Jump to content
We've recently updated our Privacy Statement, available here ×

Different behavior when importing in UI and command line


dja248

Recommended Posts

Hi, this is with Jasper Server 5.1.  When logged in as a superuser, if import is done in the UI (Manage > Server Settings > Import) content is imported correctly.

 

However, if I import the same zipfile from the command line using a command like this the content is placed in a different location in the repository:

js-ant import -DimportFile=...mycontent.zip -DimportArgs="--update"

 

From the command line, the content ends up being imported down below an organization.  My guess is that since the superuser doesn't have an organization the imported content is placed at a higher level in the repo.  

 

My question is how to use js-ant import to import content without that content being placed below an organization?  Is there a way with js-ant import to specify a username who is doing the importing?  Thank you.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

To clarify, content imported as a superuser using Manage > Server Settings > Import resides at: root | Public.

 

Content imported using js-ant import resides at: root | Organizations | Organization | public_IMPORTED | Public.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...