Skip to main content
Nintex Community Menu Bar

Is it possible to delete a SmartObject category and sub-categories using Powershell or API?

  • Mar 24, 2022 8:08 AM UTC
  • 3 replies
  • 41 views
  • Translate All

In order to make sure no orphan SmartObjects is left behind when a new kspx package is installed, we would like to cleanup already created SmartObjects by simply deleting our solutions SmartObjects category - and sub categories - and preferably do it via Powershell.

 

Anybody know if it is possible?

 

3 replies

  • Author
  • Mar 24, 2022 2:27 PM UTC

awesome, now I have searched all forum posts for just Powershell and open questions like "delete category" and "remove category".

No luck finding anything that answers my question, so if you really believe you have seen post regarding deletion of categories either through Powershell or API, it would be greatly appreciated if you can point me to that post?

Translate

Forum|alt.badge.img+7
  • Nintex Employee
  • Mar 28, 2022 12:30 AM UTC

Have you tried using SmartObject Service Explorer to remove the category? If I am not wrong, that tool will warn you if you have SmartObjects in the category you want to remove, and allow you to remove those SmartObjects as well.

Translate

  • Author
  • Mar 28, 2022 5:44 AM UTC

Hi, this is the way we are doing things now, deleting category and automatically sub-cats, through the SmartObject Tester App. Everything works fine here.

 

We want to do the same, preferably using Powershell, during automated deployment through azure devops release.

Translate