Home > Contents > Index >
Template Tags TOC | Alpha TOC | Tag Family TOC | Purpose TOC | Annotated TOC | Index
commercecontext:inform
Informs the engine about the user's activities.
Syntax
<commercecontext:inform [list="inputlist"] [engine="enginename"] [engineparameters="engineparameters"]/>Parameters
list (optional)- Input parameter. Name of the list of assets to be used as the input to inform the engine. Columns are
assettypeandassetid.
engine (optional)- Input parameter. This argument is used to optimize the recommendations using an external engine. This must be used in conjunction with
engineparametersparameter.
engineparameters (optional)- Input parameter. This is a generic list of arguments required as parameters for the
engine. This argument is used to optimize the recommendations using an external engine. This must be used in conjunction with theengineparameter.
Description
This tag informs an external engine, of any user activity.
Integration with Oracle Real-Time Decisions (RTD)
To optimize the recommendations with RTD, set the
engineparameter tortd. Other RTD specific parameters must be provided via theengineparametersparameter which is a list with columnsinformant,sessionkey, andattributes.Example code snippet:
<listobject:create name="itemlist" columns="assettype,assetid"/> <listobject:addrow name="itemlist"> <listobject:argument name="assettype" value="Media_C"/> <listobject:argument name="assetid" value="1200501464589"/> </listobject:addrow> <listobject:tolist name="itemlist" listvarname="assetlist"/> <listobject:create name="somelist" columns="informant,sessionkey,attributes"/> <listobject:addrow name="somelist"> <listobject:argument name="informant" value="FwRecoCustomerInput"/> <listobject:argument name="sessionkey" value="CurrentUser"/> <listobject:argument name="attributes" value="FSIIAge,FSIIGender"/> </listobject:addrow> <listobject:tolist name="somelist" listvarname="params"/> <commercecontext:inform list="assetlist" engine="rtd" engineparameters="params"/>Theinformantandsessionkeyvalues are required.
- For currently logged in user,
sessionkeymust beCurrentUser
Home > Contents > Index > ![]()
Oracle JSP Tag Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.