I create a new schema (named product) in Adobe Campaign. And updated the database.
Now I want to write & update & delete the record in the product database.
I can't find the API how to do that.
Would you like teach me where is the guide of the method or tell me how to do that.
Thank you very much for your quick reply.
I read the guide. And have the next detail questions.
(1) should I define the method under my own prodct schema?
<method name="Write" static="true"> <parameters> <param name="doc" type="DOMDocument" desc="Difference document"/> </parameters> </method> <method name="WriteCollection" static="true"> <parameters> <param name="doc" type="DOMDocument" desc="Difference collection document"/> </parameters> </method>
(2) I read the example of Updating or inserting a recipient . as the follow.
<recipient xtkschema="nms:recipient" email="email@example.com" birthDate="1956/05/04" folder-id=1203 _key="@email, [@folder-id]"> <location city="Newton"/> </recipient>
What is the TAG (<recipient />) to update record of my own schema? for example my own schema is my_namespace:my_schema_name.