Print Page | Close Window

XML Data

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2009
Forum Discription: For .NET 3.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3669
Printed Date: 20-Nov-2019 at 9:01am


Topic: XML Data
Posted By: gregweb
Subject: XML Data
Date Posted: 26-Sep-2012 at 10:48am
Scenerio: I have an app using the usual DevForce entities which covers about 95% of the data needs. For the last bit, I need to be able to have the end user define some data structure.

For example, lets say the end user want to extend the Customer Entity with a number of fields such as Int1, Int2, String1 and String2.

What I am thinking of doing is creating a related entity, say FreeFormEntity, which has a link to the Customer entity, and then one field of XML type which holds the extra data as xml.

Then I have a Form which is dynamically created based off of the xml in the field maybe based on the SL DataForm.

Am wondering if you guys have run accross this type of requirement and what you came up with that was most workable.

Greg



Replies:
Posted By: sbelini
Date Posted: 01-Oct-2012 at 11:59am
Hi Greg,
 
We haven't seem such request, but it seems feasible.
I came across this article about creating forms dynamically: http://stackoverflow.com/questions/4077318/loading-xaml-xml-through-runtime - http://stackoverflow.com/questions/4077318/loading-xaml-xml-through-runtime .
 
I hope this gives you a headstart.
 
Silvio.


Posted By: gregweb
Date Posted: 02-Oct-2012 at 6:20am
OK, thanks Silvio!

Greg



Print Page | Close Window