Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add api.content.get_path #532

Open
davisagli opened this issue Feb 27, 2024 · 1 comment
Open

Add api.content.get_path #532

davisagli opened this issue Feb 27, 2024 · 1 comment

Comments

@davisagli
Copy link
Member

It would be nice to have an API for getting an object's path, so that it isn't necessary to use "/".join(obj.getPhysicalPath())

Nice to have: specify whether to get the path relative to the Zope root or Plone portal.

@mauritsvanrees
Copy link
Member

As seen elsewhere, obj.absolute_url_path() may be good here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants