首页 > 编程语言 >Sitecore Field 类型与 C# 类型映射表

Sitecore Field 类型与 C# 类型映射表

时间:2023-03-15 23:57:51浏览次数:82  
标签:映射 配置文件 C# Field 类型 Sitecore

配置文件路径位置:\App_Config\FieldTypes.config

<!-- Simple Types -->
<fieldType name="Checkbox" type="Sitecore.Data.Fields.CheckboxField,Sitecore.Kernel" />
<fieldType name="Date" type="Sitecore.Data.Fields.DateField,Sitecore.Kernel" />
<fieldType name="Datetime" type="Sitecore.Data.Fields.DateField,Sitecore.Kernel" />
<fieldType name="File" type="Sitecore.Data.Fields.FileField,Sitecore.Kernel" />
<fieldType name="Image" type="Sitecore.Data.Fields.ImageField,Sitecore.Kernel" />
<fieldType name="Rich Text" type="Sitecore.Data.Fields.HtmlField,Sitecore.Kernel" resizable="true" />
<fieldType name="Single-Line Text" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" />
<fieldType name="Multi-Line Text" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />

<!-- List Types -->
<fieldType name="Checklist" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
<fieldType name="Droplist" type="Sitecore.Data.Fields.ValueLookupField,Sitecore.Kernel" />
<fieldType name="Grouped Droplink" type="Sitecore.Data.Fields.GroupedDroplinkField,Sitecore.Kernel" />
<fieldType name="Grouped Droplist" type="Sitecore.Data.Fields.GroupedDroplistField,Sitecore.Kernel" />
<fieldType name="Multilist" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
<fieldType name="Multilist with Search" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" resizable="true" />
<fieldType name="Name Value List" type="Sitecore.Data.Fields.NameValueListField,Sitecore.Kernel" />
<fieldType name="Name Lookup Value List" type="Sitecore.Data.Fields.NameValueListField,Sitecore.Kernel" />
<fieldType name="Treelist" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" />
<fieldType name="Treelist with Search" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" />
<fieldType name="TreelistEx" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" />

<!-- Link Types -->
<fieldType name="Droplink" type="Sitecore.Data.Fields.LookupField,Sitecore.Kernel" />
<fieldType name="Droptree" type="Sitecore.Data.Fields.ReferenceField,Sitecore.Kernel" />
<fieldType name="General Link" type="Sitecore.Data.Fields.LinkField,Sitecore.Kernel" />
<fieldType name="General Link with Search" type="Sitecore.Data.Fields.LinkField,Sitecore.Kernel" />
<fieldType name="Version Link" type="Sitecore.Data.Fields.VersionLinkField,Sitecore.Kernel" />

<!-- Developer Types -->
<fieldType name="Frame" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
<fieldType name="Rules" type="Sitecore.Data.Fields.RulesField,Sitecore.Kernel" resizable="true" />

<!-- System Types -->
<fieldType name="Datasource" type="Sitecore.Data.Fields.DatasourceField,Sitecore.Kernel" />
<fieldType name="Custom" type="Sitecore.Data.Fields.CustomCustomField,Sitecore.Kernel" />
<fieldType name="Internal Link" type="Sitecore.Data.Fields.InternalLinkField,Sitecore.Kernel" />
<fieldType name="Layout" type="Sitecore.Data.Fields.LayoutField,Sitecore.Kernel" />
<fieldType name="Template Field Source" type="Sitecore.Data.Fields.TemplateFieldSourceField,Sitecore.Kernel" />
<fieldType name="File Drop Area" type="Sitecore.Data.Fields.FileDropAreaField,Sitecore.Kernel" />
<fieldType name="Page Preview" type="Sitecore.Data.Fields.PagePreviewField,Sitecore.Kernel" />
<fieldType name="Rendering Datasource" type="Sitecore.Data.Fields.RenderingDatasourceField,Sitecore.Kernel" />
<fieldType name="Thumbnail" type="Sitecore.Data.Fields.ThumbnailField,Sitecore.Kernel" />
<fieldType name="Security" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
<fieldType name="UserList" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />

