I was thinking that too but then it could as you have pointed out still be
possible by stripping the body of the XM, appending additional content and
then sticking it in there.

 

Joe

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of LJ LongWing
Sent: Wednesday, August 12, 2015 12:17 PM
To: [email protected]
Subject: Re: Export definitions options ==> Bug or feature??

 

** 

Joe,

Consider it a feature :)....

 

First line of an XML def export is

 

<?xml version="1.0" encoding="utf-8"?><root>

 

If appending more to the end, you can't add another <?xml in the middle
because you feel like it, so you can't just 'append' the same way to an XML
as you do to a def....to append to an XML you would need to not put the same
first line in what you are appending, and you would need to edit the
original file and pull off the last line of '</root>'...whereas when doing
an append for regular def, you can just add things to the end...

 

So....while none of this is saying that it couldn't be overcome and do
appends on XML....it's not as straight forward and easy as def...so I guess
they chose to design it this way, which makes it a feature :)

 

On Wed, Aug 12, 2015 at 10:07 AM Joe D'Souza <[email protected]> wrote:

** 

If a feature I wonder what the benefit of it might be as I do not see one.
Which makes me think it's a bug.

 

If you select workflow objects to export, and select the export type as
.DEF, all is good. You can export your objects & create the export file and
then if you missed exporting some just select those, export again, and you
get Append and Overwrite as two modes in which you can export so you can
Append to your existing file. HOWEVER, if you choose to export your
definitions as an XML, and later choose to export some more, you do not get
an Append option. So your only option is to select all the objects you want
to including what you missed, and then Overwrite.

 

Is this a bug? Or "claimed" as a feature? If a feature, what is the benefit
of this design?

 

I noticed this on 8.1.2 but something tells me it might have been a
pre-existing bug or feature since the inception of export formats as .xml.

 

Cheers

 

Joe

_ARSlist: "Where the Answers Are" and have been for 20 years_ 

_ARSlist: "Where the Answers Are" and have been for 20 years_ 


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to