IOS - Custom Attribut - Script

M
mun166
Manor AG

I wanted to add a custom attribute to an app policy under "advanced configuration" - managed app config - application configuration. Unfortunately, this does not work.

Does this work at all, if so, what am I doing wrong?

3 years ago
iOS
ANSWERS
RS
Rafael Schäfer
3 years ago

in general not sure if custom attributes work here but they have to be called like that:

%MCCustomData:IP-HAUS%
K
KCMOD@SOTI
3 years ago

Hello Mun,

Thank you for posting on SOTI Central!

Please confirm the following:

-What error are you getting (screenshot would be beneficial)?

-Is the device supervised?

-Have you tried using macro provided by Rafael, did it help to resolve your issue?

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

RC
Raymond Chan Diamond Contributor
3 years ago

Firstly, custom attribute macro is not referenced with prefix  "MCCustomData:" as Rafael said, but should be referenced with prefix "CustomAttr:" instead.

Secondly,  standard MobiControl macros that are supported for iOS/iPadOS AppConfig parameters  are listed in the latest on-line documentation at

https://soti.net/mc/help/v15.6/en/console/reference/dialogs/rules/appcatalog/apple/appcatalog_addedit_advanced_ios.html.

There doesn't seem to have any support for custom attribute macro.

RS
Rafael Schäfer
3 years ago

Maybe i mixed up custom data and custom attribute, sorry