Previous Topic

Next Topic

Book Contents

Book Index

Calling SL_GetAttributes

Available languages/bin per end user, attributes of bins/assets

Use SL_GetAttributes to determine the following:

The results of SL_GetAttributes are scoped by user. Follow the Recommended Usage: Username usage in OLSA APIs when calling this function. The result of this function can change if a given end user assignment or associated customer entitlement is modified within the OLSA system.

We recommend that you use this function once per end user login session in the vendor-application, to determine what languages or bins and contained asset types are available to a specific end user. You can cache the results with a life time of the end user's login session also known as session scope. You can use the result to generate any pulldowns that specified the available languages and bins, so the end user can select from them to specify additional criteria for a search call that the end user might issue. Do not call this function each time a given end user issues a OLSA search call, such an approach may have performance issues.

A vendor application can choose to cache the following information with a life time of the running of the vendor application also known as application scope:

None of the information mentioned in this section should ever be hard-coded within the vendor-application.