Home Screen Layout and WebClip issue

Hi!


Has anyone been able to set a WebClip via the new Home Screen Layout Payload (iOS 9.3)? Apps and folders are working great, but not WebClips.


My device seems to process the MDM commands successfully, but there are no WebClips added afterwards. Neither on the Dock, nor on the pages. I also tested by first installing a WebClip and then specifiying it's URL in the homescreen payload. That made no differences.


Examples:


   <key>Dock</key>
   <array>
      <dict>
         <key>Type</key>
         <string>WebClip</string>
         <key>URL</key>
         <string>http://www.example.org</string>
      </dict>
      <dict>
         <key>Type</key>
         <string>Application</string>
         <key>BundleID</key>
         <string>com.google.GoogleMobile</string>
      </dict>
   </array>


   <key>Pages</key>
   ...
         <dict>
            <key>Type</key>
            <string>WebClip</string>
            <key>URL</key>
            <string>https://news.ycombinator.com</string>
         </dict>
      </array>
...

Replies

same problem here!

Sounds like the documentation is wrong again. Most likely a font case issue on a value

I would guess it is going to be the 'Type' field value as that would still parse fine as you are sending a string value so it would not give errors but could also not work correctly like you are seeing


So try changing the type from WebClip to something like - Webclip, webclip, Web Clip, or something similar

No chance, I tested almost everything.

So, it truns out one cannot add WebClips at all. At least from what's in the latest Configuration Reference.

We are having this problem with iOS 10 as well.

I had the same problem. Don't know if you have already resolved yours but all I had to do was adding the "/" at the end of the URL, even though you might not specify the slash when creating the webclip.

In your example:

Code Block xml
<dict>
<key>Type</key>
<string>WebClip</string>
<key>URL</key>
<string>http://www.example.org</string>
</dict>


would become

Code Block xml
<dict>
<key>Type</key>
<string>WebClip</string>
<key>URL</key>
<string>http://www.example.org/</string>
</dict>