Title Back Colour Keyoti Title Line Title Curve
Blue Box Top

Content categories - SearchUnit - Forum

Welcome Guest Search | Active Topics | Log In | Register

Options
DMacy
#1 Posted : Wednesday, June 14, 2017 7:26:14 PM
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.
Jim
#2 Posted : Thursday, June 15, 2017 5:07:08 AM
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!


DMacy
#3 Posted : Thursday, June 15, 2017 2:20:12 PM
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
Jim
#4 Posted : Thursday, June 15, 2017 4:40:16 PM
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!


Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.




About | Contact | Site Map | Privacy Policy

Copyright © 2002- Keyoti Inc.