Applying Custom Attributes

S
SteeveP
Sogesma/Logesma

Hi everyone ,

Got a few question for all of you, hopping someone will have a better idea that the one I had.

Ok so, here's the situation, we own around 180 Memor10 at the moment , 2 for each shop we own.

At first we managed to seperate things the way we used to do before as ;

- 3 Groups ; Production , Development , Testing
- One Sub groups for each shops we own.

Got a relocating rules that force device to correctly assigne to the correct store based on their IP Adress.

Here's the problem... we need sometime to make some test over new app we release, so I assign the new / test version to DEV / Test Profile (wich are assign to group of same name) and manually move sub-group to the parent one.

Doing this I Loose my relocating rule everytime and it take lot of time to make thing clear and straight again.

Lately ..I found about Custom attributes, wich seem to be a new way to work for that... as I could just put everyone in the same groupe, and create virtual group based only on this custom Attribute.

My problem is...is there a way to "massively" change or reset those custom attributes?

I mean...everyone could have "PROD" attribute by default...change it to "TEST" for a while, that way profile would update correctly.

But then I would neeed to reset everything back after testing is done.

Sometime it's one shop...sometimes got to do it on 40...

That's why i'm here today...hoping maybe someone already had this kind of situation and found a way to work that may suits us too.

Thanks in advance.

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

Why do you move wjole groups etc.?

Why just keep devices as "test-devices" in the "test-folders". Then you don't have to switch everytime devices or whole groups and align things. I think you are doing that too complicated.

And if first test are successfull and wanna test in some locations (groups) or single devices, you can assign those a seperate profile/app policy with the update and test only there and if successfull just align the live ones or so. 

There's no moving needed for testing purposes.

S
SteeveP
3 years ago

Hi Rafael (hope this one posting will work...don't know what this page have this morning but i got trouble staying logged and posting)

Good question you got there

At first...would say it's because we had to find a way to work , so it sounded the best way to do.

On a second thought, It would also mostly be because of the applications themselves.

Most of them are updated version of app already deployed.

As i'm not the only one to work on the Mobicontrol, if someone just forgot to unassign the "Production" Profile before putting the test one...would lead to crash and error :/

Working that way, with profile assigned to group that have the same type (DEV / Test / Prod) , I assure that profile are automatically removed and reinstalled when needed.

That also why I looked after custom attribute , they could do the same for me but without making a mess in relocating rules.

I'm quite fluent in API but I would assume they are script sent to devices ?

I found this one this weekend...maybe there is a way to sed it directly through Mobicontrol UI by "sending script" and so it would probably resolve my problem?

https://s095155.mobicontrolcloud.com/mobicontrol/api/docs/index/index.html?url=/mobicontrol/api/swagger/v2/swagger.json#/Devices/Devices_UpdateCustomAttributes

Have a good day

RS
Rafael Schäfer
3 years ago

You can't send this via script, only via API afaik.