Filter Criteria for Profile Assignment

Filter Criteria for Profile Assignment

Hi,

 

Has anyone got a list of which filter criteria work with which OS?  I'm trying to use a filter on Android 4.4 with MobiControl 13.  I've tried 'HasApplication' and 'Custom Data' but neither of them work.  After 'HasApplcation' failed the first time, I created a custom data that was a boolean value to identify devices that had the application or not.  I though this might work in teh filter criteria, but it doesn't, all I get is "Internal Server Error".

 

Thanks in advance for any replies!

 

Adam

5 Answers

Order By:   Standard | Newest | Votes
Matt Dermody | posted this 29 April 2020

Why not just split the inventory into two separate groups and then assign the different applications and lockdown profiles to the individual groups? It sounds overly complicated with the custom INI file and individually assigning that to devices when you could just manually drag and drop devices from one group to another.

  • 0
  • 0
Adam Davidson | posted this 29 April 2020

Hi Rayond,

 

Sorry, I probably confused the matter by saying "I counted the TRUEs".  What I meant was I checked in the UI that the .INI file had downloaded to all the devices and that the data colletion rule had checked every device.

 

We have 1400 devices, 1306 have a licence to run a Sat Nav app called Sygic.  The remaining 94 will need to use GoogleMaps (we had issues with GoogleMaps in the past so purchased Sygic).  Due to COVID-19, we have increased our deliveries and so purchased more TC55s.  As we didn't purchase any more Sygic licences, we decided we could use up all our existing licences on 1306 devices and leave the remained on GoogleMaps.  The lockdown screen has a link to the mapping app, I want to use a filter in the assignment of the lockdown screen to show Sygic on all the devices with a licence, "TRUE" in the datacollcetion rule, and then GoogleMaps on all those without "TRUE".

 

Hope that explains it better.

 

Adam

  • 0
  • 0
Raymond Chan | posted this 29 April 2020

I'm still not  quite sure what you meant by counting the number of TRUE's.  Please elaborate what you want to do and what you can see from the web-console or on the device screen so far.

 

Regarding conditional statements in scripts, it is possible with the new javascript engine introduced in recent MobiControl device agents.

  • 0
  • 0
Adam Davidson | posted this 27 April 2020

Hi Raymond,

 

Soti version is: 13.4.0.5042.  Not sure where to see the build number.

I created an .INI file that had the serial number of every device that had the software installed and "TRUE" as the result from the Custom Data query.

I used a file sync rule to copy this file to every device.  I left it for a few days to update all the devices then added it to the UI as a new column and created a filter in the UI to check the count of "TRUE"s.

I need to have two kiosk/lockdown screens depending on which one of two applications is installed.  Do you know if there is anyway to have the lockdown template determine this, i.e. an IF statement or CASE statement maybe?

 

Thanks,

 

Adam

  • 0
  • 0
Raymond Chan | posted this 27 April 2020

If I remember correctly, "HasApplication" is a relatively new profile filter criterion added in the last 12 months or so.  I personally haven't tested this new feature extensively on different MobiControl server verions.  What are the version and build numbers of your MobiControl server?

 

How did you get the boolean custom data about whether an application is installed on a device?  From an .ini or .xml file?  How was content of such .xml/.ini file updated on each device?  

 

  • 0
  • 0

Give us your feedback
Give us your feedback
Feedback