Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » kfoubert
  • » Profile

Posts

Posts

27-Aug-16 03:36:35
IMu API version 1.0.03 EMu Version 4.0

I'm hoping someone can help with me this search filter. I need to find matching ecatalogue items where the referenced module MulMultiMediaRef_tab.MulMimeType = "image". I tried the code below but I keep getting -1 for hits.

Code:


Module module = new Module("ecatalogue", imuApi.Session);

//Return Columns
string[] columns =
            {
                "irn",
                "SumCatalogIdNo",
                "SumCallNumber",
                "SumFullDescription",
                "MulHasMultiMedia",
                "SumTitle_tab",
                "SumObjectName_tab",
                "SumCreatorRef_tab.(NamFirst;NamLast;NamFullName;AdmDateInserted)",
                "SumCreatorRole_tab",
                "SumCreationDate_tab",
                "SumCollectionCategory_tab",
                "SubSubjects_tab",
                "MulMultiMediaRef_tab.(irn;MulMimeType,MulMimeFormat;MulTitle)"
            };

//I tried the following search.
Terms search = new Terms();
search.Add("MulMultiMediaRef_tab.MulMimeType", "image", "=");
hits = module.FindTerms(search);

But I get hits = -1. I've tried numerous different ways for search.add() but so far I haven't had any luck.

Thank you,
Ken

  • Index
  • » Users
  • » kfoubert
  • » Profile

Board Info

Board Stats
 
Total Topics:
601
Total Polls:
0
Total Posts:
1362
User Info
 
Total Users:
827
Newest User:
Marcus Swann (Axiell Melbourne)
Members Online:
0
Guests Online:
131

Online: 
There are no members online