Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
First of all, great package, it's exactly what I needed to store data against a member.
Second, I need to access that data programmatically. So if I load a member and the MultiType property like so:
var member = uQuery.GetMember(userId);var memberSystemGoals = member.GetProperty<_4Ben.DataTypes.MultiType.MultiType>("systemGoals");
How do I then load the data in the items and access the values or each property?
Thanks,Greg.
Hi Greg,
The MultiType stores an XML fragment, so you can do:
XmlDocument xmlDocument = uQuery.GetMember(123).GetProperty<XmlDocument>("systemGoals");
HTH,
Hendy
It does indeed help. I thought there may have been a GetProperty method or Items property I was missing.
Cheers,Greg.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How would I get the values programmatically?
Hi,
First of all, great package, it's exactly what I needed to store data against a member.
Second, I need to access that data programmatically. So if I load a member and the MultiType property like so:
How do I then load the data in the items and access the values or each property?
Thanks,
Greg.
Hi Greg,
The MultiType stores an XML fragment, so you can do:
HTH,
Hendy
It does indeed help. I thought there may have been a GetProperty method or Items property I was missing.
Cheers,
Greg.
is working on a reply...