RE: Knowledge Base Importer Problem

Paul Allain, modified 5 Years ago. Junior Member Posts: 77 Join Date: 9/3/13 Recent Posts
Hello,
When importing markdown knowledge base archive (.zip) I've noticed that the importer is limited to a two levels deep hierarchy.
Is this a limitation of the importer? 

Edit: Liferay 7.1.3GA4

Thanks in advance
Paul
thumbnail
Bijan Vakili, modified 5 Years ago. Expert Posts: 375 Join Date: 3/10/09 Recent Posts
I cannot recreate this issue. What steps did you take to see this?

Here's what I tried.
1. docker run --rm -it --name lrtest liferay/portal:7.1.3-ga4
2. Login as test@liferay.com / test -> Control Panel -> Knowledge Base -> create 3 levels deep folder structure with an article at the end (a -> b-> c-> "Article under C")
3. Export the Knowledge Base content, (see attached)
4. Switch Sites to Global site
5. Import the Knowledge Base content
Verify the hierarchy is created and article is there.

Paul Allain, modified 5 Years ago. Junior Member Posts: 77 Join Date: 9/3/13 Recent Posts
It's actually using the importer to bring in a zipped markdown knowledge base the way described here.
I tried different things but always get three levels of indentation then it flattens out.
thumbnail
Bijan Vakili, modified 5 Years ago. Expert Posts: 375 Join Date: 3/10/09 Recent Posts
Okay. The article states "the Knowledge Base app can import articles in bulk. ... Articles are imported into the Knowledge Base as Markdown files. " but doesn't state how you're actually importing the markdown file.
1. What are the steps to import articles in bulk?
2. Also, can you provide a sample markdown knowledge base archive (.zip) that's causing this issue that's capping list depths to  3 levels deep?