0

从自定义脚本适配器模板:

# Find our target folder from the context. The ID of
# our target folder is "submissions"
target = context.submissions

在站点顶部的提交文件夹中创建对象的语法是什么?

IE。http://mysite/submissions/

4

1 回答 1

2

获取门户根目录:

portal_root = context.portal_url.getPortalObject()
target = portal_root.submissions
于 2013-03-29T21:21:30.923 回答