Post by ifertig on Jun 26, 2019 14:46:29 GMT
Hi @all,
I'm looking for a way to make UI ++ smart for an SCCM task sequence. I work in a company with over 65 locations. The computers are named by there serial number and the location
(country, city & street) is maintained in the Active Directory.
Is there the option to display only certain cities in the GUI after selecting the country? And after selection also with the street names?
The time I builds up my OSDUIPP.conf as follows:
Thanks & Regards
I'm looking for a way to make UI ++ smart for an SCCM task sequence. I work in a company with over 65 locations. The computers are named by there serial number and the location
(country, city & street) is maintained in the Active Directory.
Is there the option to display only certain cities in the GUI after selecting the country? And after selection also with the street names?
The time I builds up my OSDUIPP.conf as follows:
?xml version="1.0" encoding="utf-8"?>
<UIpp Title="Some name" Icon="name.ico" Color="#004C98">
<Actions>
<Action Type="DefaultValues" />
<Action Type="Preflight" Title="Preflight checks" ShowBack="True" Color="#004C98">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' />
<Check Text="Not on battery" CheckCondition='"%XOnBattery%" = "False"' />
<Check Text="CPU Supports Windows 10" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' />
<Check Text="TPM enabled" CheckCondition='%XTPMEnabled% = True' />
</Action>
<Action Type="Input" Name="Country Choice" Title="Country Choice" ShowBack="True" Color="#004C98">
<ChoiceInput Variable="Country" Question="Please choose a final Country for this computer" Default="DE" DropDownSize="10" Required="True" >
<Choice Option="India" Value="IN"/>
<Choice Option="China" Value="CN"/>
<Choice Option="Indonesia" Value="ID"/>
<Choice Option="Thailand" Value="TH" />
<Choice Option="Singapur" Value="SG" />
<Choice Option="Vietnam" Value="VN" />
<Choice Option="Germany" Value="DE" />
.
.
.
</ChoiceInput>
</Action>
<Action Type="Input" Name="Location Choice" Title="Location Choice" ShowBack="True" Color="#004C98">
<ChoiceInput Variable="Location" Question="Please choose a final Location for this computer" Default="HAM" DropDownSize="10" Required="True" >
<Choice Option="Chennai" Value="MMA"/>
<Choice Option="Beijing" Value="BJS"/>
<Choice Option="Guangzhou" Value="CAN"/>
<Choice Option="Ningbo" Value="NGB" />
<Choice Option="Qiugdao" Value="TAO" />
<Choice Option="Shanghai" Value="SHA" />
<Choice Option="Shenzhen" Value="SZX" />
<Choice Option="Xiamen" Value="XMN" />
<Choice Option="Jarkarta" Value="JKT" />
<Choice Option="HongKong" Value="HKG" />
<Choice Option="Bangkok" Value="BKK" />
<Choice Option="Singapur" Value="QPG" />
<Choice Option="Ho Chi Minh Coty" Value="SGN" />
<Choice Option="Hamburg" Value="HAM" />
.
.
.
</ChoiceInput>
</Action>
<Action Type="TSVar" Name="PartSN">(Right("%XHWSerialNumber%",9))</Action>
<Action Type="TSVar" Name="OSDComputerName">%Country%%Location%%PartSN%</Action>
</Actions>
</UIpp>
<UIpp Title="Some name" Icon="name.ico" Color="#004C98">
<Actions>
<Action Type="DefaultValues" />
<Action Type="Preflight" Title="Preflight checks" ShowBack="True" Color="#004C98">
<Check Text="WLAN Disconnected" CheckCondition='"%XWLANDisconnected%" = "True"' />
<Check Text="Not on battery" CheckCondition='"%XOnBattery%" = "False"' />
<Check Text="CPU Supports Windows 10" CheckCondition='%XCPUPAE% AND %XCPUNX% AND %XCPUSSE2% = True' />
<Check Text="TPM enabled" CheckCondition='%XTPMEnabled% = True' />
</Action>
<Action Type="Input" Name="Country Choice" Title="Country Choice" ShowBack="True" Color="#004C98">
<ChoiceInput Variable="Country" Question="Please choose a final Country for this computer" Default="DE" DropDownSize="10" Required="True" >
<Choice Option="India" Value="IN"/>
<Choice Option="China" Value="CN"/>
<Choice Option="Indonesia" Value="ID"/>
<Choice Option="Thailand" Value="TH" />
<Choice Option="Singapur" Value="SG" />
<Choice Option="Vietnam" Value="VN" />
<Choice Option="Germany" Value="DE" />
.
.
.
</ChoiceInput>
</Action>
<Action Type="Input" Name="Location Choice" Title="Location Choice" ShowBack="True" Color="#004C98">
<ChoiceInput Variable="Location" Question="Please choose a final Location for this computer" Default="HAM" DropDownSize="10" Required="True" >
<Choice Option="Chennai" Value="MMA"/>
<Choice Option="Beijing" Value="BJS"/>
<Choice Option="Guangzhou" Value="CAN"/>
<Choice Option="Ningbo" Value="NGB" />
<Choice Option="Qiugdao" Value="TAO" />
<Choice Option="Shanghai" Value="SHA" />
<Choice Option="Shenzhen" Value="SZX" />
<Choice Option="Xiamen" Value="XMN" />
<Choice Option="Jarkarta" Value="JKT" />
<Choice Option="HongKong" Value="HKG" />
<Choice Option="Bangkok" Value="BKK" />
<Choice Option="Singapur" Value="QPG" />
<Choice Option="Ho Chi Minh Coty" Value="SGN" />
<Choice Option="Hamburg" Value="HAM" />
.
.
.
</ChoiceInput>
</Action>
<Action Type="TSVar" Name="PartSN">(Right("%XHWSerialNumber%",9))</Action>
<Action Type="TSVar" Name="OSDComputerName">%Country%%Location%%PartSN%</Action>
</Actions>
</UIpp>
Thanks & Regards