Forum Stats

  • 3,815,370 Users
  • 2,259,009 Discussions
  • 7,893,054 Comments

Discussions

Data Control/Entity/View Object to XML Transformation

848013
848013 Member Posts: 294 Bronze Badge

Hi

I am on 12.2.1.4. I have a view object based on an entity object. I dragged and dropped this view object as a table on my page

I have an XML Payload on my page as an iterator. this is needed for my requirement. I want to update this XML payload with the values in the view object.

Case 1: ADF table has 3 rows and my XML payload has 3 rows. so i used the XML iterator inside table iterator and updated the values

Case 2: Added a new row in my page. Now i have 4 rows in my ADF table and 3 rows in XML payload. I am able to update the first 3 rows. but how can i add a new row to my XML iterator and add/update 4th record?

Thanks

Lakshmi

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,270 Red Diamond

    I'm not sure what you mean by XML iterator, but if it is an iterator you should be able to use iterator.createRow() to create a new row and add the values from your 4th row to it.


    Timo