<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Setting Default Values to Variables in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436429#M19252</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All;&lt;/P&gt;&lt;P&gt;Still new to ArcPro and have been using QGIS so forgive me if I am missing an obvious answer here.&lt;/P&gt;&lt;P&gt;I am trying to set certain fields in a feature class to a variable so that when they are filled out in Collector the data collector doesn't have to fill out things like "User Name" and "Edit Data" every time and I cannot figure out how to do this. In QGIS if I set a fields default value to SQL and "now()" When a new feature is created that field will auto populate with the current datatime stamp. Also @user_account_name or @user_full_name&amp;nbsp;as a default will auto populate those fields with the user name or user's full name in those fields.&lt;/P&gt;&lt;P&gt;Is there a way to do that in ArcPro for feature classes? Do the same variables work? Is there a list of default value variables for Esri products?&lt;/P&gt;&lt;P&gt;Thanks;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Jul 2019 18:16:48 GMT</pubDate>
    <dc:creator>TylerVeinot2</dc:creator>
    <dc:date>2019-07-09T18:16:48Z</dc:date>
    <item>
      <title>Setting Default Values to Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436429#M19252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All;&lt;/P&gt;&lt;P&gt;Still new to ArcPro and have been using QGIS so forgive me if I am missing an obvious answer here.&lt;/P&gt;&lt;P&gt;I am trying to set certain fields in a feature class to a variable so that when they are filled out in Collector the data collector doesn't have to fill out things like "User Name" and "Edit Data" every time and I cannot figure out how to do this. In QGIS if I set a fields default value to SQL and "now()" When a new feature is created that field will auto populate with the current datatime stamp. Also @user_account_name or @user_full_name&amp;nbsp;as a default will auto populate those fields with the user name or user's full name in those fields.&lt;/P&gt;&lt;P&gt;Is there a way to do that in ArcPro for feature classes? Do the same variables work? Is there a list of default value variables for Esri products?&lt;/P&gt;&lt;P&gt;Thanks;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:16:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436429#M19252</guid>
      <dc:creator>TylerVeinot2</dc:creator>
      <dc:date>2019-07-09T18:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Default Values to Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436430#M19253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/tool-reference/data-management/assign-default-to-field.htm"&gt;https://pro.arcgis.com/en/pro-app/tool-reference/data-management/assign-default-to-field.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you should also take a look at domains:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/view-and-edit-fields-domains-and-subtypes.htm"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/view-and-edit-fields-domains-and-subtypes.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And maybe attribute rules:&amp;nbsp;&amp;nbsp;&lt;A href="https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm"&gt;https://pro.arcgis.com/en/pro-app/help/data/geodatabases/overview/an-overview-of-attribute-rules.htm&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Jul 2019 18:21:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436430#M19253</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2019-07-09T18:21:53Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Default Values to Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436431#M19254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply, it looks like I need to do this through attribute rules and got it working for the datetime stamps but I cannot find a way to pull the current user and plug that variable into the user field. Is there a list of common use variables for field expressions?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 12:02:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436431#M19254</guid>
      <dc:creator>TylerVeinot2</dc:creator>
      <dc:date>2019-07-10T12:02:07Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Default Values to Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436432#M19255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since you're working with a service in Collector, it sounds like you're looking for the built-in functionality of keeping track of who is editing.&amp;nbsp; Check out&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION1_030A9819DFF7498E9DFCDE6030E5FFBA"&gt;https://doc.arcgis.com/en/arcgis-online/manage-data/manage-hosted-feature-layers.htm#ESRI_SECTION1_030A9819DFF7498E9DFCDE6030E5FFBA&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/452701_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:16:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/setting-default-values-to-variables/m-p/436432#M19255</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2019-07-10T13:16:01Z</dc:date>
    </item>
  </channel>
</rss>

