K2 SmartObject Dependencies Analyzing

  • 6 August 2019
  • 4 replies
  • 110 views

For K2 4.7, If I want to know any SMF rule on all Forms/Views which using the SMO A.

By associated smo with Views, or action excute smart object in Rule.

Is it possible to analyzing? Such as, using SQL script or other.

 

Thank you in advance.


4 replies

Hi  @Sumit;

 

 

Please check out with this community post(https://community.k2.com/t5/K2-Five/Smart-Object-dependency-check-script/td-p/104393), dive down to  @khanh 's response, the same console tool attached, also attached there with alternative of "P&D tool to check the depandancies and all the artifacts" and Apex SQL Search.

 

Kind Regards;

Widson.

 

Good day Sumit, 


In addition to the information, @Widson  has provided, you may also kindly check the following 4.7 system documentation labeled "Dependency checking and  fixing dependency issues" located here: http://help.k2.com/onlinehelp/k2smartforms/UserGuide/4.7/default.htm#Create/Fixing_Dependency_Issues.htm


and scroll down into "Dependency issues and dialogues" as well as "fixing dependency issues" and lastly if you read on "Overriding dependency checking on Check In" it explains that the default "Analyze on check in" behavior can be disabled to allow Views and Forms containing dependency issues to be checked in. You can use this approach if you want to package K2 artifacts and then use K2 Package and Deployment to debug dependency issues.


 


 

Badge +7

Hi Sumit,

 

I'm happy to say that I integrated this tool in SmartObject service tester++: "SmartObject usage" and "Environment library usage": It search in SmartForms, Workflows (K2 Five and K2 Studio).


The SmartObject Service tester++ is only compatible with on premise versions.
https://community.k2.com/t5/General-K2-Utilities/SmartObject-Service-Tester-plus-plus/ba-p/92426

 

Note: you can vote on this K2 idea too:
https://ideas.k2.com/ideas/APIT-I-375

 

Best regards,
Olivier

Thanks Olivier for this very handy tool. Works well with our K2 Five 5.2 verison on-prem instance. Cheers. Time to clean up unnecessary/unused SMOs in the projects :-)

Reply