AnsweredAssumed Answered

Rules and Node Policies

Question asked by netos on Mar 3, 2008

we have 2 rules applied for a space and its sub-spaces, regarding assinging a thumbnail to pictures. one is an inbound rule which activates a script which assigns the thumbnail, and one is outbound which removes it.

the default thumbnail is the picture itself.

problem is, that if we updated the thumbnail, and then we move the node, the thumbnail is removed and re-created as the default, since move is actually translated as deletion and creation at a different space.

i found the class NodeServicePolicies and it looks like it might help me, but i do not understand exactly how that works and how can i create and register a policy for move node.

any help there? any different solution?

thanks, netanel.