Return domain description from RelationshipQueryTask
Hello,
I have a feature set obtained from a RelationshipQueryTask folowed by a RelationshipResultToFeatureSet, but I can't seem teo get de description value form coded domain fields.
When I use FS(0).Attributes("field").tostring I get the code value.
When I use FS(0).Attributes("field.Name").tostring I get an error.
Thanks,
Patricia
0
-
Hi Patricia,
The featureset you get back won't have any of the domain information in it. Workflow does provide a Get Coded Domains activity though that we can use to get that information. Here's an example showing information that the featureset contains, and a method that will let you get the description from the coded domain. The second Alert's Text property, whcih is cut off in the image reads domainDictionary(featureset1.Features(0).Attributes("domainfield"))
Hope that helps!
Amanda0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar