Citrix Optimizer Community Template Marketplace
Recently, Martin Zugec from Citrix released version 2.0 of the popular Citrix Optimizer tool and one of the cool new features added is the ability to add custom template marketplaces. Once added a marketplace can allow users to choose then download and upgrade specific templates all from the Optimizer GUI. Out of the box, Optimizer includes a marketplace for all the Citrix maintained templates as you can see below
After playing with the new version I thought it would be nice if there was a central location for the community to be able to submit, view and share their own custom templates. I ended up creating a home for a marketplace on Github and this post goes over the introduction of the marketplace and how I hope the community can utilize it.
How to use the marketplace
Citrix Optimizer is designed to use XML for the marketplace data, including the URL location of a template and any metadata to display to the user such as author and version. This makes it easy enough to simply point Optimizer to a custom XML URL and Optimizer will be able to render the information and allow templates to be downloaded or updated. Let’s go over the steps to add the community marketplace to Optimizer.
- From Citrix Optimizer select Template Marketplace from the left
- Select Add New Marketplace
- Add the URL:
- and select Done
Now on the left, you should see Citrix Community Marketplace
- Templates available to download will appear on the right
- As the marketplace grows this will allow users to download and update existing templates right from Optimizer
This marketplace is worthless without templates. If you have created custom templates I want them! This section will go over how to submit your templates to the marketplace so they can be shared.
Template Format Rules
Before submitting there are a couple of rules that must be followed or else your submission\pull request will fail.
- Only templates created with Optimizer 2.0 will be allowed. (1.x will need to be converted)
- Only unique display names and ids will be allowed
- Template author name must match the directory name of the template
Submit via GIT
This is the preferred method. If you haven’t used GIT before this is a perfect situation to learn. Don’t get discouraged!
- First, you’ll need a Github account
- Go to the Github repo at https://github.com/ryancbutler/Citrix_Optimizer_Community_Template_Marketplace and fork to your own repo
- If you aren’t familiar with this process I can’t stress the benefits of at least learning the basics of GIT can be. There are plenty of guides out there to help. Keep going!
- Within your fork go to the templates directory and create a new folder named the same as the author of the templates.
- Copy your template(s) to the newly created folder
- (Optional but highly recommended) Create a readme within your directory explaining your templates along with any other information you would like. Feel free to include your contact info, twitter or whatever.
- An example of the layout can be found in the templates\Ryan Butler directory
- Once you’re ready to submit to the marketplace you’ll want to submit a pull request.
- If all the tests pass I’ll be able to review and approve the PR making it part of the marketplace!
Note: There is no need to edit the communitymarketplace.xml file. This will automatically be re-generated for each submission.
If you aren’t comfortable with the GIT process feel free to reach out to me on Twitter or wherever else and I’ll be happy to add them or help you get them submitted.
Leave a comment