<!-- Deprecated Types -->
<fieldType name="html" type="Sitecore.Data.Fields.HtmlField,Sitecore.Kernel" resizable="true" />
<fieldType name="link" type="Sitecore.Data.Fields.LinkField,Sitecore.Kernel" />
<fieldType name="lookup" type="Sitecore.Data.Fields.LookupField,Sitecore.Kernel" />
<fieldType name="reference" type="Sitecore.Data.Fields.ReferenceField,Sitecore.Kernel" />
<fieldType name="text" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" />
<fieldType name="memo" type="Sitecore.Data.Fields.TextField,Sitecore.Kernel" resizable="true" />
<fieldType name="tree" type="Sitecore.Data.Fields.ReferenceField,Sitecore.Kernel" />
<fieldType name="tree list" type="Sitecore.Data.Fields.MultilistField,Sitecore.Kernel" />
<fieldType name="valuelookup" type="Sitecore.Data.Fields.ValueLookupField,Sitecore.Kernel" />

标签:映射,配置文件,C#,Field,类型,Sitecore
From: https://www.cnblogs.com/fires/p/17220708.html

相关文章

  • Web.Config 配置重定向到首页
    Web.Config重定向规则,IIS会根据里面的规则自动重定向;#webredirecttoHomepage<rulename="RootHitForceHTTPSRedirection"enabled="true"stopProcessing="tr......
  • Copy of a Copy of a Copy (构造体,建边拓扑,箭头先后关系)
      提取性质:关键:改完一个点,就不能恢复2个点在一起一定不能改于是根据上面2点,枚举每一个点看看这个点需不需要改,如果要改就建一个边就行了,然后拓扑序一下......
  • I2C协议
    I2C协议通信协议可以按照通信方式分为单工,半双工,全双工三种。单工:发射端和接收端固定,有一条数据通路,通路上数据单向流动。半双工:发射端和接收端可变,有一条数据通路,通路......
  • SQL Server Analysis Services数据挖掘聚类分析职业、地区、餐饮消费水平数据
    全文链接:http://tecdat.cn/?p=31887原文出处:拓端数据部落公众号本文通过SQLServerAnalysisServices数据挖掘的分析模块,帮助客户对一个职业、地区、餐饮消费水平的数......
  • docker 部署 postgres
    1.打开dockerhub查找postgres版本 地址https://registry.hub.docker.com/_/postgres/tags   2.复制需要的版本dockerpullpostgres:alpine3.17复制需......
  • centos7.6安装GCC9.3.0
    CentOS7.6下安装gcc9.3.0本文主要介绍怎么在CentOS7.6环境下安装GCC9.3.0,适用于部分源码包需要高版本的gcc进行编译的场景,需要准备的环境有:CentOS7.6gcc-9.3.0.......
  • cannot access class org.springframework.cglib.core.ReflectUtils with java 17
    (inmodulecom.xxx)cannotaccessclassorg.springframework.cglib.core.ReflectUtils(inunnamedmodule@0x2d950574)becausemodulecom.xxxdoesnotreadunname......
  • Sitecore 打包备份与恢复
    打包备份首先进入Desktop面板,选择PackageDesigner,之后一路操作之后填入sourcename恢复安装包时跳出来的选项网上博客的有关解释https://www.partech......
  • VUE的setup、ref、reactive和代理数据的使用
    一.VUE的setup、ref、reactive和代理数据的使用1.1setup和ref先来实现一个简单的点击按钮,数字增加的案例:需求:页面打开后可以直接看到一个数据,点击按钮后,该数据可以发生......
  • CMU 15-445 数据库系统 Homework SQL查询
    cmu15-445是一门关于数据库的课程,看到该课程的homeworks和project就觉得十分有挑战性。本文是对该课程的Homework1,SQL语句的十道题,做完以后可以对SQL查询有个好的了解。......