Skip to Main Content

go to Indiana University Indiana University


The Green Bar of Go: Asset Factory Plugins

Publish Message Sent Successfully

Welcome to the second installment of The Green Bar of Go. In this post, I will discuss how to use a part of Cascade Server not covered in the Cascade Server: Site Managers workshop: Asset Factory Plugins. Asset Factory Plugins are a way for Site Managers to create Asset Factories that will perform specific tasks when a user submits the form. For example, when a Page Asset Factory (like our new page factory from the workshop) is submitted, if the user forgets to change the system name, Cascade Server will change the name automatically to an SEO compliant name.

This post will explain what the built-in Plugins do and how to use one of them. Check it out after the jump!

Asset Factory Plugins and What They Do

There are several Plugins built-in to Cascade Server. A lot of them have similar functionality, all based on giving each asset a unique system name. Here are the Plugins that are installed currently with a description of what they do:

  • Display to System Name Plugin – If, upon submission, the system name contains a substring of the system name of the Asset Factory’s Base Asset, the Display Name is converted to an SEO compliant string and used as the System Name.
  • File Limit Plugin – Files uploaded using an asset factory can be limited by either size or asset name. File names are tested by a regular expression, file size is defined in kilobytes.
  • Friendly File Name Plugin – Limits the name of a file to a-z, A-Z, 0-9, underscores, periods, and hyphens. This plugin is deprecated; the File Limit Plugin should be used in its place.
  • Friendly Page Name Plugin – Requires system names of newly created assets to match a regular expression.
  • Set Start Date Plugin – Sets the Metadata for Start Date to the current date and time. An offset for date and time can be used, but is optional.
  • Title to System Name Plugin – If, upon submission, the system name contains a substring of the system name of the Asset Factory’s Base Asset, the Title is converted to an SEO compliant string and used as the System Name.
  • Create Resized Images Plugin – Creates resized copies of the original image.
  • Data Definition Name to System Name Plugin – If, upon submission, the system name contains a substring of the system name of the Asset Factory’s Base Asset, a specified field from the Base Asset’s data definition is converted to an SEO compliant string and used as the System Name.
  • Structured Data Fields to System Name Plugin – If, upon submission, the system name contains a substring of the system name of the Asset Factory’s Base Asset, multiple fields can be defined, concatenated together, and converted to an SEO compliant string to be used as the System Name.
  • Image Resizer Plugin – Resizes JPEG images to a specified width and height.

Using Plugins in an Asset Factory

Using a Plugin on an Asset Factory is easy. When creating new or editing existing Asset Factories, you will notice a Plugins pane. Activate that pane, and you will see this:
Asset Factory Plugins Interface

Simply select the Plugin you would like to use and click on the green plus sign. This will add the Plugin to your Asset Factory.

Some Plugins require certain parameters to be supplied (structured data fields, height, width, etc.). For example, here is the Structured Data Fields to System Name Plugin when it’s added to the Asset Factory:
Structured Data Fields Plugin

Notice the drop down box and green plus sign located toward the bottom of the Plugin description. This is where parameters are added to a Plugin. Parameters are added to Plugins just like Plugins are added to Asset Factories. Simply select the parameter from the drop down menu, then click the green plus sign.

That’s all there is to it. Now, by using Plugins, you can prevent disasters from occurring from the use of Asset Factories.


5 Responses to "The Green Bar of Go: Asset Factory Plugins" to “The Green Bar of Go: Asset Factory Plugins”

  1. Web SEO Services Says:

    Thanks for posting this very informative article. I have really learned some new things from this post.

  2. Hound Says:

    Love this content, I hope you are going to submit more charm posts similar to this! book marked for future reference!

  3. Expansion Bellows Says:

    nice tips, thanx a lot for it

  4. Briquetting Plant Says:

    i love to read it, thank you for such a nice blog

  5. Sticker Labeling Machine Says:

    nice about Asset Factory Plugins

Leave a Reply

 

Get Training Tips via RSS Subscribe to Entries feed or Read Comments via RSS Subscribe to Comments feed.