<div dir="ltr"><div><div>Hi  Alan,<br><br></div><div>The return statement is missed in the GetRelatedListBase() api of include/RelatedListView.php . Please add the below  statement in the Line no  : 47<br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote"> return array('query' => $query);<br></blockquote></div><div><br></div><div>Now you can work joyfully :-)<br></div><div><br></div>Regards,<br></div>Manu Urs<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 21, 2015 at 7:25 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 21/07/15 13:43, Manu urs wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<br>
<br>
Here is some information about  it .<br>
</blockquote>
<br></span>
Thanks Manu that was useful.<br>
<br>
I have been trying to get the vtws_retrieve_related to work but with no joy.<br>
<br>
If you look at the attached screenshot you should see I am looking at the related Contacts of an Account with a crmid of 355 (This is a brand new, clean installation of vtiger 6.3. which I just imported a bunch of Accounts into). There is a related Contact.<br>
<br>
But when I run:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<?php<br>
include_once 'vtlib/Vtiger/Module.php';<br>
include_once 'includes/main/WebUI.php';<br>
include_once 'include/Webservices/RetrieveRelated.php';<br>
<br>
$current_user = CRMEntity::getInstance('Users');<br>
$current_user->retrieveCurrentUserInfoFromFile(1);<br>
<br>
try {<br>
    echo "About to run vtws_retrieve_related" . PHP_EOL;<br>
    $relatedInformation = vtws_retrieve_related('11x355', 'Contacts', 'Contacts', $current_user);<br>
    echo "Related Information" . PHP_EOL;<br>
    print_r($relatedInformation);<br>
<br>
} catch (WebServiceException $ex) {<br>
        echo $ex->getMessage() . PHP_EOL;<br>
}<br>
</blockquote>
<br>
however it silently fails... No Webservice exception is generated:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
alanlord@dev:/var/www/vt63$ php webservice-test.php<br>
About to run vtws_retrieve_related<br>
alanlord@web-dev:/var/www/vt63$<br>
</blockquote>
<br>
Nothing is logged by the debug logger either.<span class="HOEnZb"><font color="#888888"><br>
<br>
Alan<br>
<br>
</font></span><br>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div>Regards,<br></div>Manu<br></div></div>
</div>