When i create a new feature in arcmap, the CreatedBy, CreatedDateUTC, UpdatedBy, and UpdatedDateUTC all say null in the attribute editor. I am using a feature service. This was not the case in 2.1.0. Refreshing the map (Blue Circle) is the only way to pull this information in.
I am using onRowCreate and onRowChange events in the Module, but the value doesn't seem to be on the initial argument like it was for 2.1.0. It happens out of the box as well as in my code here below.
<SPAN class="keyword token">protected</SPAN> <SPAN class="keyword token">static</SPAN> <SPAN class="keyword token">async</SPAN> <SPAN class="keyword token">void</SPAN> <SPAN class="token function">onRowCreateEvent</SPAN><SPAN class="punctuation token">(</SPAN>RowChangedEventArgs args<SPAN class="punctuation token">)</SPAN>
<SPAN class="punctuation token">{</SPAN>
<SPAN class="keyword token">long</SPAN> _updateOID <SPAN class="operator token">=</SPAN> args<SPAN class="punctuation token">.</SPAN>Row<SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetObjectID</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="comment token">//Get the layer of the selected item</SPAN>
FeatureClass newFC <SPAN class="operator token">=</SPAN> <SPAN class="punctuation token">(</SPAN>FeatureClass<SPAN class="punctuation token">)</SPAN>args<SPAN class="punctuation token">.</SPAN>Row<SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetTable</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">string</SPAN> updateItemName <SPAN class="operator token">=</SPAN> newFC<SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetDefinition</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetAliasName</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
FeatureLayer firstFeatureLayer <SPAN class="operator token">=</SPAN> FeatureServiceManagement<SPAN class="punctuation token">.</SPAN><SPAN class="token function">GetFeatureLayer</SPAN><SPAN class="punctuation token">(</SPAN>updateItemName<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="comment token">//Load the inspector </SPAN>
<SPAN class="keyword token">await</SPAN> inspr<SPAN class="punctuation token">.</SPAN><SPAN class="token function">LoadAsync</SPAN><SPAN class="punctuation token">(</SPAN>firstFeatureLayer<SPAN class="punctuation token">,</SPAN> _updateOID<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="comment token">//These are all now NULL </SPAN>
<SPAN class="keyword token">string</SPAN> CreatedDateUTC <SPAN class="operator token">=</SPAN> inspr<SPAN class="punctuation token">[</SPAN><SPAN class="string token">"CreatedDateUTC"</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">string</SPAN> CreatedBy <SPAN class="operator token">=</SPAN> inspr<SPAN class="punctuation token">[</SPAN><SPAN class="string token">"CreatedBy"</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">string</SPAN> UpdatedDateUTC <SPAN class="operator token">=</SPAN> inspr<SPAN class="punctuation token">[</SPAN><SPAN class="string token">"UpdatedDateUTC "</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="keyword token">string</SPAN> UpdatedBy <SPAN class="operator token">=</SPAN> inspr<SPAN class="punctuation token">[</SPAN><SPAN class="string token">"UpdatedBy"</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>