内容属性和节点 content-properties-and-nodes

NOTE
Adobe建议对需要基于单页应用程序框架的客户端渲染(例如React)的项目使用SPA编辑器。 了解详情

在AEM中,文章、横幅和收藏集表示为cq:Pages。

除了下面显示的几个其他属性之外,它们共享在任何cq:Page中找到的相同常用属性,这些其他属性表示Adobe Experience Manager (AEM) Mobile On-Demand Services元数据和支持属性的集成。

下表描述了内容属性和节点。

常见集成属性 common-integration-properties

属性名称
类型
默认值或预期值
描述
dps-id
字符串
上传至AEM Mobile或从AEM Mobile导入后,由AEM Mobile分配并由AEM存储
dps-resourceType
字符串
dps:Article
dps:Banner
dps-version
字符串
AEM Mobile实体的版本(也包含在完整aemm-id中)
dps-lastSynced
日期
上次从AEM Mobile同步/导入AEM的日期
dps-lastUploaded
日期
上次从AEM上传到AEM Mobile的日期
dps-lastUploadedBy
String:userid
执行了从AEM到AEM Mobile的上次上传请求的id用户

核心元数据属性 core-metadata-properties

属性名称
类型
默认值或预期值
dps-title
字符串
dps-shortTitle
字符串
dps-abstract
字符串
dps-shortAbstract
字符串
dps-department
字符串
dps-category
字符串
dps-keywords
字符串[]
dps-internalKeywords
字符串[]
dps-importance
字符串[]
重要性来自

文章 articles

属性名称
类型
默认值或预期值
dps-author
字符串
dps-authorURL
字符串
dps-hideFromBrowsePage
布尔值
dps-access
字符串
来自{"protected"、"metered"、"free"}的ProtectedAccess
Social
dps-socialShareURL
字符串
dps-articleText
字符串
dps-url
字符串

横幅 banners

属性名称
类型
默认值或预期值
dps-tapAction
点按操作来源
dps-tapActionUrl

收藏集 collections

属性名称
类型
默认值或预期值
dps-productId
字符串
dps-readingPosition
字符串
从{"reset","retain"}
dps-horizontalSwipe
布尔值
dps-allowDownload
布尔值
dps-openDefault
字符串
从{"browsePage","contentView"}
dps-layout
字符串

内容节点 content-nodes

公共节点 common-nodes

节点名称
类型
默认值或预期值
描述
图像
jcr:primaryType=nt:unstructured
sling:resourceType=foundation/components/image

实体 entities

文章 articles-1

节点名称
类型
预期值的默认值
描述
social-share-image
jcr:primaryType=nt:unstructured
sling:resourceType=foundation/components/image

横幅 banners-1

节点名称
类型
预期值的默认值
描述
NA

收藏集 collections-1

节点名称
类型
预期值的默认值
描述
background-image
jcr:primaryType=nt:unstructured
sling:resourceType=foundation/components/image
recommendation-more-help
2eeeb575-8007-40cc-a72d-206fbc4ddd4b