SAP CRM附件模型和搜索相关的属性介绍

简介: SAP CRM附件模型和搜索相关的属性介绍

For more detail about CRM content management, please go to my wiki page CRM Content Management.


I tried to use them to perform the search and I expected only the attachment instances belonging to the given product I specified in INSTID are returned.


To my surprise, the query result includes not only the attachments for the given product, but also returns lots of attachments belonging to other products created by me.


image.png


Through debugging, I found the parameter CATID, TYPEID and INSTID is not passed into main search function module in line 61, which means they are not considered during search at all.


image.png


Instead the search result are filtered by the three parameters in post processing, according to the attribute value “CRM_SEARCH_VISIBILITY” of each attachment instance:


image.png


In Attachment Property UI, we can assign three kinds of value for “Visible in Search”:


image.png



It is defined as instance attribute in Document model workbench:


image.png


according to the filtering logic in code below, the attribute would work as below in CMAdvDocumentFinder implementation:

No Restriction: the attachments with such attribute will not be filtered.


1 – In Business Objects of the Same Object Type Only: the attachments whose host business object type not equal to search parameter TYPEID will be filtered out.

2- Only in the Same Business Object: the attachments whose host business object instance not equal to the instance specified by search parameter TYPEID and INSTID will be filtered out.

image.png


相关文章
|
6月前
|
人工智能 搜索推荐 Serverless
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
使用金庸的著作,来测试阿里通义千问最新开放的长文档处理功能
|
6月前
|
前端开发 搜索推荐 开发者
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
SAP UI5 sap.m.Column 控件的 minScreenWidth 属性介绍
|
6月前
|
JavaScript 前端开发 开发者
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
SAP UI5 控件 sap.m.ListBase 的 inset 属性的作用介绍
|
6月前
|
中间件
什么是 SAP CRM 系统里的 Initial Download
什么是 SAP CRM 系统里的 Initial Download
|
6月前
|
中间件
什么是 SAP CRM Initial Download
什么是 SAP CRM Initial Download
|
6月前
|
XML 存储 数据格式
SAP UI5 控件 customData 属性的应用介绍
SAP UI5 控件 customData 属性的应用介绍
|
6月前
|
存储 数据管理 数据处理
SAP CRM 里 Attachment 搜索的实现逻辑介绍
SAP CRM 里 Attachment 搜索的实现逻辑介绍
|
6月前
|
存储
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
使用 ABAP 代码打印出 SAP CRM 系统里所有维护了 Sales Area 的 business partner id
|
6月前
|
存储 供应链
什么是 SAP 产品主数据的 Scale 属性
什么是 SAP 产品主数据的 Scale 属性
|
6月前
|
Web App开发 开发者 存储
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert
介绍一个 webp 格式转 png 格式的软件:XNConvert