Hi.Is there a non-programatic way to add $ConflictAction field to newly created documents?
Subject: Trying to avoid save conflict. Need Help.
Hello Seva ,
I’m not clear with the Question “Non-Programatic” way to add $Conflictaction.
This field will be created automatically if you enable the form property Merge Replication Conflicts" its value depends based on the value you select in that property.
If you are trying to add this field to the documents programatically by accessing the documents as backend documents then you can use below topics of how to acces “$” fields.
There are two ways accessing “$” fields.
-
getitemvalue or setitemvalue.
-
using “~” while accessing the $ field values.
Eg:
doc.~$conflictaction(0) gets you the value of the field and in the same way you can set the field value aswell.
Hope this wil help you.
Regards ,
Ravi K Daparthi