ドット連結で表示させたフィールドを該当のテーブルのフォームでのみ読み取り専用にする方法について

Toshikazu
Tera Contributor

開発フォーラムの皆様

 

お世話にになります。

表題について教えてください。

 

ドット連結で表示させたフィールドを、該当のテーブルのフォームでのみ読み取り専用にしたいです。

 

例えば、sys_userのmanagerのフィールドをドット連結でincidentのフォーム上に表示させるとします。

その際に、incidentのフォーム上では、managerは変更させたくないため、
読み取り専用として表示させることを考えています。

 

何か良い方法はありますでしょうか?

UI Policy利用をすぐに思いつきましたが、皆さんのお考えをお聞かせいただければ幸いです。

1 件の受理された解決策

Brad Bowman
Kilo Patron
Kilo Patron

It is recommended to use a UI Policy to make a field Read Only, Mandatory, or Visible/Hidden.  I added Caller.Manager to my incident form

BradBowman_0-1704899218021.png

then created a UI Policy with a UI Policy Action to make it read only - this only applies to the Incident table, so Manager will still be editable on the user form and elsewhere

BradBowman_1-1704899318601.png

BradBowman_2-1704899370601.png

BradBowman_3-1704899396545.png

 

 

 

 

元の投稿で解決策を見る

2件の返信2

Brad Bowman
Kilo Patron
Kilo Patron

It is recommended to use a UI Policy to make a field Read Only, Mandatory, or Visible/Hidden.  I added Caller.Manager to my incident form

BradBowman_0-1704899218021.png

then created a UI Policy with a UI Policy Action to make it read only - this only applies to the Incident table, so Manager will still be editable on the user form and elsewhere

BradBowman_1-1704899318601.png

BradBowman_2-1704899370601.png

BradBowman_3-1704899396545.png

 

 

 

 

Thank you very much.

I use UI Policy.