屬性欄位

Property fields, or properties, enable the customization of a form view by adding various field types. These fields allow information storage and management by adding values.

屬性與一般欄位的比較

Properties act as pseudo-fields; they behave like regular fields but are not saved as columns in the database. They also rely on a defined parent record. For example, adding a property to a task inserts a field in all tasks within the same project while other projects』 tasks remain unaffected.

加入屬性欄位

若要將第一個屬性欄位加入:ref:表單檢視 <studio/views/general/form>,按一下 )圖示,然後選取 編輯屬性。

Then, configure the property field in the popover:

  1. Enter the property’s Label.

  2. Choose a Field Type.

  3. Configure the field based on the selected type:

    欄位類型

    使用

    選項

    文字

    單行的簡短文字

    如需要,輸入:guilabel:預設值。

    多行文字

    多行的完整文字

    如需要,輸入:guilabel:預設值。

    HTML

    HTML 欄位

    如需要,輸入:guilabel:預設值。

    勾選方格

    已勾選或未勾選狀態

    選擇:guilabel:預設狀態。

    整數

    整數(正數、負數或零,不含小數)

    如需要,輸入:guilabel:預設值。

    小數

    小數(正數、負數或零,含小數)

    如需要,輸入:guilabel:預設值。

    貨幣

    選擇(成本)貨幣

    如需要,輸入:guilabel:預設值。

    日期

    在日曆上選擇日期

    如需要,請選擇:guilabel:預設值。

    日期與時間

    在日曆上選擇日期並在時鐘上選擇時間

    如需要,請選擇:guilabel:預設值。

    選項

    從一組預定義值中選擇一個值

    按一下:icon:fa-plus :guilabel:`加入值`並輸入:guilabel:`選項名稱`以加入可選選項。

    如需要,按一下:icon:fa-star-o`(:guilabel:`選擇預設)按鈕將選項設為預設。

    使用:icon:oi-draggable`(:guilabel:`拖曳控點)按鈕拖放以重新排序選項。

    按一下:icon:fa-trash-o`(:guilabel:`移除屬性)按鈕以刪除選項。

    標籤

    以標籤形式選擇多個值

    輸入:guilabel:標籤`名稱並按 `Enter 鍵儲存。

    按一下標籤並選擇另一種顏色以變更標籤顏色。

    Many2one

    從另一個模型中選擇單一記錄

    輸入:guilabel:`模型`名稱。如有需要,配置其:ref:`網域 <search/custom-filters>`以篩選記錄。

    如需要,請選擇:guilabel:預設值。

    Many2many

    從另一個模型中選擇多筆記錄

    輸入:guilabel:`模型`名稱。如有需要,配置其:ref:`網域 <search/custom-filters>`以篩選記錄。

    如需要,請選擇:guilabel:預設值。

    分隔線

    在可摺疊標籤下分組多個屬性

  4. 輸入:guilabel:`後綴`以在欄位值後加入情境說明。例如,若要表示每公里成本,請使用:guilabel:`貨幣`欄位並將其命名為 成本,然後輸入 每公里 作為:guilabel:`後綴`欄位。該屬性隨後會顯示如下:成本 [加入的值] 每公里。

  5. 啟用:guilabel:`在卡片中顯示`以選擇是否在看板、清單或日曆檢視的卡片中顯示每個欄位的屬性。

  6. 啟用:guilabel:AI 人工智慧`以將:ref:`AI 人工智慧欄位 <ai/add-a-new-field/properties>`加入屬性。撰寫:guilabel:`提示`及/或輸入 `/field 以插入動態值。

  7. Click outside the popover to save the added property field.

小訣竅

  • To add another property field, click Add a Property at the bottom of the form.

  • To edit a property field, click the (pencil) icon next to it, perform the necessary changes in the popover, then click outside the popover to save the changes.

  • To remove a property field, click the (pencil) icon next to it, click Delete in the popover, then click Delete Field.

  • To reorder property fields, use the (drag handle) icon.

跨應用程式的屬性

屬性欄位可在多個模型的:ref:`表單檢視 <studio/views/general/form>`中定義。設定後,該屬性將由所有連結到相同*父項*的記錄共用。

應用程式

模型

上級

會計

資產/收入認列

貸款

資產模型

日記帳

表現評核

員工表現評核

部門

批核

申請批准

類別

客戶關係

潛在客戶/商機

Sales team

員工

員工

公司

活動

活動報名

活動

車隊

車輛

車輛型號

前台

前台訪客

站點

幫助台

工單

幫助台團隊

庫存

批次/序號

調撥

批次調撥

產品變體

作業類型

作業類型

知識庫

知識庫文章

上層文章

保養維護

保養維護設備

設備類別

會議室

房間

辦公室

薪酬管理

員工

Payslip

公司

Structure

規劃

班次

角色

專案/外勤服務

任務

專案

招聘

应聘者

职位

候選人

职位

公司

公司

維修

Repair order

公司

:guilabel:`銷售`等

商品

類別

備註

以下模型不依賴任何*父項*,並適用於所有記錄:

  • 聯絡人`應用程式中的:doc:`聯絡人表單 <../../../applications/essentials/contacts>

  • 電郵推廣`應用程式中的:ref:`郵寄清單聯絡人 <marketing/mailing-list/contacts>