I do not remember using interaction via API but that is the outcome I would suspect. Interaction is only populated when and offer has been delivered as a proposition and acted upon.
You can see more in nms:propositionRcp. As to what gets set when my memory is a little blurred, but you have a way forward to set up an offer and test.
In short: offers can be set up to be delivered not only via deliveries but from external webb sources (via API-calls) as well. When the user is given an offer it is referred to as a "proposition". When the user acts on the proposition it is store in interactions table.
I was hoping there were some well defined functionality using the option "Automatic via an Enumeration" which suggest it does just what im looking for;)
If anyone else sees this looking for assistance, you can use a javscript object to get all enumerations defined in a schema into ctx like this:var schema = application.getSchema("cus:schemaName")for each(var e in schema.enumerations){var enum = eval("<enum_"+ e.label+ "/>");var options = <options/>;...
Unfortunately, I do not have the default apps you refer to, et least I do not find them when setting a webapp folder to ("folder is a view"). As you suggest I load the enumerations defined in a schema in a script object before the page, and then initiate the combobox "via the context". This works fi...
A webapp Page (v5 compatibility), Combo box input -> advanced settings Initialization: "Automatic via an enumeration" suggest we can use enumerations defined outside the webapp to populate a select element in our webpage's HTML. Elements in schemas can use enumerations defined in the schema using at...