Posted on 11-17-2019 07:26 AM
Hi,
how can I give the entry "Actions" a correct name?
)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Actions</key>
<array>
<dict>
<key>Action</key>
<array>
<dict>
<key>Command</key>
<string>path</string>
<key>CommandOptions</key>
<string>./Users/Shared/test/connect.sh true</string>
</dict>
</array>
<key>Name</key>
<string>Verbindung aufbauen</string>
</dict>
<dict>
<key>Action</key>
<array>
<dict>
<key>Command</key>
<string>path</string>
<key>CommandOptions</key>
<string>./Users/Shared/test/connect.sh</string>
</dict>
</array>
<key>Name</key>
<string>Verbindung beenden</string>
</dict>
</array>
<key>MenuIcon</key>
<true/>
<key>Version</key>
<integer>1</integer>
</dict>
</plist>
Best Regads
Posted on 04-22-2021 01:53 PM
Within the com.jamf.connect preferences payload (rather than the com.jamf.connect.actions) you need to add:
<dict> <key>CustomMenuItems</key> <dict> <key>actions</key> <string>Custom Name Here</string> </dict>
Posted on 04-24-2021 02:55 PM
Hi is almost 1,5 years old but thanks. Have solved it already :)