Data360 Analyze

 View Only
  • 1.  analyzeCLI import run property set using output of CLI Export

    Posted 03-07-2022 09:20

    The output of analyzeCLI "runPropertySets -pj" does not escape the quote characters. However, the import function, "runPropertySets -c" requires escaped quotes in order to work. This means analyzeCLI can't use its own output as-is, unless I am missing something.

    Is there an option to handle this, or do I need to programmatically escape the quotes myself?



  • 2.  RE: analyzeCLI import run property set using output of CLI Export

    Employee
    Posted 03-16-2022 08:58

    Hi Lyle,

    I am not aware of an option to escape the JSON data output by the list run property set command. I have forwarded your request on to our engineering team for comment.

    In my tests the quote characters in the JSON snippet for the Run Property Sets are not escaped in the data output by the run property set list command - and, as you state, the create/replace run property set command expects the quote characters in the JSON snippet to be escaped.

    As an aside, if the value of a run property set includes quote characters, the quote characters are being escaped in the output of the list command.

    Regards,

    Adrian