Custom Attribute with JavaScript

M
Mattia
Gruppo Pam

Hi

is it possible to use the Custom Attribute in the script "JavaScript" ?

Thanks.

Regards,

4 years ago
Android
ANSWERS
K
KCMOD@SOTI
4 years ago

Hello Mattia,

Thank you for posting on SOTI Central!

The available custom attribute data types are: Boolean, Numeric, Text, Date and Enumerator.

Please take a look at the following article for more information on Custom Attributes:

Manage Custom Attributes (soti.net)

Please let me know if you have any other questions.

Regards,
Technical Support | SOTI Inc. |1.905.624.9828 | support@soti.net | www.soti.net

M
Mattia
4 years ago

Hi,

I have a numeric type custom attribute.

So how do I get the value with Java Script?

Thanks,

K
KCMOD@SOTI
4 years ago

Hello Mattia,

Thank you for your reply.

Custom Attributes are a Server side value. For a device to update a Custom Attribute it would need to send a command to the Management Service via Restful API call. This is currently not possible in JavaScript engine. Please feel free to create a case with our support to file a feature request for your use case.

RC
Raymond Chan
4 years ago

Despite my previous communications and feature-requests to different parties within Soti more than a year ago, there still seems to be no support for direct manipulation of custom attribbutes in the latest MobiControl javascript implementation, according to the latest online documentation from Soti.