I've tried to look through the help file for AF SDK, but i can't see how you would create elements at a specific level in an AF Hierarchy either using a path or by specifying a parent element. Any suggestions?
There are two steps you need to do:
Don't forget to check in in order to save the results!
Here is an example:
AFElement parentElement = AFObject.FindObject(elementPath) as AFElement;
AFElement childElement = parentElement.Elements.Add("childElement");
Hope it helps!
Thank you Marcos Vainer Loeff, that did exactly what i needed. I have a lot to learn about both subjects here, c# and AF SDK, but now that i'm diving into it more, it's making more sense. At first i was confused at the checkin method you were using, and why not just use the empty overflow, but i can see that this way you only checkin what you modified, which is much cleaner, probably why you use it.
Retrieving data ...