Jump to content


  • 0
Strikers

UDI & customsettings variable

Question

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!!

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.