How to add filter in Advanced Objet Search?
CompletedHi
We want to develop a plugin to search object by custom filters.
like the "Gender/Man" in the below picture.a tree struct filter.

I have added an object type by define the deviceAgent manifest,but it belongs to "Object Type",not a root node likes"Gender"
0
-
Hi zhuzhenlei,
I recommend you to check implementation of stub taxonomy features sample in our SDK. If you want your object type to extend basic object you can inherit your types from base library. For example:
{
"_comment": "Object Types can inherit from the Types declared in the Base Type Library.",
"id": "nx.stub.objectTypeInheritedFromBaseLibraryType",
"name": "Stub: Object Type inherited from a Base Library Type",
"base": "nx.base.Person",
"omittedBaseAttributes":
[
"Complexion",
"Age",
"Activity",
"Scarf",
"Body Shape",
"Top Clothing Length",
"Top Clothing Grain",
"Top Clothing Type",
"Bottom Clothing Color",
"Bottom Clothing Length",
"Bottom Clothing Grain",
"Bottom Clothing Type",
"Things",
"Gloves",
"Shoes",
"Temperature",
"Tattoo"
],
"attributes":
[
{
"type": "String",
"name": "Custom Type string attribute"
}
]
}If you're not sure what is the issue with your config, please share your manifest so I'll be able to check what is the issue.
0
Please sign in to leave a comment.
Comments
1 comment