0 Replies Latest reply: Mar 6, 2013 4:21 PM by 690888 RSS

    Unable to read blob attributes in the Asset Filter

    690888
      Hi,

      I am unable to read a blob attribute in the Asset Filter using the following code.
      The String attributes work fine.
      Can I get some examples for reading blob attributes in the filter?
      I am using Webcenter Sites 11gr1

      public void filterAsset(IFilterEnvironment env, String filterIdentifier, FTValList filterArguments, IFilterableAssetInstance instance) throws AssetException

      {

      String inputattr = getAttrID(env, filterArguments, ARG_CUSTOM[0]);

      IListBasic ilistbasic = instance.getAttribute(inputattr);

      ilistbasic.getValue("value") // throws No such field exception.. works fine for string attribues

      }


      Thanks,
      Raj