<?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 triggering inbound rule and reading property from aspect in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/triggering-inbound-rule-and-reading-property-from-aspect/m-p/110111#M77316</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I am currently struggling and trying to find my way around alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been able to add a custom aspect which is visible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did this by adding the aspect to my content model, then making the entry visible in web-client-config.xml.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However now I wish to use the value provided by the user in my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have to admit I am a little flumoxed with all the docs and can't find the exact direction I need to take.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Particularly where I should put it based on the alfresco structure.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Would someone be so kind as to tell me how I should work within the&amp;nbsp; existing framework to do this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a proper way to do this or can I just called (NodeRef)this.nodeService.getProperty… within any class ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like it to be in the same category as aspects such as classifiable but would like to use its property value to run an action.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does this mean I have to create my class under repo/action/executer ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is it possible to also access values for other aspects with my class ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just to clarify, I have the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;config evaluator="aspect-name" condition="cm:heatable"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property-sheet&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;show-property name="cm:heat" display-label-id="heat" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;show-property name="cm:heat_temp" display-label-id="heat_temp" /&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/property-sheet&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/config&amp;gt;&lt;BR /&gt;&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;/CODE&gt;&lt;/PRE&gt;&lt;SPAN&gt;but I want to carry out a calculation based on the temperature value.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Jul 2007 14:30:44 GMT</pubDate>
    <dc:creator>chuck</dc:creator>
    <dc:date>2007-07-27T14:30:44Z</dc:date>
    <item>
      <title>triggering inbound rule and reading property from aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/triggering-inbound-rule-and-reading-property-from-aspect/m-p/110111#M77316</link>
      <description>Hi, I am currently struggling and trying to find my way around alfresco.I have been able to add a custom aspect which is visible.I did this by adding the aspect to my content model, then making the entry visible in web-client-config.xml.However now I wish to use the value provided by the user in my</description>
      <pubDate>Fri, 27 Jul 2007 14:30:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/triggering-inbound-rule-and-reading-property-from-aspect/m-p/110111#M77316</guid>
      <dc:creator>chuck</dc:creator>
      <dc:date>2007-07-27T14:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: triggering inbound rule and reading property from aspect</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/triggering-inbound-rule-and-reading-property-from-aspect/m-p/110112#M77317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok for any pilgrim that might head this way I realised what I was trying to do where 2 entirely separate things however I had them as one in my mind.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Firstly adding my aspect was not a problem. This was the first part. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For the second part you will need to follow the &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://wiki.alfresco.com/wiki/Custom_Action_UI" rel="nofollow noopener noreferrer"&gt;http://wiki.alfresco.com/wiki/Custom_Action_UI&lt;/A&gt;&lt;SPAN&gt; starting from "Implementing the action"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but being as I was not interested in setting the property I only needed to throw in nodeService.getProperty on the property I set up for my aspect within my executeImpl method.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 19:25:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/triggering-inbound-rule-and-reading-property-from-aspect/m-p/110112#M77317</guid>
      <dc:creator>chuck</dc:creator>
      <dc:date>2007-07-30T19:25:52Z</dc:date>
    </item>
  </channel>
</rss>

