Don't miss out Virtual Happy Hour today (April 26).

Try our conversational search powered by Generative AI!

Are there any external tools or something that allows us to search for content and export out the paths/names?

Vote:
 

The business wants a command line interface or something that they can use to search for content by name or by path and export those content names to a text file. For example, they want to be able to pull up all forms in a path like this:

_Forms / Membership Forms / ABC

And have a text file populate with

Form1

Form2

Form3

etc

Is there anything like this or do we need to build something? I tried looking for any existing tools, Powershell cmdlets, and even third party addons, but came up with nothing.

#299311
Mar 31, 2023 14:50
Vote:
 

What version of CMS? There is a substantional difference between CMS 11 and 12.

There are no standard API:s requesting forms data other than such you build your self. Here is a good starting point https://lockevn.medium.com/how-do-i-programmatically-get-a-list-of-all-episerver-forms-that-are-submitted-17476c7b8e58

#299314
Mar 31, 2023 17:56
eperezjr - Mar 31, 2023 18:00
11. but we're upgrading to 12. That being said, I shouldn't have mentioned forms, as it's not really relevant to the issue. We're not trying to get form data. We're trying to populate a list of files based on the directory structure in EpiServer. Similar to how you would use CD and DIR in Windows.
Eric Herlitz - Mar 31, 2023 18:09
Alright, for 11 there are a few projects like https://www.codeart.dk/blog/2020/7/developerconsole---cli/
* 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.