Personalization rules - Websphere

This is a discussion on Personalization rules - Websphere ; hi, Is there a way to pass a list of content IDs and an attribute list to a personalization rule , make it to perform a search of contents which contains the attributes passed and return back the filtered content ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Personalization rules

  1. Personalization rules

    hi,

    Is there a way to pass a list of content IDs and an attribute list to a personalization rule , make it to perform a search of contents which contains the attributes passed and return back the filtered content ID list.



    thank you for ur support

  2. Re: Personalization rules

    Yes there is
    You create an Application Bean , expose a Vector.
    Like this
    public class MySelectionBean2 implements
    SelfInitializingApplicationObject, Serializable {
    private static final long serialVersionUID = -8689353855490977584L;
    private Vector keywordsVector=new Vector();
    public void init(RequestContext rc) {
    keywordsVector.add("test1");
    keywordsVector.add("test2");
    keywordsVector.add("test3");
    rc.setSessionAttribute("MySelectionBean", this );
    }
    public Vector getKeywordsVector() {
    return keywordsVector;
    }
    }
    and put your bean as *.jar into \pnz\v6.0\collections (for
    portal 6). Reboot server, and you should see this vector in
    Personalization Rule wizard. dont forget to configure New->Application
    Object in Pers. engine before that.



    On May 26, 2:42*am, samz.01_...@yaoo.co.in wrote:
    > hi,
    >
    > Is there a way to pass a list of content IDs and an attribute list to a personalization rule , make it to perform a search of contents which contains the attributes passed and return back the filtered content ID list.
    >
    > thank you for ur support



+ Reply to Thread