Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Create Dynamic Field

$
0
0

Hi,

 

I have a requirement for File to proxy scenario.

 

Sample File structure -

 

Name,Address,Salary,EmpID,Additional

ABC,KOL,10000,1234,ETC

PQR,BLR,20000,0987,ETC

 

Here fields are not fixed in the file means its not always fixed that Name will be the 1st field in the file ; it can be last one also.

Due to this I have created the Data Type in the Sender side like that -

 

Record

   Input

 

Here, I am inserting all the field of the file in the single field Input. I am separating the fields in an UDF in the Message mapping.

 

Now the problem is that some other fields can appear  in the file also but no of fields will always be 5. The file can be like that also

 

Address,Salary,EmpID,Additional,Tax

KOL,10000,1234,ETC,2%

BLR,20000,0987,ETC,3%

 

Now my question is -

 

Is it possible to create field in the target side dynamically means if 'Address' field comes in the field then I want to create a field in the target side with the name 'Address' .

If possible then how?


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>