Hi All, Want to make a date field readonly but it should allow calender to choose date in workspace

Venkatesh098765
Tera Contributor

Hi All, I Want to make a date field readonly or the input box hould be disabled but it should allow calender to choose date in workspace. I tried with ui policies and client scripts but the calender is also becoming readonly in workspace any approach or suggestion here plz?

9 REPLIES 9

@lakshaysharma 

got it.

in that case your script will work in native UI but not sure if it works in Workspace

Did you try that in workspace?

 

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

Not applicable

@Ankur Bawiskar 

Yes you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered. For a fully Workspace safe solution using UI Builder properties or the Workspace compatible client script approach would be more reliable.

Not applicable

@Ankur Yes, you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered. For a fully Workspace-safe solution, using UI Builder properties or the Workspace compatible client script approach would be more reliable.

Not applicable

@Ankur Bawiskar 

Yes, you are right my script works reliably in Classic/Native UI, but in Workspace it depends on how the field is rendered.

Not applicable

@Ankur Bawiskar Yes, you are right; my script works reliably in the Classic-Native UI, but in Workspace it depends on how the field is rendered.