<?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: CreoJS API Reading files from network drives in Customization</title>
    <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1054009#M14739</link>
    <description>&lt;DIV class="salesforce_html_fragment taglinks"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;You followed this settings:&lt;/P&gt;
&lt;P&gt;Not sure, but web based apps have no access to file folders, make sure to add the config path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="salesforce_html_fragment taglinks"&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure of setting config options and creo_js_app.conf correctly:
&lt;UL&gt;
&lt;LI&gt;config options:
&lt;UL&gt;
&lt;LI&gt;web_link_file_read yes&lt;/LI&gt;
&lt;LI&gt;web_link_file_write yes&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;creo_js_app.conf:
&lt;UL&gt;
&lt;LI&gt;readable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;LI&gt;writable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;STRONG&gt;Information of&amp;nbsp; creo_js_app.conf​​​:&lt;/STRONG&gt;&amp;nbsp;
&lt;UL&gt;
&lt;LI&gt;The configuration file for the Creo.JS setting&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;ONLY&lt;/STRONG&gt; limited options are introduced in the Creo.JS user guide.&lt;/LI&gt;
&lt;LI&gt;It is loaded automatically from the current working directory when launching Creo Parametric&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Feb 2026 03:36:55 GMT</pubDate>
    <dc:creator>RPN</dc:creator>
    <dc:date>2026-02-06T03:36:55Z</dc:date>
    <item>
      <title>CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052215#M14705</link>
      <description>&lt;P&gt;Hello, is there any possibility to read files from network drives?&lt;/P&gt;
