Tfenn

How to import xml to a specific AF Element path ?

Discussion created by Tfenn on Jul 11, 2012
Latest reply on Sep 8, 2014 by IKovalchuk

I'm working with a partial AF xml and want to use importxml to a import at a named existing specific element within my database.

 

I know the path to the element such as \\piserver\database\element1\elementwhereinsertisneeded

 

I'm succesfully using this statement below to import at the root element1 by default but I'm new to AFSDK and think there is a way to set the import object to my specific elementwheretheinsertisneed.

myPISystem.ImportXml(myPISystem,

 

 

PIImportMode.AllowCreate|PIImportMode.AutoCheckIn, myFilename );

 

Thanks in advance

Outcomes