Using SmartObjects in Code
You can interact with SmartObjects in code through one of the available APIs that expose SmartObject methods. See the Developer Reference documentation for more information on the available APIs as well as code samples that demonstrate how to interact with these APIs.