Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Element option in FormXML vs Literal View

Options
Parasofttoudaya
Parasofttoudaya Posts: 232 ✭✭

Hi Team

There is an option for Element in Form XML View "Use Data Source: exclude with empty string:", this helps to set to empty when there is no data available for this element in data source.

Now whats the problem is changing to literal view (to make some updates save ) and coming back to Form XML view is clearing this option. Again we have to set this option, we have around 100+ elements to be updates and its taking long time to update it.

is there any option or work around?

Note: Reason behind this, This option is not set anywhere other than the FormXML scope :(

Regards
Udaya

Comments

  • Parasofttoudaya
    Parasofttoudaya Posts: 232 ✭✭
    Options

    @benken_parasoft @jakubiak @OmarR
    Any option from your end?

  • jakubiak
    jakubiak Posts: 801 admin
    Options

    Unfortunately the "exclude with empty string" setting does not persist when switching from Form XML to Literal and then back. Are you able to make the changes you need to make in Form XML so you don't have to switch to Literal?

  • Parasofttoudaya
    Parasofttoudaya Posts: 232 ✭✭
    edited May 2019
    Options

    Adding bulk xml is not possible.
    Moving the element from one location to another is a big task. (No drag and drop is available)
    Removing namespace from parent node is removing the element level namespace tag in all the child nodes. This is what big issue for my current situation.

    And updating is not possible for 4000 5000 lines of xml :(

  • Parasofttoudaya
    Parasofttoudaya Posts: 232 ✭✭
    Options

    we have 200 element configured in the way that this option to respond the xml, also there is a situation i need to another 300 element to be added. Any work around? copy paste and store or something?