Hi Richard Hills,<div><br></div><div>The right way to achieve this is through vtlib api.</div><div><br></div><div>You can related other modules to your new custom module, through manifest.xml file.</div><div><br></div><div>

But to relate your new custom module to existing module, you will have to using the setRelatedlist api of vtlib.<br><br><div class="gmail_quote">On Fri, Sep 9, 2011 at 5:35 PM, Nicolas Larcipretti <span dir="ltr">&lt;<a href="mailto:niclarcipretti@gmail.com">niclarcipretti@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Ok, now I got it. Go to the &quot;vtiger_relatedlists&quot; table, add a record there like this:<br><br><b>relation_id</b> =  the next number of the tables sequence (128 in my case)<br>

<b>tabid</b> = 13 (that&#39;s the HelpDesk&#39;s tabid)<br>
<b>related_tabid</b> = your_custom_module_tabid (in my case 46)<br><b>name</b> = get_related_list (that will do the trick for you I guess, if not, try to find another function that fits you best)<br><b>sequence</b> = next_sequence_for_the_module (in my case 7)<br>


<b>label</b> = your_custom_module_label<br><b>presence</b> = 0<br><b>actions</b> = null (that&#39;s what I&#39;ve used, can be ADD and/or SELECT too)<br><br>Try this and tell me if that&#39;s what you were looking for.<br>


<br>Cheers<br><font color="#888888"><br>Nicolas</font><div><div></div><div class="h5"><br><br><br>
<br><div class="gmail_quote">2011/9/8 Richard Hills - TechnologyWise <span dir="ltr">&lt;<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



When I enter a job ticket single view, I want a list of my own custom<br>
modules related information in its own small list under the main ticket<br>
information, by default there are already lists for &quot;Activities&quot;,<br>
&quot;Documents&quot;, &quot;Ticket History&quot;, &quot;Activity History&quot;, &quot;Services and<br>
Projects&quot; in this area.<br>
<br>
I have since been able to make a dirent sql entry and create this list,<br>
however I was hoping that this could be done via manifest.xml, I am also<br>
unsure how to force the relation on save, do I need to write a custom<br>
function in my modules Save.php which forces the relation?<br>
<br>
Thanks<br>
<div><br>
On 09/09/11 00:40, Nicolas Larcipretti wrote:<br>
&gt; you give me more information on what you want to do? I think I can<br>
&gt; help you with that but I couldn&#39;t understand where exactly do you want<br>
&gt; your custom module information to show. If possible, send me a print<br>
&gt; from the screen where the information should appear.<br>
<br>
<br>
</div>--<br>
<div><div></div><div>Richard Hills<br>
TechnologyWise Ltd, Tauranga, NZ<br>
<a href="mailto:richard@tw.co.nz" target="_blank">richard@tw.co.nz</a><br>
<a href="http://www.technologywise.co.nz" target="_blank">www.technologywise.co.nz</a><br>
ph: <a href="tel:%2B64%20%280%297%20571%201060" value="+6475711060" target="_blank">+64 (0)7 571 1060</a><br>
fax: <a href="tel:%2B64%20%280%297%20571%201061" value="+6475711061" target="_blank">+64 (0)7 571 1061</a><br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</div></div></blockquote></div><br>
</div></div><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Regards,<br>Asha<br>vtiger Team<br><br><b>Connect with us on: </b><a href="http://twitter.com/#%21/vtigercrm" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" target="_blank">Facebook</a> <b>I</b> <a href="http://blog.vtiger.com/" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" target="_blank">Wiki</a> <b>I </b><a href="http://forums.vtiger.com/" target="_blank">Forums </a><b>I</b> <a href="http://vtiger.com/" target="_blank">Website</a><br>

<br>
</div>