Basic Customization

Custom Fields

先前有介绍, 常用的 Custom Fields 总共分为四种

  • Custom Record
  • Transaction
  • Entity
  • Item

昨天停留在如何建立 Custom Fields, 回到 Custom Record 之後, 点选 New
https://ithelp.ithome.com.tw/upload/images/20210926/20141364UoSfZSvWx6.png

可以看到新增 Custom Record 的页面
https://ithelp.ithome.com.tw/upload/images/20210926/20141364CLSmkrKFmf.png

几个栏位的描述如下

  • Label: 栏位名称

  • Id: internal id 的後缀

  • Description: 这个栏位的介绍

  • Type: 栏位属性, 常用的属性介绍如下
    https://ithelp.ithome.com.tw/upload/images/20210926/20141364KYwtSBOFqE.png

    • Check BOX: 有勾勾的那种
    • Currency: 币别
    • Date: 日期格式
    • Date/Time: 日期+时间
    • Decimal Number: 具有小数点的数字
    • Email Address: 电子信箱, 会自动判断使用者输入是否符合规范
    • Free-From Text: 一般文字输入
    • Hyperlink: 超连结, 只能够在 mail line 中使用
    • Inline HTML: 可以插入一小段 html 的code
    • Integer Number: 整数
    • List/Record: 下拉式选单, 用这个选项之後, 可以看到 List/Record 可以选择,
      • 可以选择 Transactions/Custom List/Custom Record/etc..
        https://ithelp.ithome.com.tw/upload/images/20210926/20141364moeyPZ6DYK.png
    • Long Text: 比Free-From Text还能储存更多的字元, 如果需要储存大量讯息建议用这一个
    • Multiple Select: 多选, 同样可以在下方的 List/Record 选择要多选的选项
    • Rich Text: 具有编辑器的文字输入选项
  • Display Subtab:
    https://ithelp.ithome.com.tw/upload/images/20210926/20141364G4tJzas6OE.png

    • Subtab: 需要显示在目标主档的哪一个 subtab 内?
    • Display Type: 显示方式
      • Normal: 预设显示方式
      • Inline Text: 显示单列
      • Disabled: 唯读
      • Hidden: 隐藏
    • Help: 显示在页面上的help
  • Validation & Default
    https://ithelp.ithome.com.tw/upload/images/20210926/201413641ozWQ84q3h.png

    • 此区块会跟随栏位属性有不同的选项, 主要用来设定预设值及此栏位是否为必填栏位
  • Sourcing & Filtering
    https://ithelp.ithome.com.tw/upload/images/20210926/20141364XtgJMhVWGg.png

    • 资料来源设定

接下来, 我们来实际建立几个看看效果

  1. 测试成果

    1. Type: List/Record
    2. List/Record: 测验结果
    3. HELP: 测试成果的页面HELP
      https://ithelp.ithome.com.tw/upload/images/20210926/20141364VUWV0Vworu.png
  2. 测验日期

    1. Type: Date/Time
      https://ithelp.ithome.com.tw/upload/images/20210926/201413641aaOa9MCve.png
  3. 课程备注

    1. Type: Free-Form Text
      https://ithelp.ithome.com.tw/upload/images/20210926/20141364IuoK3tB29I.png

都建立好了之後, 应该可以在 Customer Record 底下看到新增的 Fields.
https://ithelp.ithome.com.tw/upload/images/20210926/20141364ybB6w7c0m1.png

滑鼠移到 More -> View Records
https://ithelp.ithome.com.tw/upload/images/20210926/20141364ZAbfpZdxx6.png

可以看到目前没有任何教育训练的纪录
https://ithelp.ithome.com.tw/upload/images/20210926/20141364YZybF42vyh.png

选择 New 教育训练 进入新增教育训练的页面
https://ithelp.ithome.com.tw/upload/images/20210926/20141364mT4VszVwoY.png

在这个页面我们可以看到刚刚建立的 custom fields
点开 测试结果, 可以看到我们昨天建立的 训练结果 list

https://ithelp.ithome.com.tw/upload/images/20210926/20141364wFfrKmbG0x.png

并且将鼠标移动到测试结果的文字上面, 可以看到 "?" 的鼠标, 点选後可以看到我们刚刚输入的 HELP文字
https://ithelp.ithome.com.tw/upload/images/20210926/20141364s2ExHl0fOC.png

点 测验日期 可以看到出现日历选项
https://ithelp.ithome.com.tw/upload/images/20210926/20141364FIXPwFzX5T.png

我们可以随便输入一笔纪录并储存後, 回到测试结果List 介面 就可以看到我们的测试成果
https://ithelp.ithome.com.tw/upload/images/20210926/201413646Ps1XgmKdD.png

其他种类的 Fields?

关於其他种类的 Fields, 所有的 Fields设定其实都是相同的, 只是 apply 的对象不同.

Transaction Body fields, 只能够 Apply 在 transactions 上面, 在下方会出现要 Apply的 trasnaction type
https://ithelp.ithome.com.tw/upload/images/20210926/20141364D01UAYieZA.png

Item Fields, Entity Fields 也是以此类推.

到此就是最简单的客制化


<<:  Day11-React 公测与产品的环境切分

>>:  26.unity打字机(StartCoroutine)

Day12 - Kotlin的集合

Day12 - Kotlin的集合 我今天要讲的是Kotlin的集合,今天就稍微讲一下集合List,...

前端工程师也能开发全端网页:挑战 30 天用 React 加上 Firebase 打造社群网站|Day15 对文章按赞

连续 30 天不中断每天上传一支教学影片,教你如何用 React 加上 Firebase 打造社群...

用React刻自己的投资Dashboard Day25 - 制作汉堡选单

tags: 2021铁人赛 React 安装styled-components套件 在专案资料夹内一...

Day21 javascript 阵列方法(完)

今天继续来讲阵列,想说都剩没多少,不如就一次介绍完呗,这样以後翻笔记才不会翻半天还找不到东西(大家应...

Day 20 - Valid Anagram

大家好,我是毛毛。ヾ(´∀ ˋ)ノ 废话不多说开始今天的解题Day~ 242. Valid Anag...