RE: Knowledge Base Importer Problem

Paul Allain, modificat fa 6 anys. Junior Member Apunts: 77 Data d'incorporació: 03/09/13 Publicacions recents
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, modificat fa 6 anys. Expert Apunts: 375 Data d'incorporació: 10/03/09 Publicacions recents
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, modificat fa 6 anys. Junior Member Apunts: 77 Data d'incorporació: 03/09/13 Publicacions recents
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, modificat fa 6 anys. Expert Apunts: 375 Data d'incorporació: 10/03/09 Publicacions recents
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?