22 Aug
2001
22 Aug
'01
6:52 a.m.
At 20:27 21-08-2001 GMT, you wrote:
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
Well I had tried with self.restrictedTraverse ... One quick "trip" to IRC world helped me - I simply just needed to make sure that the path was a string :-) Now everything works fine ... :-) Regards, Gitte Wange