문제

8 필드라는 8 개의 필드가있는이 InfoPath 양식이 있습니다.

Field1
Field2
Field3
Field4
etc.
.

해당 필드에 중복 값을 가질 수 없도록 형식을 어떻게 확인해야합니까?

중앙 관리자에 액세스 할 수 없으므로 코드 뒤에는 코드 뒤에 사용할 수 없습니다. 샌드 박스 솔루션 솔루션은 너무 버그가 있으며 게시 할 때 임의의 오류를 계속받습니다.그래서 나는 코드가없는 솔루션을 찾고 있습니다.SharePoint Server 2010을 사용하고 있습니다.

감사합니다

도움이 되었습니까?

해결책 2

So I end up doing a full compare of all the possible combinations:

8 choose 2 = 28.

Thats a lot of rules. There is another limitation, one item cannot have more than 6 rules (or at least i thought so), looks like this limitation is only on the designer to overcome this limitation do the folloing:

In the Rule condition select expression and you can insert as many comparisiona as you want like:

. = ../my:Field2 or . = ../my:Field3 or . = ../my:Field4 ...etc

다른 팁

If you're wanting to just compare values to make sure there are no duplicates among them, you could create a validation rule on each of the fields that compares the values of each of the affected fields every time the value changes, and throws a validation error if duplicates are found.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top