<?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 SetSourceModifiedTime() does not have any effect in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/setsourcemodifiedtime-does-not-have-any-effect/m-p/1300204#M9943</link>
    <description>&lt;P&gt;Changing&amp;nbsp; the modified Date of a LayoutProjectItem with&amp;nbsp;SetSourceModifiedTime() does not have any effect at all. Bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;DateTime? modifiedDate = ...
if (modifiedDate.HasValue)
{
   var timeInstant = new TimeInstant
   {
      Time = modifiedDate.Value
   };
				 
   ((IProjectItemEdit)layoutProjectItem).SetSourceModifiedTime(timeInstant);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Context: We downloading a Layout PortalItem into Pro and creating a LayoutProjectItem. We want to sync the modified date. Saving the LayoutProjectItem with Pro Tools also does not change the ModifiedDate at all.&lt;/P&gt;</description>
    <pubDate>Fri, 16 Jun 2023 13:36:40 GMT</pubDate>
    <dc:creator>marco_vertigis</dc:creator>
    <dc:date>2023-06-16T13:36:40Z</dc:date>
    <item>
      <title>SetSourceModifiedTime() does not have any effect</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/setsourcemodifiedtime-does-not-have-any-effect/m-p/1300204#M9943</link>
      <description>&lt;P&gt;Changing&amp;nbsp; the modified Date of a LayoutProjectItem with&amp;nbsp;SetSourceModifiedTime() does not have any effect at all. Bug?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;DateTime? modifiedDate = ...
if (modifiedDate.HasValue)
{
   var timeInstant = new TimeInstant
   {
      Time = modifiedDate.Value
   };
				 
   ((IProjectItemEdit)layoutProjectItem).SetSourceModifiedTime(timeInstant);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Context: We downloading a Layout PortalItem into Pro and creating a LayoutProjectItem. We want to sync the modified date. Saving the LayoutProjectItem with Pro Tools also does not change the ModifiedDate at all.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jun 2023 13:36:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/setsourcemodifiedtime-does-not-have-any-effect/m-p/1300204#M9943</guid>
      <dc:creator>marco_vertigis</dc:creator>
      <dc:date>2023-06-16T13:36:40Z</dc:date>
    </item>
  </channel>
</rss>

