iLogic規則瀏覽列中有一個指令可以取用、設定iProperty的欄位資料:
iProperties.Value("頁籤","欄位名稱"),
可以用來編輯 iProperties 的欄位,如下:
瀏覽器中有列出部分欄位的Code,
例如 Summary 的 Subject,
但是還有點很多其他欄位的 code 沒有列出來,
例如像"專案"頁籤裡的"建立日期","Creation Time",
還好有高手整理出來相關表格如下:
在 Project 頁籤中的欄位 code
Property Name | Type | iLogic code |
Authority | String | iProperties.Value("Project", "Authority") |
Catalog Web Link | String | iProperties.Value("Project", "Catalog Web Link") |
Categories | String | iProperties.Value("Project", "Categories") |
Checked By | String | iProperties.Value("Project", "Checked By") |
Cost | Currency | iProperties.Value("Project", "Cost") |
Cost Center | String | iProperties.Value("Project", "Cost Center") |
Creation Time | Date | iProperties.Value("Project", "Creation Time") |
Date Checked | Date | iProperties.Value("Project", "Date Checked") |
Defer Updates | Boolean | iProperties.Value("Project", "Defer Updates") |
Description | String | iProperties.Value("Project", "Description") |
Design Status | Long | iProperties.Value("Project", "Design Status") |
Designer | String | iProperties.Value("Project", "Designer") |
Document SubType | String | iProperties.Value("Project", " Document SubType") |
Document SubType Name | String | iProperties.Value("Project", " Document SubType Name") |
Engineer | String | iProperties.Value("Project", "Engineer") |
Engr Approved By | String | iProperties.Value("Project", "Engr Approved By") |
Engr Date Approved | Date | iProperties.Value("Project", "Engr Date Approved") |
External Property Revision Id | String | iProperties.Value("Project", "External Property Revision Id") |
Language | String | iProperties.Value("Project", "Language") |
Manufacturer | String | iProperties.Value("Project", "Manufacturer") |
Material | String | iProperties.Value("Project", "Material") |
Mfg Approved By | String | iProperties.Value("Project", "Mfg Approved By") |
Mfg Date Approved | Date | iProperties.Value("Project", "Mfg Date Approved") |
Parameterized Template | Boolean | iProperties.Value("Project", "Parameterized Template") |
Part Icon | IPictureDisp | iProperties.Value("Project", "Part Icon") |
Part Number | String | iProperties.Value("Project", "Part Number") |
Part Property Revision Id | String | iProperties.Value("Project", "Part Property Revision Id") |
Project | String | iProperties.Value("Project", "Project") |
Proxy Refresh Date | Date | iProperties.Value("Project", "Proxy Refresh Date") |
Size Designation | String | iProperties.Value("Project", "Size Designation") |
Standard | String | iProperties.Value("Project", "Standard") |
Standard Revision | String | iProperties.Value("Project", "Standard Revision") |
Standards Organization | String | iProperties.Value("Project", "Standard Organization") |
Stock Number | String | iProperties.Value("Project", "Stock Number") |
Template Row | String | iProperties.Value("Project", "Template Row") |
User Status | String | iProperties.Value("Project", "User Status") |
Vendor | String | iProperties.Value("Project", "Vendor") |
Weld Material | String | iProperties.Value("Project", "Weld Material") |
可以從表格中找出對應欄位的Code,
如此一來就可以控制 iProperty 的所有欄位資料。
參考來源: