Book a Demo

Author Topic: Package clone API  (Read 5004 times)

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Package clone API
« on: April 11, 2016, 05:53:38 pm »
Hi,

Is it possible to use the Clone API (or similar API),
that will not clone the package on the same level, but put the cloned package in a different place?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Package clone API
« Reply #1 on: April 11, 2016, 06:01:12 pm »
Simply change the ParentID of the cloned package

Geert

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Re: Package clone API
« Reply #2 on: April 11, 2016, 06:51:03 pm »
Yes, I know that,

Let me reexplain:
My business case is that the package that I am cloning from is in Read\Write mode.
and I want to change it to ReadOnly mode.

The problem is that cloning can be done only in a Write mode state.
Is there an API that I can do it in one action Clone and put the ParentId together?

Tzafrir

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Package clone API
« Reply #3 on: April 11, 2016, 07:05:52 pm »
No there isn't

Geert

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Re: Package clone API
« Reply #4 on: April 11, 2016, 07:18:32 pm »
Ok,
Thanks