batch edit web session HTML Control ID

batch edit web session HTML Control ID

avatar

the login form of synology NAS has changed and we would like to batch edit our sessions. but we can't find the settings when batch editing.
forum image
this is how it looks in a single sessionL

forum image

All Comments (3)

avatar

Hello perler,

this is possible with a Custom Powershell command:

$connection.Web.FormId = "login-form";
$connection.Web.UserNameControlId = "login_username";
$connection.Web.PasswordControlId = "login_password";
$connection.Web.SubmitControlId = "preview_submit";
$RDM.Save();

You'll find more samples here

Regards,
Min

avatar

jeez.. really? this will take longer then doing it manually. is there a reason why there's no frontend for this? (asking the devs..)

avatar

Hello perler,

it's not necessary to run it for every session - you can mark / select all your sessions and execute the command once - as a batch edit 😉

PS: I recommend to create a backup before in case anything goes wrong

Regards,
Min