Hi All,
I am looking for best way to extract meta data of all documents that exist on an environment. This I need for migration purpose.
My requirement is to store document details(document id, doc name, parent folder, kc name etc) from all over the environment. This would require traversing through each KCs and find folders and documents recursively.
Has anyone faced such requirement and is there a provision for this to be done OOTB or any best way which won't hamper the environment running status.
Thanks in advance!
Discussion posts and replies are publicly visible
There is no OOTB functionality to fetch all documents across the environment, so you need to manually maintain a list of all Knowledge Center root folder Ids. Use getdocumentsFromFolder() to get all documents per KC, then loop through each document using the document() function to extract metadata. Repeat this for each KC to get complete environment-wide document metadata.
Can you please elaborate your requirement please ? You mentioned "migration purpose". Do you want to validate pre vs post migration stats ?
Yes subhankarb6682 , majorly to look back for any Appian application data mapped to documents
Thanks for your respone Shubham Aware .
Been following the same process.