Skip to content

UDI & customsettings variable

Featured Replies

Hi,

I need some help on probably a configuration issue that I have between my UDI & customsettings.

My UDI has a customized Location pane for the user to select the country, site and OU the computer should be installed for. The default values for those 3 I have preset in the customsettings (see below pictures & ini) depending on the users gateway which shows fine in the UDI when it starts.

But now the problem is if I change any of the 3 values in the UDI it just won't take the new value, it will still use the preset one from customsettings.

I guess that I'm missing some vbs for my Location pane that removes the old value and sets somehow the new selected value?!

 

Can someone help me here?

 

image.png.5c0fc14c5189d71ed3d477bf2ccbf2af.png

XML content:

<p>Select country:</br>
<SELECT NAME="CS_Country" class=WideEdit language="vbscript">
	<option value="ES">Spain</option>
 	<option value="PT">Portugal</option>
</SELECT>
</p>

<p>Select site:</br>
<SELECT NAME="CS_Site" class=WideEdit language="vbscript">
	<option value="BAR">Barcelona</option>
	<option value="LIS">Lisbon</option>
</SELECT>
</p>

<p>Select OU country:</br>
<SELECT NAME="CS_OUCountry" class=WideEdit language="vbscript">
	<option value="Spain">Spain</option>
 	<option value="Portugal">Portugal</option>
</SELECT>

If e.g. preset Spain and I change it to Portugal, the installation will proceed with Spain as value. USDComputerName shows ESBAR..... instead of PTLIS.....

 

CustomSettings.ini

 

[Settings]
Priority=CS_Country,CS_Site,CS_OUCountry,Make,Model,DefaultGateway,Default
Properties=MyCustomProperty,CS_Country,CS_Site,CS_OUCountry

OSDComputerName=%CS_Country%%CS_Site%%SerialNumber%

[ESBAR]
CS_Country=ES
CS_Site=BAR
CS_OUCountry=Spain

 

Thanks already now for any input!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.