2

I want to define some additional property while creating a category in Kylo. For example, a flag kind of thing. If the flag is Y, pass that category to some database as metadata for that category. Is it possible? If yes, please suggest how to do that.

hello_world
  • 29
  • 10

1 Answers1

4

You can assign custom properties to a category.

1. Category creation with custom properties

enter image description here

2. View a category's properties

enter image description here

These properties are searchable via Global search.

enter image description here

When the first feed runs in a new category, a Hive database is created with the category's name. You can check this in Hive via the command:

hive> show databases;
Jagrut Sharma
  • 4,574
  • 3
  • 14
  • 19
  • Thanks @Jagrut ,one more question ,can i access these properties which i have defined for the categories, via swagger UI ,or how to use these custom categories in code. – ashutosh tiwari Dec 14 '18 at 05:31
  • You can use Kylo's REST API. As an example, this will take the category system name and return details. (`http://hostname:8400/proxy/v1/feedmgr/categories/by-name/`). The response has a property called `userProperties` that contains these custom properties. – Jagrut Sharma Dec 14 '18 at 07:51
  • can we connect with mail or some other platform I have a lot of questions if you have some spare time, thanks in advance. – ashutosh tiwari Dec 17 '18 at 07:30
  • `https://kylo.io` has useful information to learn more about Kylo. There are links to tutorial videos, documentation and community mailing list. – Jagrut Sharma Dec 17 '18 at 21:22