<?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 Re: How do I import ContentNotes with DTV? in DemandTools</title>
    <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/2435#M1335</link>
    <description>&lt;P&gt;For posterity:&lt;/P&gt;&lt;P&gt;You can accomplish this with Excel on Windows (MacOS does not allow for this)&lt;/P&gt;&lt;P&gt;• Open a new Excel doc&lt;BR /&gt;• Go to the Data tab.&lt;BR /&gt;• Click on Get Data &amp;gt; From File &amp;gt; From Folder.&lt;BR /&gt;• Then pick the folder you want to export from.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Dec 2024 19:38:39 GMT</pubDate>
    <dc:creator>AnthonyValidity</dc:creator>
    <dc:date>2024-12-04T19:38:39Z</dc:date>
    <item>
      <title>How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1926#M1058</link>
      <description>&lt;P&gt;Are there any posts already written for DTV on how to insert notes with to the&amp;nbsp;&lt;SPAN&gt;ContentNote object?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I've been trying to figure out to create new notes for the ContentNote object, which appears to require a file reference when importing.&amp;nbsp; &amp;nbsp;Is there a way to do this import with DTV?&lt;/P&gt;&lt;P&gt;The only workaround I've found so far is to import to legacy Notes, and then use Salesforce Lab's Magic Mover to convert the classic notes to the new lightning notes.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2024 16:55:11 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1926#M1058</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2024-04-10T16:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1929#M1061</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/276"&gt;@michael-wtds&lt;/a&gt;&amp;nbsp;- I know this was discussed during yesterday's Office Hours briefly but I wanted to follow up. This feature will be available on the upcoming 5.37 DTV release. I'll be able to provide further detail as soon as the team is done putting the finishing touches on it. I'll follow up as soon as it's released!&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2024 19:57:03 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1929#M1061</guid>
      <dc:creator>Pugs_Validity</dc:creator>
      <dc:date>2024-04-12T19:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1962#M1085</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/276"&gt;@michael-wtds&lt;/a&gt;&amp;nbsp;- Checking in to make sure you saw yesterday's release of 5.37.1. You can now import content documents. Instructions are outlined on this &lt;A href="https://knowledge.validity.com/s/articles/Import-Attachments-and-Content-Documents-to-Salesforce?language=en_US" target="_self"&gt;document&lt;/A&gt;. Let us know if you have any questions!&lt;/P&gt;</description>
      <pubDate>Fri, 03 May 2024 20:22:59 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1962#M1085</guid>
      <dc:creator>Pugs_Validity</dc:creator>
      <dc:date>2024-05-03T20:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1963#M1086</link>
      <description>&lt;P&gt;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/1010"&gt;@Pugs_Validity&lt;/a&gt;&amp;nbsp;Thank you for bringing this to my attention, and I hope to test this out later this week.&lt;BR /&gt;&lt;BR /&gt;It does look like I'm going to need to find some scripting, probably with python, to create individual text files from an excel notes field.&amp;nbsp; So, if you have any solutions for doing this, please let me know.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;And if I find anything that works, I'll be sure to post it for reference.&lt;BR /&gt;&lt;BR /&gt;All the best,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Mon, 06 May 2024 13:43:13 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/1963#M1086</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2024-05-06T13:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/2410#M1315</link>
      <description>&lt;P&gt;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/1010"&gt;@Pugs_Validity&lt;/a&gt;&amp;nbsp;I finally had a chance to put the content notes import to work.&amp;nbsp; &amp;nbsp;The hardest part is creating the individual files from excel, but I did finally get a python script to work to create my individual files.&lt;BR /&gt;&lt;BR /&gt;For reference, my source xlsx file had the following 2 columns that were used to create individual files using python -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ContentNotePath&lt;/STRONG&gt;&lt;BR /&gt;D:\WTDS LLC\Clients\XYZ\GTE Nashville Dec 8-11 2024\1.txt&lt;BR /&gt;D:\WTDS LLC\Clients\XYZ\GTE Nashville Dec 8-11 2024\2.txt&lt;BR /&gt;D:\WTDS LLC\Clients\XYZ\GTE Nashville Dec 8-11 2024\3.txt&lt;BR /&gt;...&lt;/P&gt;&lt;P&gt;And the file contents are in the column with this example data, where html paragraphs were used to create line breaks for the note body -&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note Content&lt;/STRONG&gt;&lt;BR /&gt;Company / Organization Name&amp;lt;p&amp;gt;ABC Wealth Advisors&amp;lt;p&amp;gt;&lt;A href="https://abcwealth.com/" target="_blank" rel="noopener"&gt;https://abcwealth.com/&lt;/A&gt;&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;Mike Peach&amp;lt;p&amp;gt;Head of Portfolio Management&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;Business Descrip....&lt;BR /&gt;&lt;BR /&gt;Company / Organization Name&amp;lt;p&amp;gt;XYZ Wealth, LLC&amp;lt;p&amp;gt;&lt;A href="http://www.xyzwealth.com" target="_blank"&gt;http://www.xyzwealth.com&lt;/A&gt;&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;Sarah Connor&amp;lt;p&amp;gt;CEO&amp;lt;p&amp;gt;...&lt;BR /&gt;&lt;BR /&gt;Company / Organization Name&amp;lt;p&amp;gt;AAA Trust Company&amp;lt;p&amp;gt;&lt;A href="https://AAATrust.com/" target="_blank"&gt;https://AAATrust.com/&lt;/A&gt;&amp;lt;p&amp;gt;&amp;lt;p&amp;gt;Ace Ventura&amp;lt;p&amp;gt;VP of Adviser...&lt;/P&gt;&lt;P&gt;And then this is the python script that created individual txt files -&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;Pyton-CreateNoteFiles.py&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; pandas &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; pd&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;import&lt;/SPAN&gt;&lt;SPAN&gt; os&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Load the Excel file&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;# Using a raw string to handle file path&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;file_path = &lt;/SPAN&gt;&lt;SPAN&gt;r&lt;/SPAN&gt;&lt;SPAN&gt;"D:&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;WTDS LLC&lt;/SPAN&gt;&lt;SPAN&gt;\\&lt;/SPAN&gt;&lt;SPAN&gt;Clients&lt;/SPAN&gt;&lt;SPAN&gt;\\XYZ\\GTE Nashville Dec 8-11 2024\\&lt;/SPAN&gt;&lt;SPAN&gt;ContentNotes.xlsx"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;df = pd.read_excel(file_path)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;# Loop through each row in the DataFrame to create individual text files&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;for&lt;/SPAN&gt;&lt;SPAN&gt; index, row &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; df.iterrows():&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Get the file path and content&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; note_path = row[&lt;/SPAN&gt;&lt;SPAN&gt;'ContentNotePath'&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; note_content = row[&lt;/SPAN&gt;&lt;SPAN&gt;'Note Content'&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;# Ensure that the directory for the file path exists&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; directory = os.path.dirname(note_path)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; os.makedirs(directory, &lt;/SPAN&gt;&lt;SPAN&gt;exist_ok&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;True&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;try&lt;/SPAN&gt;&lt;SPAN&gt;:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;with&lt;/SPAN&gt; &lt;SPAN&gt;open&lt;/SPAN&gt;&lt;SPAN&gt;(note_path, &lt;/SPAN&gt;&lt;SPAN&gt;'w'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;encoding&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;'utf-8'&lt;/SPAN&gt;&lt;SPAN&gt;) &lt;/SPAN&gt;&lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; file:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; file.write(note_content)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;except&lt;/SPAN&gt; &lt;SPAN&gt;Exception&lt;/SPAN&gt; &lt;SPAN&gt;as&lt;/SPAN&gt;&lt;SPAN&gt; e:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;"Failed to write file &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;note_path&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;SPAN&gt;e&lt;/SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;"All text files have been created successfully."&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 04:15:18 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/2410#M1315</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2024-11-20T04:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I import ContentNotes with DTV?</title>
      <link>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/2435#M1335</link>
      <description>&lt;P&gt;For posterity:&lt;/P&gt;&lt;P&gt;You can accomplish this with Excel on Windows (MacOS does not allow for this)&lt;/P&gt;&lt;P&gt;• Open a new Excel doc&lt;BR /&gt;• Go to the Data tab.&lt;BR /&gt;• Click on Get Data &amp;gt; From File &amp;gt; From Folder.&lt;BR /&gt;• Then pick the folder you want to export from.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Dec 2024 19:38:39 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/how-do-i-import-contentnotes-with-dtv/m-p/2435#M1335</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2024-12-04T19:38:39Z</dc:date>
    </item>
  </channel>
</rss>

