Post by jdamos on Oct 30, 2020 17:26:24 GMT
All,
I currently manage a 2 domain environment. I want to have UI++ to be setup to be able to determine which domain is chosen during the User Authentication screen and have that domain determine which locations are available to be chosen from at the next screen (kind of like an IF statement)
Is it possible to have a condition statement to limit location choices based on XAuthenticatedUserDomain? If not, how would I set this up?
Below is my current setup that is not working, instead it prompts domain1's locations and on the next screen, it prompts domain2's locations.
<Action Type="UserAuth" Title="User Authentication" MaxRetryCount="10" Group="Admin" GetGroups="True" ShowBack="True">
<Field Name="Domain" List="Domain1,Domain2" />
</Action>
<Action Type="Input" Name="LocationChoice" Title="System Location" CheckCondition='"XAuthenticatedUserDomain"="Domain1"' ShowBack="True" ShowCancel="True">
<ChoiceInput Variable="MyLocation" Question="Please select a location for this computer:" Required="True" >
<Choice Option="Location1" Value="L1"/>
<Choice Option="Location2" Value="L2"/>
<Choice Option="Location3" Value="L3"/>
</ChoiceInput>
</Action>
<Action Type="Input" Name="LocationChoice" CheckCondition='"XAuthenticatedUserDomain"="Domain2"' Title="System Location" ShowBack="True" ShowCancel="True">
<ChoiceInput Variable="MyLocation" Question="Please select a location for this computer:" Required="True" >
<Choice Option="Location4" Value="L4"/>
<Choice Option="Location5" Value="L5"/>
<Choice Option="Location6" Value="L6"/>
<Choice Option="Location7" Value="L7"/>
</ChoiceInput>
</Action>
I currently manage a 2 domain environment. I want to have UI++ to be setup to be able to determine which domain is chosen during the User Authentication screen and have that domain determine which locations are available to be chosen from at the next screen (kind of like an IF statement)
Is it possible to have a condition statement to limit location choices based on XAuthenticatedUserDomain? If not, how would I set this up?
Below is my current setup that is not working, instead it prompts domain1's locations and on the next screen, it prompts domain2's locations.
<Action Type="UserAuth" Title="User Authentication" MaxRetryCount="10" Group="Admin" GetGroups="True" ShowBack="True">
<Field Name="Domain" List="Domain1,Domain2" />
</Action>
<Action Type="Input" Name="LocationChoice" Title="System Location" CheckCondition='"XAuthenticatedUserDomain"="Domain1"' ShowBack="True" ShowCancel="True">
<ChoiceInput Variable="MyLocation" Question="Please select a location for this computer:" Required="True" >
<Choice Option="Location1" Value="L1"/>
<Choice Option="Location2" Value="L2"/>
<Choice Option="Location3" Value="L3"/>
</ChoiceInput>
</Action>
<Action Type="Input" Name="LocationChoice" CheckCondition='"XAuthenticatedUserDomain"="Domain2"' Title="System Location" ShowBack="True" ShowCancel="True">
<ChoiceInput Variable="MyLocation" Question="Please select a location for this computer:" Required="True" >
<Choice Option="Location4" Value="L4"/>
<Choice Option="Location5" Value="L5"/>
<Choice Option="Location6" Value="L6"/>
<Choice Option="Location7" Value="L7"/>
</ChoiceInput>
</Action>