21 Aug
2001
21 Aug
'01
8:27 p.m.
I am trying to get hold of an object in a fs python script. The only thing I have to reference this object is the absolute url for the object. I have tried with restrictedTraverse and self.restrictedTraverse but keeps getting an error.
What did you try ? What errors did you get ? You should use something like: obj = self.restrictedTraverse('/the/path/to/obj') Note that the path doesn't have the "http://server.com" part. Florent Guillaume Nuxeo