Comments (1)
Hi there, you use the 'Groups and Toggles' feature to do this. The dropdown with the computer type is the toggle, and you disable/enable other items based on that toggle using the '' element. There is how-to videos on this feature on youtube: part 1 & part 2
If this lot doesn't help or you get stuck contact me via the 20road.com contact page
Here is an example config that should hopefully get you started:
<TsGui LiveData="TRUE">
<Height>250</Height>
<Width>450</Width>
<HardwareEval />
<Heading>
<Title>TsGui</Title>
<Text>Task Sequence GUI example config</Text>
</Heading>
<Page>
<Row>
<Column>
<Formatting>
<LeftCellWidth>110</LeftCellWidth>
<RightCellWidth>160</RightCellWidth>
</Formatting>
<GuiOption Type="ComputerName" />
<GuiOption Type="DropDownList">
<Variable>VAR_DeviceType</Variable>
<Label>Device type:</Label>
<SetValue>
<Query Type="IfElse">
<IF>
<Source>
<Query Type="LinkTo">TsGui_IsVirtualMachine</Query>
</Source>
<Ruleset Type="AND">
<Rule Type="Equals">TRUE</Rule>
</Ruleset>
<Result>
<Value>VM</Value>
</Result>
</IF>
<ELSE>
<Value>Laptop</Value>
</ELSE>
</Query>
</SetValue>
<Option>
<Text>Laptop</Text>
<Value>Laptop</Value>
</Option>
<Option>
<Text>Desktop</Text>
<Value>Desktop</Value>
</Option>
<Option>
<Toggle Group="Group_NotVM" Invert="TRUE"/>
<Text>Virtual Machine</Text>
<Value>VM</Value>
</Option>
</GuiOption>
<GuiOption Type="DropDownList">
<Group>Group_NotVM</Group>
<Variable>VAR_Location</Variable>
<Label>Location:</Label>
<SetValue>
<Value>NZ</Value>
</SetValue>
<Option>
<Text>NZ</Text>
<Value>NZ</Value>
</Option>
<Option>
<Text>Aus</Text>
<Value>Aus</Value>
</Option>
</GuiOption>
<GuiOption Type="DropDownList">
<Group>Group_NotVM</Group>
<Variable>VAR_Department</Variable>
<Label>Department:</Label>
<SetValue>
<Value>LAB</Value>
</SetValue>
<Option>
<Text>LAB</Text>
<Value>LAB</Value>
</Option>
<Option>
<Text>HR</Text>
<Value>HR</Value>
</Option>
<Option>
<Text>IT</Text>
<Value>IT</Value>
</Option>
</GuiOption>
</Column>
<Column>
<Formatting>
<LeftCellWidth>110</LeftCellWidth>
<RightCellWidth>40</RightCellWidth>
</Formatting>
<GuiOption Type="CheckBox">
<Variable>MsOffice</Variable>
<Label>Microsoft Office</Label>
<HAlign>right</HAlign>
</GuiOption>
<GuiOption Type="CheckBox">
<Variable>MsVisio</Variable>
<Label>Microsoft Visio</Label>
<HAlign>right</HAlign>
</GuiOption>
<GuiOption Type="CheckBox">
<Variable>MsProject</Variable>
<Label>Microsoft Project</Label>
<HAlign>right</HAlign>
</GuiOption>
</Column>
</Row>
</Page>
</TsGui>
from tsgui.
Related Issues (20)
- Failure during OSD in WinPE HOT 2
- Win32_TPM HOT 1
- Application not captured in Remote sessions. HOT 5
- Saving Active Directory credentials HOT 3
- Add checkboxes to treeview HOT 1
- Dropdown list and WMI queries with NULL results HOT 4
- Validation message persists after the GuiOption loose its focus HOT 4
- Question - Applications selection HOT 2
- text Validation inside disabled toggle group HOT 2
- Vertical Alignment for ROW HOT 2
- Reading available apps from task sequences HOT 2
- Extending WMI query capabilities HOT 3
- Link Checkbox to Option to Name Computer HOT 1
- ADK 22H2 Issues HOT 3
- Hide or disable GuiOption based on a variable. HOT 2
- Entered value to populate another field HOT 1
- Button Positioning in TsGui HOT 3
- Unable to hide a page from a NoUIOption HOT 2
- TSGui Variable Typo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tsgui.