This bookmarklet will swap the source type of a service in a template

Drag this link to your bookmarks bar

Template Service Source Type Swap

Usage:

1. Drag the link to your bookmarks bar

2. Open a template service page with URL format: /workspace/templates/<uuid>/service/<uuid>

3. Click on the bookmarklet

4. If the service uses an image source, you'll be prompted to enter a repository

5. If the service uses a repository source, you'll be prompted to enter an image

6. Confirm the swap and the template will be updated


Source code available here

Minified source code available here

What is a bookmarklet?