cancel
Showing results for 
Search instead for 
Did you mean: 

API parameters

Former Member
0 Kudos

Using the COM API, I have 2 connections to MDM. 1 for English, the primary language, and 1 for Chinese.

The following code works for English, but is ignored when using the Chinese connection. Is this a bug? The field name is empty for Chinese and it's primary inheritance is english.

XCATCOMLib.FreeFormTableParameter tableParam = searchResult.Parameters.NewFreeFormParameter(PRODUCT_TABLE);

tableParam.Fields.New("Publishing Status",SearchOperatorEnum.xcSearchOperatorAnd).FreeForm.NewString("Publish - General", FreeFormSearchTypeEnum.xcEqualToSearchType);

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Mike,

Try to open the Data Manager in Chinese and do the same free-form search there and see what happens. Both the Data Manager and the API should return the same result for the same search criteria.

Walter

Former Member
0 Kudos

Works fine in the Data Manager.

The only way I got it to work in the API was to paste the english text, 'Publish - General', into the Chinese field.

Former Member
0 Kudos

I figured it out.

When doing a free-form search, the API is ignoring records who's data comes from the primary inheirtance.

Should I submit a ticket for this?

Former Member
0 Kudos

Yes, you probably should open a ticket - it sounds like a bug.

Walter