Basic Assets and their Creation

Posted: September 27, 2011 in Fatwire
Tags: , , ,

Basic Assets

Xcelerate provides some built-in assets such as page, template, collection, etc. However, since content server has a rich and flexible type system, you can define your own assets.

The Basic Assets Model helps us in the creation of User Defined Assets. For this, we need to know about the ASSET DESCRIPTOR FILES (ADF). An ADF is nothing but an XML file ( A Descriptor File), which describes the asset type, its properties (otherwise known as attributes), their storage location, how to display them, data types of the properties, etc.

Defining a new Basic Asset with AssetMaker:

A very simple example of a Basic Asset descriptor looks like this:

<ASSET NAME="NewBasicAsset" DESCRIPTION="A New Basic Asset"  PROCESSOR="4.0"
Description of Fields:
The NAME field in ASSET tag specifies the name that will be stored in the database.
The DESCRIPTION field in ASSET tag specifies the description.
The DEFDIR field in ASSET tag specifies the location where the URL fields need to be stored.
The PROPERTIES tag specifies the group of properties that belong to this asset.
The PROPERTY tag specifies the name of the property and its description.
The STORAGE tag specifies the data type and length
The INPUTFORM tag specifies the width, length, type that should be displayed in the UI.
The SEARCH tag specifies the name, etc that should be displayed in search screen.
How AssetMaker Works:

Using AssetMaker to create a new basic asset type involves four general steps:

  1. Code the asset descriptor file.
  2. Upload the file.
  3. Create the table.
  4. Register the elements.
Creation of Assets with Asset Maker Utility:
  1. Double click on the ASSET MAKER in the tree in the Advanced UI. Click on “ADD NEW ASSETMAKER ASSET TYPE”. Enter the name as entered in ADF file, and upload the file.
  2. In the next screen, Click on “CREATE ASSET TABLE” and then on “REGISTER ASSET ELEMENTS”
  3. Now, enable the newly created assets for the site. The newly created assets are ready to be used by the site.
  1. A person essentially lend a hand to make seriously posts I’d state. This is the very first time I frequented your web page and so far? I surprised with the analysis you made to make this particular post incredible. Magnificent task!

  2. I’ve read several good stuff here. Definitely price bookmarking for revisiting. I surprise how much effort you set to create the sort of great informative site.

  3. Carmen Feroz says:

    Unquestionably believe that which you said. Your favourite reason seemed to be on the internet the easiest factor to bear in mind of. I say to you, I certainly get annoyed while people consider worries that they plainly do not understand about. You controlled to hit the nail upon the highest and also defined out the whole thing with no need side-effects , people can take a signal. Will likely be again to get more. Thanks!

  4. I’ve recently started a site, the information you offer on this web site has helped me greatly. Thanks for all of your time & work.

  5. Very interesting points you have remarked, thankyou for putting up. “It is seldom that liberty of any kind is lost all at once.” by David Hume.

  6. I’ll right away grasp your rss feed as I can not to find your email subscription link or e-newsletter service. Do you have any? Kindly let me recognize so that I could subscribe. Thanks.

  7. I’m not sure why but this blog is loading incredibly slow for me. Is anyone else having this problem or is it a problem on my end? I’ll check back later on and see if the problem still exists.

  8. Keep up the wonderful work , I read few blog posts on this site and I believe that your website is very interesting and has circles of fantastic info .

  9. Nirav Varma says:

    can we create custom attribute editor for basic asset? if yes, then please tell me how to create one?
    I need ImagePicker as an attribute editor for basic asset? Any sample code?

  10. Johnny Signs says:

    I conceive this website has some rattling good info for everyone. “Variety is the soul of pleasure.” by Aphra Behn.

  11. Mario Luebke says:

    Wohh exactly what I was looking for, thankyou for putting up. “Be nice to everyone on your way to the top because you pass them all on the way down.” by Fred Hufnagel, Sr..

  12. Lenny Ledwig says:

    As soon as I discovered this website I went on reddit to share some of the love with them.

  13. tangkasnet says:

    Hi, i feel that i saw you visited my site thus i got here to �go back the choose�.I’m attempting to in finding things to improve my website!I suppose its ok to use a few of your ideas!!

  14. I’m not sure exactly why but this site is loading incredibly slow for me. Is anyone else having this issue or is it a issue on my end? I’ll check back later and see if the problem still exists.

  15. I always was interested in this subject and still am, thankyou for posting .

  16. Timmy Vicars says:

    I think this is one of the so much important information for me. And i am satisfied studying your article. But want to remark on some basic issues, The site style is great, the articles is truly great :D. Excellent process, cheers.

  17. Your Internet site is much valuable. Thank the author so much for keeping a much of Good website.

  18. tejal mistry says:

    Hi KK, you have mentioned that
    Double click on the ASSET MAKER in the tree in the Advanced UI. Click on “ADD NEW ASSETMAKER ASSET TYPE”.
    Where exactly to locate the ASSET MAKER and which tree.

    • KK says:


      I tree appears in the left side of your Advanced UI, in the browser. Make sure that you have the latest versio of Java installed, in order to see the tree. There, you can find the ASSET MAKER UTILITY.

  19. Pensiunea Sibiel

    Nice replies in return of this matter with real arguments and describing all on the topic of that.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s