Skip to main content
Solved

Multiple prompt screens with DEPNotify

  • September 26, 2020
  • 2 replies
  • 30 views

rstasel
Forum|alt.badge.img+13

Working with DEPNotify, and I'm wondering if you can have multiple prompt windows.

Right now, We're limited to two text fields (right now, owner and asset tag), and 4 popups. I think I need one more text field (room number)... So was thinking of having multiple windows.

Would be nice to start with just asking "Purpose" and Asset Tag (computer name is derived from asset tag). Purpose would then determine what info was asked on next "window". If it's a lab machine, we wouldn't ask owner, we'd just ask Department, Building, and Room. If it's a user machine, we'd also ask owner.

Is this doable? Or should I start looking at Splashbuddy?

Best answer by rstasel

Got this to work.

After initial wait for questions to be answered, go through and set computer name and do Jamf API call to set the other field (Role), then empty out the plist, delete setup.done, do an echo "Status: Please wait", set the new values in the plist, and then call "echo "Command: ContinueButtonRegister: Continue Registration""

Works great.

Thanks!

2 replies

Forum|alt.badge.img+31
  • Honored Contributor
  • September 28, 2020

I would drop into #depnotify on the Mac Admin Slack and ask around, many people have customized a lot with DEP Notify


rstasel
Forum|alt.badge.img+13
  • Author
  • Valued Contributor
  • Answer
  • October 9, 2020

Got this to work.

After initial wait for questions to be answered, go through and set computer name and do Jamf API call to set the other field (Role), then empty out the plist, delete setup.done, do an echo "Status: Please wait", set the new values in the plist, and then call "echo "Command: ContinueButtonRegister: Continue Registration""

Works great.

Thanks!