Previous Topic

Next Topic

Book Contents

Book Index

Forming URLs to Icon Graphics to a Bin or Asset Type

The following item is a key piece of an absolute URL to an icon graphic file for a bin or asset type:

The root prefix of the URL is always returned in the skillportimageurl attribute in any search function call, for example, Federated, Detailed, Related, Paginate.

The icon filename itself is returned in the imgsrc attribute on a dtype tag or assetitem tag returned by SL_GetAttributes.

The absolute URL to a given icon can be formed with the following formula:

skillportimageurl + “/icons/” + imagesrc

These URLs should never be hard-coded or fixed in the vendor-application. The vendor-application should accommodate being able to manage new bins and asset types in this context as well.