<?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: d:path type and variable error in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234963#M188093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This functionality can be accomplished by making the following changes:&lt;BR /&gt;&lt;BR /&gt;1. File CustomModel.xml&lt;BR /&gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&lt;BR /&gt;2. File web-client-config-custom.xml&lt;BR /&gt;&lt;BR /&gt;&amp;lt;show-property name="custom:EditLink" component-generator="LinkGenerator" /&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is nice! Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question though, if I want (in your example) custom:EditLink to be a link to a text file in another space (so when you view properties, the property EditLink references to say test.txt in Company Home -&amp;gt; Files -&amp;gt; Test.txt) I have a .js to get the url, something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var ref = document.properties["custom:ref"];&lt;BR /&gt;if (ref == "Test")//user enters test in the text field&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var refFolder = companyhome.childByNamePath("/Files/Test.txt");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ref = refFolder.url;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.properties["custom:ref"] = ref; //change it to the test.txt url&lt;BR /&gt;}&lt;BR /&gt;document.save();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the link seems legit in the properties screen, when I click on it, it doesn't open the right file, just opens a blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Jun 2010 12:28:25 GMT</pubDate>
    <dc:creator>rbkprod</dc:creator>
    <dc:date>2010-06-03T12:28:25Z</dc:date>
    <item>
      <title>d:path type and variable error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234961#M188091</link>
      <description>Hi,This problem and question is the &amp;lt;type&amp;gt;d&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ath&amp;lt;/type&amp;gt; variable valueRunning a rule that adds the above property to a document with the default value of http://localhost/editor/editpage.php results in a errorFailed to run Actions due to error: The property value is not compatible with t</description>
      <pubDate>Mon, 31 May 2010 10:56:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234961#M188091</guid>
      <dc:creator>userfresco</dc:creator>
      <dc:date>2010-05-31T10:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: d:path type and variable error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234962#M188092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This functionality can be accomplished by making the following changes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. File CustomModel.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. File web-client-config-custom.xml&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;show-property name="custom:EditLink" component-generator="LinkGenerator" /&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jun 2010 08:25:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234962#M188092</guid>
      <dc:creator>userfresco</dc:creator>
      <dc:date>2010-06-02T08:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: d:path type and variable error</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234963#M188093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This functionality can be accomplished by making the following changes:&lt;BR /&gt;&lt;BR /&gt;1. File CustomModel.xml&lt;BR /&gt;&lt;BR /&gt;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;BR /&gt;&lt;BR /&gt;2. File web-client-config-custom.xml&lt;BR /&gt;&lt;BR /&gt;&amp;lt;show-property name="custom:EditLink" component-generator="LinkGenerator" /&amp;gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is nice! Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a question though, if I want (in your example) custom:EditLink to be a link to a text file in another space (so when you view properties, the property EditLink references to say test.txt in Company Home -&amp;gt; Files -&amp;gt; Test.txt) I have a .js to get the url, something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;var ref = document.properties["custom:ref"];&lt;BR /&gt;if (ref == "Test")//user enters test in the text field&lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var refFolder = companyhome.childByNamePath("/Files/Test.txt");&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ref = refFolder.url;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; document.properties["custom:ref"] = ref; //change it to the test.txt url&lt;BR /&gt;}&lt;BR /&gt;document.save();&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the link seems legit in the properties screen, when I click on it, it doesn't open the right file, just opens a blank.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any thoughts?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Jun 2010 12:28:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/d-path-type-and-variable-error/m-p/234963#M188093</guid>
      <dc:creator>rbkprod</dc:creator>
      <dc:date>2010-06-03T12:28:25Z</dc:date>
    </item>
  </channel>
</rss>

