Customize Device Naming Macros

SA
Sterling Albury
Spire Health

Hello,

I've been looking around the forums for a solution but haven't really found anything that describes what I want to do despite the many questions about the device naming macros. The main thing I want to do is update the %AUTONUM% macro to start at a given number. Other things could maybe be that I want the %SERIALNUM% to only show the last 4 characters/digits of the serial number or something. We were told that the macros could be customized somehow but I can't find any info on how to do it or what the limits are or anything. I know the AUTONUM starting at a specific number is the main one we want to do.

If it is possible to customer these macros, I would appreciate any info or any pointers to find that info.

Thanks,

Sterling

6 years ago
Android
ANSWERS
S
SChristian
6 years ago

Hi Sterling,

Thank you for the question, If you want to start the %Autonum% with a specific number, add the number before the macro eg: 1%Autonum%.

Unfortunately customizing the serial number is not available as of now. 

Thank you.

SA
Sterling Albury
6 years ago

So I'm not trying to prepend a number to the autonum macro. Like I said in my original question, I'm trying to get the autonum macro to start at a given number. So to give you an example, I want the AUTONUM macro to start at say number 500, and when I enroll a device, the number literally starts at 500, and then the next device that is enrolled is 501, etc. Does that make sense? If I do something like 1%AUTONUM%, then that's no different than just using the macro in combination with anything else.

TB
TJ Bukoski
6 years ago

I would like to recommend that you make a feature request with support for this ability.

There is a hidden way to choose how many digits there are in an %Autonum% macro (%Autonum:X%, where X = 0 to 9) but there is no way to change the starting value of an Autonum macro without modifying the MobiControl database which is a violation of the SLA. 

SA
Sterling Albury
6 years ago

I see. Yeah, I'm aware of the ability to limit the number of digits that are shown, but not what we're looking for. We were told that there were ways to customize these macros so I'm pretty disappointed to learn that there actually isn't any way to customize them, at least in the ways we were led to believe. I'll definitely make a feature request because being able to define or modify these macros would be really useful.

Thanks for the reply.