I am having a problem getting a Python script in Plone to find an External Method. Given three different objects:
- An external method called
CloneList(Id and Function Name) A DTML Document that references it successfully using this
<dtml-var "CloneList(PAGE,ORG,STATUS,CGAP_DATA_HOME,BASE)">A Python script that references the external method via this...
return CloneList(PAGE,ORG,STATUS,CGAP_DATA_HOME,BASE)
The DTML document works fine but the Python script, for some reason throws:
Error Value: global name 'CloneList' is not defined
Why can the DTML template see CloneList just fine but the Python script can't?