For those who are creating more customized and complex solutions in K2 Appit will find it necessary at times to create custom SmartObjects and this documentation offers a lot of useful information on how to do this. The following link gives a quick introduction into SmartObjects and the links on the left of the landing page under the SmartObjects section give information on how to create SmartObjects and what data you may want to inject into them.
Link to documentation: