Try our conversational search powered by Generative AI!

Create Geta.Categories programmatically

H F
H F
Vote:
 

Hello,

Does anyone know how to create Geta.Categories programmatically?

https://github.com/Geta/EpiCategories

thank you,

HF


                    
#199662
Edited, Dec 04, 2018 22:58
Vote:
 
#199663
Edited, Dec 04, 2018 23:15
Vote:
 

Hi HF

Geta Categories are just content. So you can interact with them just like pages and blocks using the IContentRepository. See here for more information on using IContentRepository to save content: https://world.episerver.com/documentation/developer-guides/CMS/Content/Persisting-IContent-instances/ 

David

#199664
Dec 04, 2018 23:28
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.