&lt;LI-CODE lang="java"&gt;try {
  print(readFileAsString("\\\\10.170.84.24\\Standard\\ProE_standard\\Relace\\Relace PRT.txt"));
} catch (e) {
  print("FAILED: " + e);
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;BR /&gt;I need to read fresh relations so all models actual relations. The only one place in our company provides relations is network drive.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 13:28:50 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052215#M14705</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-26T13:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052217#M14706</link>
      <description>&lt;P&gt;Result of using provided code:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ilyachaban_0-1769434291085.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/133832i105435A082AFA57E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ilyachaban_0-1769434291085.png" alt="ilyachaban_0-1769434291085.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 13:31:36 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052217#M14706</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-26T13:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052296#M14710</link>
      <description>&lt;P&gt;Do you have&amp;nbsp;web_link_file_read config option set to yes?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ptc.com/en/support/article/CS156638" target="_blank"&gt;https://www.ptc.com/en/support/article/CS156638&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 21:44:21 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052296#M14710</guid>
      <dc:creator>RandyJones</dc:creator>
      <dc:date>2026-01-26T21:44:21Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052353#M14711</link>
      <description>&lt;P&gt;Yes, I do and it works if I read from &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; or C: drives. But when i reach out to network drive it can't read a thing&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 05:43:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052353#M14711</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-27T05:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052479#M14712</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/314946"&gt;@ilyachaban&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Yes, I do and it works if I read from &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; or C: drives. But when i reach out to network drive it can't read a thing&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It probably has to be a mapped drive.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jan 2026 16:24:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052479#M14712</guid>
      <dc:creator>RandyJones</dc:creator>
      <dc:date>2026-01-27T16:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052538#M14713</link>
      <description>&lt;P&gt;Did you also tried without the.blank character, here&lt;/P&gt;
&lt;P&gt;„Replace PRT.txt“ with&amp;nbsp;„Replace&lt;FONT style="font-family: inherit; -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%;" color="#FF0000"&gt;_&lt;/FONT&gt;&lt;SPAN&gt;PRT.txt“&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;try {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;print(readFileAsString("\\\\10.170.84.24\\Standard\\ProE_standard\\Relace\\Relace_PRT.txt"));&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;} catch (e) {&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &lt;/SPAN&gt;print("FAILED: " + e);&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Or replace the IP by the hostname, or copy the file to a local one or change the directory first.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Is&amp;nbsp;readFileAsString Unicode?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 02:59:31 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052538#M14713</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-01-28T02:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052573#M14714</link>
      <description>&lt;P&gt;I've tried 3 ways to call the drive. One of them was mapped drive, second one was ip adress, and third one UNC path. Nothing worked. But if i use local &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; or C: drive it reads file fine.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 08:12:12 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052573#M14714</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-28T08:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052575#M14715</link>
      <description>&lt;P&gt;Renaming file doesn't do anything due to reading same file but from C: or &lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; drive works without problem&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 08:12:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052575#M14715</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-28T08:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052578#M14716</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ilyachaban_0-1769588024801.png" style="width: 400px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/133960i8D3F360150524D38/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ilyachaban_0-1769588024801.png" alt="ilyachaban_0-1769588024801.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Does network drive counts as local????&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jan 2026 08:14:49 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1052578#M14716</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-01-28T08:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1054009#M14739</link>
      <description>&lt;DIV class="salesforce_html_fragment taglinks"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;You followed this settings:&lt;/P&gt;
&lt;P&gt;Not sure, but web based apps have no access to file folders, make sure to add the config path.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class="salesforce_html_fragment taglinks"&gt;
&lt;UL&gt;
&lt;LI&gt;Make sure of setting config options and creo_js_app.conf correctly:
&lt;UL&gt;
&lt;LI&gt;config options:
&lt;UL&gt;
&lt;LI&gt;web_link_file_read yes&lt;/LI&gt;
&lt;LI&gt;web_link_file_write yes&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;creo_js_app.conf:
&lt;UL&gt;
&lt;LI&gt;readable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;LI&gt;writable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;STRONG&gt;Information of&amp;nbsp; creo_js_app.conf​​​:&lt;/STRONG&gt;&amp;nbsp;
&lt;UL&gt;
&lt;LI&gt;The configuration file for the Creo.JS setting&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;ONLY&lt;/STRONG&gt; limited options are introduced in the Creo.JS user guide.&lt;/LI&gt;
&lt;LI&gt;It is loaded automatically from the current working directory when launching Creo Parametric&lt;/LI&gt;
&lt;/UL&gt;
&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 03:36:55 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1054009#M14739</guid>
      <dc:creator>RPN</dc:creator>
      <dc:date>2026-02-06T03:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: CreoJS API Reading files from network drives</title>
      <link>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1054023#M14740</link>
      <description>&lt;UL&gt;
&lt;LI&gt;creo_js_app.conf:
&lt;UL&gt;
&lt;LI&gt;readable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;LI&gt;writable_folders = ${CWD}; C:\xxx\xxx;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;IT WORKED. Thank you so much.&lt;BR /&gt;&lt;BR /&gt;P.S.&lt;/P&gt;
&lt;P data-start="0" data-end="86"&gt;I want the PTC community to understand just how close I am to swearing in this thread.&lt;/P&gt;
&lt;P data-start="88" data-end="402"&gt;I’ve spent &lt;STRONG data-start="99" data-end="112"&gt;two weeks&lt;/STRONG&gt; on what should be a basic task: &lt;STRONG data-start="145" data-end="173"&gt;reading a file from disk&lt;/STRONG&gt;. The blocker is a config file that has &lt;STRONG data-start="213" data-end="233"&gt;no documentation&lt;/STRONG&gt;—not even the basics. There’s no reference for its &lt;STRONG data-start="284" data-end="294"&gt;syntax&lt;/STRONG&gt;, no list of &lt;STRONG data-start="307" data-end="318"&gt;options&lt;/STRONG&gt;, no explanation of what it controls or how it’s supposed to be used. Just… nothing.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Feb 2026 07:20:40 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Customization/CreoJS-API-Reading-files-from-network-drives/m-p/1054023#M14740</guid>
      <dc:creator>ilyachaban</dc:creator>
      <dc:date>2026-02-06T07:20:40Z</dc:date>
    </item>
  </channel>
</rss>

