Make Variables Field - Read Only in Catalog Task Default View

hanaphouse
Giga Guru

I have created a UI Policies to set Due Date and Variables as Read-only for the sc_task table. However, the Variables are not disabled in Default View.

find_real_file.png

Here's one of the Catalog Tasks. As you can see, the Due Date is set as Read-only, however, the Variables are not.

find_real_file.png

1 ACCEPTED SOLUTION

Hi,

Ok, for an entire platform fix, you can create an onLoad client script on the sc_task table with script as:

 g_form.setVariablesReadOnly(true);

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

View solution in original post

7 REPLIES 7

sachin_namjoshi
Kilo Patron
Kilo Patron

Please make sure that you checked "applies to catalog task " on your catalog UI policy.

 

find_real_file.png

 

REgards,

Sachin

I do not see this in the UI policy option in Orlando. Am I missing some steps?

Allen Andreas
Administrator
Administrator

Hi again hanaphouse! 🙂

Are you wanting to permanently have the variables read only in every catalog task ever...in your whole instance....all the time?

Or would this be considered more of a case by case type thing?

If so, on your actual catalog item, the UI Policy would need to be made there, select that it should be effective on catalog tasks and set the literal variables (each of them) to read only there.

Please mark reply as Helpful/Correct, if applicable. Thanks!


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!

I want to implement this policy on all Catalog Tasks across the whole instance (this may change though in the future).

  • Variables should be visible
  • Variables should be read-only
  • Any changes to the information shall be added by the fulfilling group in the Work Notes.