|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
Is it possible to define content categories through the API in a VB.NET app? I see how to define them in the Index Management Tool, but I don't see a way to do it programmatically.
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
I think you're looking for https://keyoti.com/produ...f-685c-d26100f71322.htm
which is DocumentIndex.AddContent(contentCategoryRecord) where contentCategoryRecord is created by calling ContentCategoryRecord.CreateContentCategoryRecord("new content type") Jim -your feedback is helpful to other users, thank you!
|
|
Rank: Advanced Member
Groups: Registered
Joined: 9/1/2010 Posts: 136
|
That looks like what I need. It also appears that content categories are automatically created when documents are added to the index, if their categories don't already exist. Is that true?
Dan
|
|
Rank: Advanced Member
Groups: Administrators, Registered
Joined: 8/13/2004 Posts: 2,669 Location: Canada
|
That's correct. -your feedback is helpful to other users, thank you!
|
|