Is it possible to write to a dot-walked field on a form?

Stephen W_
Giga Guru

Originally, I thought this was impossible..  

However, it was implied that my belief was incorrect and I was even Demoed a case where this can work.

Now, when trying to make this happen, I'm at a loss.

Example.   Say I have a reference field to an asset, and I have another dot-walked field on this form that displays the asset's assigned_to.

I want to be able to change the assigned_to directly from that form.     It's writable on the asset, but readonly on this form.

Is this possible? What am I missing?

Thanks,

1 ACCEPTED SOLUTION

manikorada
ServiceNow Employee
ServiceNow Employee

Stephen,



Also, if the field 'Asset' on the form is readonly may be using the dictionary 'Read Only', then the derived fields from that reference will also be readonly.


View solution in original post

8 REPLIES 8

manikorada
ServiceNow Employee
ServiceNow Employee

Stephen,



Is your Derived field, in this case the 'Assigned To' form is locked?


Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Stephen,



Any changes made to the field will change the data in the reference table. There should be some UI Policy or client script which is making the field read only on the other table. Can you please check the same.


I want to do the exact reverse. How do I stop the update of a parent field value?



This is the scenario



Tab 1 - Open a record with a dot walked field.


Tab 2 - Open the record that is dot waked (parent) and update field in above step.


Go to tab-1 and save the record.



The new changes done on the parent record is lost. Is there a way to overcome this? The field is readonly on the tab 1 table record.


manikorada
ServiceNow Employee
ServiceNow Employee

Stephen,



Also, if the field 'Asset' on the form is readonly may be using the dictionary 'Read Only', then the derived fields from that reference will also be readonly.