Hell yeah - we always like receiving Community Contributions :)<br><br>I had a quick look at the code and it&#39;ll probably be more than a couple of days (especially as you&#39;d need to presumably get up to speed too?)<br>
<br>Depending on what meta-data you want there are different steps, but the gist is to expose org.drools.guvnor.client.rpc.MetaData (constructed from an AssetItem, retrieved from the Repository, and normally only sent to the client-side) to the ContentHandlers&#39; compile method. We could use the AssetItem direct, but alot of the meta-data (especially Categories) is more easily accessed if we populate MetaData. ContentHandlers build the various DRL&#39;s - these would all need changing too to accept MetaData and (depending on whether the auto-inclusion is enabled) add the Metadata.<br>
<br>Feel free to come along to #guvnor IRC channel for a chat.<br><br>You&#39;d probably need to read <a href="http://hudson.jboss.org/hudson/job/droolsjbpm-knowledge/lastSuccessfulBuild/artifact/droolsjbpm-introduction-docs/target/docbook/publish/en-US/html_single/index.html#gettingstarted">this</a> too.<br>
<br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 20 March 2012 12:07,  <span dir="ltr">&lt;<a href="mailto:stephen.masters@me.com" target="_blank">stephen.masters@me.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>So you might be up for adding the functionality to the platform if I build it? I don&#39;t suppose you have any vague guesses at how long it might take for me to develop this functionality, given that I haven&#39;t contributed anything to the project yet? If you reckon it could be just 2 or 3 days effort then it sounds like I should be able to log project time to build it, as it would be valuable to my current client.</div>

<div><br></div><div>Steve</div><div><div><div><br><br>On Mar 19, 2012, at 10:02 PM, Michael Anstis &lt;<a href="mailto:michael.anstis@gmail.com" target="_blank">michael.anstis@gmail.com</a>&gt; wrote:<br><br></div>
<div><blockquote type="cite"><div>The &quot;Metadata&quot; under the &quot;Attributes&quot; tab is stored in the JCR repository and does not form part of the KnowledgeBase.<br><br>You can add metadata that is part of the KnowledgeBase using using the &quot;Show options&quot; at the bottom of the Guided Rule Editor and adding metadata.<br>

 <br>This metadata appears in rules as (for example) @mymetadata and AFAIK is part of the rule metadata accessible from the droolsjbpm-knowledge API.<br><br>Unfortunately there is no way to link the two; however it is a reasonably simple requirement and I&#39;ll happily mentor you to help with a Pull Request.<br>

 <br>With kind regards,<br><br>Mike<br><br><div class="gmail_quote">On 19 March 2012 17:30, Stephen Masters <span dir="ltr">&lt;<a href="mailto:stephen.masters@me.com" target="_blank">stephen.masters@me.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>Hi folks,</div><div><br></div><div>I&#39;m curious about what metadata should be on a rule when created in Guvnor. I was assuming that any of the metadata fields shown under the &quot;Attributes&quot; tab should be available as metadata items when the rule gets activated. i.e. Title, categories, Created date, etc...</div>

<div><br></div><div>However, when I call event.getActivation().getRule().getMetaData() on an AfterActivationFiredEvent, the map returned is completely empty.</div><div><br></div><div>Or is the &quot;metadata&quot; for a rule in Guvnor not the same thing? I was rather hoping to be able to take note of the categories of each rule that fires.</div>

<div><br></div><div>fyi ... I&#39;m using 5.3.0.Final.</div><div><br></div><div>Thanks for any assistance you can provide.</div><div><br></div><div>Steve</div></div><br>_______________________________________________<br>
 rules-users mailing list<br>
 <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>

 <br></blockquote></div><br><div>_______________________________________________<br> rules-users mailing list<br> <a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br> <a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>

</div></div></blockquote></div></div></div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
<br></blockquote></div><br>