Skip to main content
What does it mean to flag a SmartObject with the “This SmartObject is used as a Lookup Object” option in the designer under “Additional Settings”?  This doesn’t seem to affect the definition of the SmartObject’s table in the SmartBox database, so why would you want to do this?  The only info I can find on the use of a Lookup Object is the example provided in KB000192, but there it also isn’t explained why you need to use this option (just how to use it for Data Level Security).  For example, in a real-life project, how would you know when to switch this option on?  It seems that this only stores additional metadata for the SmartObject (e.g., the Lookup Method), but can you use this outside of the security-context example shown in the KB000192 article? I also noticed the SmartObjectType enumeration in the SDK with the LookUp type (along with the User, System and Composite types), so selecting this option seems to somehow make a fundamental change to a SmartObject's type, but this concept is also not explained there. Is there more info on this in the training videos, or does someone have a better understanding of what a Lookup Object really is?

Did you ever figure this out?


Hi,

 

Basically, the smartobject lookup works like a relationship between two database tables, using primary and foreign keys.

Take a look on this articles:

http://help.k2.com/helppages/k2blackpearlUserGuide4.6.4/SmartObject_Lookup.html

http://help.k2.com/kb000192

 

Best Regards,

Óscar Gomes


Reply