cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

I want to know the way how to search in a different language

SOLVED
Highlighted
Newbie

I want to know the way how to search in a different language

I made the datatable and insert data (different language, Korean) and executes SearchDataTableEntries with korean expressions.

I have no results.

Is it possible to use the service with korean expressions ?
My thingworx Versions is 7.

Tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: I want to know the way how to search in a different language

Hi Kyung, do you mean something like this

I used the SearchDataTableEntries Service to get the data with the exception that instead of SearchExpression parameter i am using the Query and this is what i pass to the SearchDataTableEntries : see below

var query = {

  "filters": {

    "fieldName": "stringCol1",

    "type": "LIKE",

    "value": searchString

  }

};

var params = {

  maxItems: 100 /* NUMBER */,

  //searchExpression:  /* STRING */

  query: query /* QUERY */,

  //source: undefined /* STRING */,

  //tags: undefined /* TAGS */

};

// result: INFOTABLE dataShape: "undefined"

var result = me.SearchDataTableEntries(params);

I think the searchExpression will also work, it's just about figuring out the syntax for that as well.

In the meantime hope this helps

View solution in original post

3 REPLIES 3
Highlighted

Re: I want to know the way how to search in a different language

Hi Eunkyeung, could you please share the search expression you are formulating to get the data out of the data table? Just as a side question are you able to pull all the data you inserted into the Datatable i.e. without applying any expression to filter the result?

Highlighted

Re: I want to know the way how to search in a different language

Hello, Pandey

You can try with 서울 as an expression, also as an entry. And yes, all result shows up without an expression.

There is no problem when I tried QueryDataTableEntries or FindDataTableEntries (search inputs as infotable), but SearchDataTableEntries seems to be a problem.

Highlighted

Re: I want to know the way how to search in a different language

Hi Kyung, do you mean something like this

I used the SearchDataTableEntries Service to get the data with the exception that instead of SearchExpression parameter i am using the Query and this is what i pass to the SearchDataTableEntries : see below

var query = {

  "filters": {

    "fieldName": "stringCol1",

    "type": "LIKE",

    "value": searchString

  }

};

var params = {

  maxItems: 100 /* NUMBER */,

  //searchExpression:  /* STRING */

  query: query /* QUERY */,

  //source: undefined /* STRING */,

  //tags: undefined /* TAGS */

};

// result: INFOTABLE dataShape: "undefined"

var result = me.SearchDataTableEntries(params);

I think the searchExpression will also work, it's just about figuring out the syntax for that as well.

In the meantime hope this helps

View solution in original post

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!