I'm playing with 'Rules Engine request/response test' function at
http://lscs server//lscs/admin/debugpanel/. A few questions were raised. Can anybody help me out? Thanks in advance.
1. How to generate request XML? I suppose I don't need to create them manually.
On teamsite, I can View Source of rules, actions, or conditions, but these sources include some presentation infor (Eidtor tags) and seperate, which couldn't be copied and pasted to debugpanel directly. Is there a way to get the request XML directly from TeamSite or somewhere else?
2. I tried to put the below action in debugpanel, (what I acutally did is to replace the out-of-box yes.actions with SampleContentRetrieverAction), and then 'Submit Rule to Engine'. The response is just the copy of the action code instead of the expected contents. What's wrong with my request xml?
[PHP]
rule1.rule
data0
session.user.fname
data1
session.user.fname
TeamSite/Metadata/ContentCategories
hgty3jwj
/outdata/compare
no c1.conditions
yes.actions
no.actions
foo1
foo1
[/PHP]