Jump to content
The TIBCO Platform is a real-time, composable data platform that will bring together an evolving set of your TIBCO solutions - and it's available now! See more information here ×

Using XML as Source, Scribe only reads first record in file.


Dina Kovar

Recommended Posts

Hi,

I am using XML as a source file to update Dynamics CRM. My XML Connector is working, finding the XML files. However, it is only reading and inserting the first record in the xml file. I have the Data Schema.xsd file that is being read correctly. Shouldn't I be able to create multiple records in Dynamics from a single XML file This is a one to many relationship - one Registration_data label contains mutliple Registration_record labels. I want each Registration_record to be inserted as it's own record into Dynamics. I can upload sample xml files if requested.

 

Any help would be greatly appreciated.

Thanks,

Dina

Link to comment
Share on other sites

Hi, have you tried the includes tab in the Query block to configure the 1 to many relationship from your XMLfile that you need to read

Then select the entity from the list in the general tab of the Query block.

You could also try adding for each child block within your for each block to cycle thru all your children after you selected in the includes tab and relationship.

Link to comment
Share on other sites

Thanks for the suggestions.  I had done the first one (the includes tab).  

 

I tried the Child Block.  It is recognizing a grandchild, but not the child. It seems to be treating the first child block as a parent block, and ignores all the other child blocks at the same level. I am working with Scribe support on this.  

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...