Get a first look at what's coming. The Developer Passport Australia Release Preview kicks off March 12. Dive in! 

Unable to make expense type field in pm_project_task table in workspace list view.

Sounderrajan K
Tera Contributor

Unable to make expense type field in pm_project_task table in workspace list view.

 

The requirement is whenever user try to change the expense type field from some value to none, we should not allow them in workspace list view also.We have configured a client script to make the expense type as mandatory and also configured a oncelledit client script to make expense type as mandatory in list view.However that client script is working on normal project task table list view not in workspace list view.Kindly find the attached screen for reference.

 

Please anyone suggest some way to make expense type field as mandatory in workspace list view.

5 REPLIES 5

Ankur Bawiskar
Tera Patron

@Sounderrajan K 

onCell edit won't work on workspace list

Also I believe you can try to use before update BR and see if value changing from Some value to None then abort the update

Try that and let us know

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Yes we have tried before BR that if expense type changes to none, then abort action, However it also not working in list view. But the client script which wrote is working on workspace form view.

 

Regards,

Sounder Rajan K

@Sounderrajan K 

I think you will have to disable the list edit by exploring the UI builder part

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Hi Ankur,

 

Thanks for the input. However, we need to allow users to change the value from OPEX to CAPEX or CAPEX to OPEX. We should not allow them to set it to None, so I believe disabling list editing would not work in this case.

 

Regards,

Sounder Rajan K