Knowledge Tree Export

Document ID : KB000108090
Last Modified Date : 27/07/2018
Show Technical Document Details
Issue:
When attempting to export a Knowledge Tree doc using the Additional Filter the export is unable to find the doc.
Environment:
Service Desk
Cause:
The export is looking for doc_type_id=1 on the skeletons table, knowledge tree docs are doc_type_id=2.
Resolution:
It is not possible to export out individual Knowledge tree docs, however it is possible to export every since doc at once including knowledge tree docs.
Create a batch file with all the extract commands as follows:

pdm_extract Knowledge_Keywords >> knowledgedata.txt 
pdm_extract Knowledge_Lrel_Table >> knowledgedata.txt 
pdm_extract BU_TRANS >> knowledgedata.txt 
pdm_extract CI_ACTIONS >> knowledgedata.txt 
pdm_extract CI_ACTIONS_ALTERNATE >> knowledgedata.txt 
pdm_extract CI_BOOKMARKS >> knowledgedata.txt 
pdm_extract CI_DOC_LINKS >> knowledgedata.txt 
pdm_extract CI_DOC_TEMPLATES >> knowledgedata.txt 
pdm_extract CI_DOC_TYPES >> knowledgedata.txt 
pdm_extract CI_PRIORITIES >> knowledgedata.txt 
pdm_extract USP_PROPERTIES >> knowledgedata.txt 
pdm_extract CI_STATUSES >> knowledgedata.txt 
pdm_extract CI_WF_TEMPLATES >> knowledgedata.txt 
pdm_extract EBR_ACRONYMS >> knowledgedata.txt 
pdm_extract EBR_DICTIONARY >> knowledgedata.txt 
pdm_extract EBR_DICTIONARY_ADM >> knowledgedata.txt 
pdm_extract EBR_FULLTEXT >> knowledgedata.txt 
pdm_extract EBR_FULLTEXT_ADM >> knowledgedata.txt 
pdm_extract EBR_LOG >> knowledgedata.txt 
pdm_extract EBR_METRICS >> knowledgedata.txt 
pdm_extract EBR_NOISE_WORDS >> knowledgedata.txt 
pdm_extract EBR_PATTERNS >> knowledgedata.txt 
pdm_extract EBR_PREFIXES >> knowledgedata.txt 
pdm_extract EBR_PROPERTIES >> knowledgedata.txt 
pdm_extract EBR_SUBSTITS >> knowledgedata.txt 
pdm_extract EBR_SUFFIXES >> knowledgedata.txt 
pdm_extract EBR_SYNONYMS >> knowledgedata.txt 
pdm_extract EBR_SYNONYMS_ADM >> knowledgedata.txt 
pdm_extract ES_CONSTANTS >> knowledgedata.txt 
pdm_extract ES_NODES >> knowledgedata.txt 
pdm_extract ES_RESPONSES >> knowledgedata.txt 
pdm_extract ES_SESSIONS >> knowledgedata.txt 
pdm_extract INDEX_DOC_LINKS >> knowledgedata.txt 
pdm_extract KD_ATTMNT >> knowledgedata.txt 
pdm_extract kdlinks >> knowledgedata.txt 
pdm_extract LONG_TEXTS >> knowledgedata.txt 
pdm_extract O_INDEXES >> knowledgedata.txt 
pdm_extract P_GROUPS >> knowledgedata.txt 
pdm_extract SKELETONS >> knowledgedata.txt 
pdm_extract Lrel_Table >> knowledgedata.txt 

Then run pdm_import to import the generated "knowledgedata.txt" to another environment which will include knowledge tree docs.