Skip to main content


 

Symptoms


QUESTION:
I've created a Smartbox Smartobject with the auto-generated Methods (Create, Save, Delete, Load, Get List) but I need the Update-Method for Updating some properties.
How can I create a SMO with this Method?
 

Diagnoses


How to question
 

Resolution

ANSWER:
The "Save" Method of a SmartBox SmartObject is the same as the "Update" Method of any other SmartObject, however the "Save" Method can also be used to create an existing entry if it doesn't exist previously.

Therefore some kind of filtering mechanism must be put in place to prevent a new item from being created when the "Save" Method is being called.




 
Be the first to reply!

Reply