Skip to main content
Nintex Community Menu Bar

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

  • March 24, 2022
  • 3 replies
  • 8 views

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
  • March 24, 2022

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?


Forum|alt.badge.img+7
  • Nintex Employee
  • March 28, 2022

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.


  • Author
  • March 28, 2022

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.