Skip to main content
Dynamics 365 general forum
Suggested answer

Kingswaysoft SSIS data migration passing dynamic parameters in URL

editSubscribe (0) ShareShare
ReportReport
Posted on by 5

Hi Folks,

     I am trying a scenario where i need to migrate a huge xml data from a api endpoint . I want to change the start and end parameters dynamically to fetch the data .

Eg 

1st iteration increment  by 4

https:// xyz.com ? start =1 & end = 5

Fetch data and insert into CRM

2nd iteration increment  by 4

https:// xyz.com ? start =6 & end = 10

Fetch data and insert into CRM

3rd iteration increment  by 4

https:// xyz.com ? start =11 & end = 15

Fetch data and insert into CRM

Can someone tell how can this be achieved ? 

Also in the XML payload i have the total number of records : eg

<Totalrecords> 100 </TotalRecords>

Can i somehow read this record and  adjust the start & end parameters by doing incremental batches of 5 or 10 or 15  etc

I am vey new to this so any pointer or guidance is much appreciated.

      

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,305 Super User on at
    RE: Kingswaysoft SSIS data migration passing dynamic parameters in URL

    Hello,

    I would recommend using For Loop to implement the cycle - www.mssqltips.com/.../

    In regards to XML payload, I would recommend using XML Extract component of KingsWay soft since you use is - www.kingswaysoft.com/.../xml-extract

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,068 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,591 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans