Skip to main content

Dynamic GUI Editor

The Dynamic GUI Editor is a tool of the SCCM Manager. It is used to configure the UI for certain plugins. These include the Client Creator Plugin, Reset Computer Plugin and the Custom Inventory Plugin
The GUI will be is safed in the SCCM Manager database

Table of contents
Update






Update

The Dynamic GUI Editor is supplied with the SCCM Manager installation. When installing a newer version, only the files need to be exchanged.

The Dynamic Gui Editor files are by default located , under "C:\Program Files (x86)\smcTeam\SCCM Manager\Tools\DynamicGuiEditor".

image.png

The existing files must be replaced with the new files.

image.png

After the files have been exchanged, a Microsoft Defender message may appear, press the “Run Anyway” button

Configuration

The configurations should ideally not be changed and are set correctly by default.

image.png

image.png

Value Explanation Default Value
SqlConnectionString

This ConnectionString is used to establish the connection to the SCCM Manager database.

Server=localhost;Database=SccmManager;Trusted_Connection=True;TrustServerCertificate=True;
InstanceQuery

This Query is used to determine the different Instances in the SCCM Manager database.

SELECT DISTINCT Component, Name, InstanceName FROM ApplicationVariables WHERE Type = 'Dxml'
XmlDefinitionQuery

This Query is used to get the different Xml from the SCCM Manager database.

SELECT Value FROM ApplicationVariables WHERE Component = '{COMPONENT}' AND Name = '{NAME}' AND InstanceName = '{INSTANCE}'

How to use the Dynamic GUI Editor

 

 

Loading Files

 

ComboBoxes

ComboBoxes can be added via the "Add" button.
image.png

 image.png

TextBoxesThe new ComboBox is created at the bottom.

 image.png

Rules

  1. Load
  2. aXmlfroma has
    Name Explanation
    Name The filename orused frominternaly by the database,Dynamic GUI Editor

    Friendly Name

    The name that will be shown to loadthe formuser
    EnabledDetermines if the database,element will be shown in the Pluginuser andinterface Instance
    MandatoryDetermines if the element needs to be selectedfilled first.
    out
    Read OnlyDetermines if the element can be edited
    InternalDetermines if the value will be created as a computer variables in SCCM
    DescriptionThe text will be shown as tool tip when hovered over the element

    The ComboBox can be edited in the "General" tab. 

    image.png

    ComboBox Items can have Rules assigned to them,

    image.png

    In this example the "OsdVariablesXml"ComboBox forItem has a rule that will define the selectable Item from the ComboBox "ClientCreatorPlugin"Location".

    RuleExplanation
    ProcessType
    Action
    TargetInstanceThe UI element that is target by the selection of the item, in tis case another ComboBox Named "Location". 
    TargetItemFilterUsed to limit the selection of antoher ComboBox, in this Example the ComboBox "Location", will only display the Items "Italy" and "Germany".
    TargetItemInstance
    TargetItemValue

     

    TextBoxes

    TextBoxes can be edited.
    added

    image.png

  3. Withvia the "Add" buttonbutton.

    image.png

    The new TextBox is created at the bottom.

    image.png

    NameExplanation
    NameThe name used internaly by the Dynamic GUI Editor

    Friendly Name

    The name that will be shown to the user
    EnabledDetermines if the element will be shown in the user interface 
    MandatoryDetermines if the element needs to be filled out
    Read OnlyDetermines if the element can be edited
    InternalDetermines if the value will be created as a ComboBoxcomputer orvariables ain SCCM
    DescriptionThe text will be shown as tool tip when hovered over the element

    The TextBox can be addededited toin the user"General" interface.tab. 

    image.pngimage.png

  4. TextBoxes can be assigned Rules.

    image.png

    In this example the TextBox "DigitalAlphaNummeric" has a rule that will give the TextBox "OSDComputerName" its value.

    RuleExplanation
    ProcessType
    Action
    TargetInstanceThe Element that will be targeted by the rule, in this case the TextBox "OSDComputerName".
    Target Value

    The TargetValue is the value that be will written in the target TextBox, in this Case it will be the combination from the "Location" and "Type" ComboBoxes and the value of the "DigitalAlphanummeric" TextBox.

    Seperated by { }.