Skip to main content
Nintex Community Menu Bar

List of all filename from a directory

  • November 20, 2019
  • 1 reply
  • 3 views
  • Translate

hi friends,

Good day,

is there any method or dll to list all the file name and k2 artifacts from particular directory?

 

For example, There is a folder called "K2Project", where in I have all smart forms, objects, workflows, libraries (sharepoint). I would like know how to list all the forms, objects etc from K2Project folder. So, is there any method or dll available? 

 

Adding to that, I would also like to display in Data grid view using VS 2015. 

 

Please let me know if someone can help.

 

Thanks,

Did this topic help you find an answer to your question?

Forum|alt.badge.img+16
  • November 21, 2019

Hi,


 


Perhaps, you can use the system Category Data SmartObject for this scenario.


This requires that you know the category id ahead of time.  In my example, I can get the category id when browsing to AA folder. The id is in the URL path.


1. Let's say I have a 'AA' category and this category has a few K2 artifacts. The category id is 253.



2. Use the Category Data > ListByCategoryID method to return K2 artifacts of AA category.


System > Management > Categories > SmartObjects > Category Data.



 

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings