Can UniquenessValidationXPath access other form elements?
I'm trying to implement some validation in a create resource RCDC. The resource type "Team" must have a unique name, but only in the country being specified for it, i.e. NOT globally. We have team names duplicated, but distinct by country. Is it possible to contruct a UniquenessValidationXPath value checks the name and the country? This is for a new resource, so I can't check an attribute value. Here's what I have at the moment: <my:Property my:Name="UniquenessValidationXPath" my:Value="/Team[DisplayName='%VALUE%']"/> Here's what I'd like to see: <my:Property my:Name="UniquenessValidationXPath" my:Value="/Team[DisplayName='%VALUE%' and countryISOCode='%FORM_countryISOCode%']"/>
November 18th, 2010 12:21pm

use %Attribute_countryISOCode%
Free Windows Admin Tool Kit Click here and download it now
November 18th, 2010 2:14pm

Even if the entity hasn't been persisted? I'll give it a go thanks Evgeniy.
November 19th, 2010 5:05am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics