I am defining the insertNote extension function for a Comments Panel, Ignition 7.9.7, and I am having trouble using the ‘self’ reference.
The Comments Panel is in a template, and the problem is occurring while testing in the template design window. I have enabled the insertNote extenstion function and have the following code:
name = self.name print name
I get the following error:
File "<extension-method insertNote>", line 15, in <module> NameError: name 'self' is not defined
Update: None of the method’s arguments are available to me (self, note, filename, sticky)