Hi Zhicheng, You should not have send this message to dev-ow...@ofbiz.apache.org but to user@ofbiz.apache.org
Please subscribe to the user ML for such questions and then use your email client. See why here http://ofbiz.apache.org/mailing-lists.html. You will get a better support, people can answer you on the ML. The wider the audience the better the answers you might get. Also it's more work for moderators who have to accept your messages as long as you have not subscribed. I'll personally no longer accept them (other moderators still could). Thanks This said it's quite simple, result-map, as its name says, is a map resulting from the call to a service, here findPartyFromEmailAddress. In this case, it's then used to get from the DB the Party entity using the partyId primary key HTH Jacques Le 15/02/2023 à 09:52, honestch...@163.com a écrit :
Hi, OFBizers, these days I am learning OFBiz . When reading the codes about screen definition, I confused by the service calling in screen's actions element as <actions> <service service-name="findPartyFromEmailAddress" result-map="emailMap"> <field-map field-name="address" from-field="parameters.email"/> </service> <entity-one entity-name="Party" value-field="party"> <field-map field-name="partyId" from-field="emailMap.partyId"/> </entity-one> <set field="parameters.partyId" from-field="party.partyId"/> </actions> I want to understand what's meaning about the element attribute result-map, <field-map> Thanks Zhicheng ------------------------------------------------------------------------------------------------------------------------------------------------------ honestch...@163.com