Skip to main content
Question

Creating a GUI with API


Forum|alt.badge.img+3

Our instance has two sites. We often have our build team assigning systems to the incorrect site or not to a site at all. What I would like to do is allow our support staff the ability to pop up a GUI that will ask them for the serial number of the system and have the sites in a drop-down. This way when they identify a system that is incorrect it doesn't get escalated to us and there would no need to expand the number of support staff that have access to Jamf Pro. I would obviously use a token for API access, but I'm wondering if there's a way to accomplish this. I see plenty of community discussions around bulk moves to sites. I would like to be able to do this with a GUI with one-off systems. 

2 replies

Forum|alt.badge.img+1
  • New Contributor
  • 6 replies
  • February 4, 2022

Hi Stephen - you may have to write your own Swift app to do this. Start this video at minute 24 for inspiration: https://www.jamf.com/resources/videos/swift-jss-api-and-you/


Forum|alt.badge.img+10
  • Valued Contributor
  • 193 replies
  • February 6, 2022

You could try an Applescript and call bash scripts therefore jamf API from within, although Applescript UI is limited.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings