Reputation: 725
I am using plone.app.robotframework. I have created a keyword library class in Python, and it works fine for simple jobs.
How can I access the objects in the Plone site, from these keywords?
Upvotes: 0
Views: 80
Reputation: 86
Just call getSite()
or plone.api.portal.get()
to get your portal object :
from plone import api
portal = api.portal.get()
Upvotes: 2