<div dir="auto">Hi Alan,<div dir="auto"><br></div><div dir="auto">We have implemented me api for the same.</div><div dir="auto"><br></div><div dir="auto">I guess I have a merge request on git as well for the same.</div><div dir="auto"><br></div><div dir="auto">Will share more details in sometime.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Apr 3, 2020, 7:50 PM Alan Lord <<a href="mailto:alanslists@gmail.com">alanslists@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I'm working on another idea for a module and to work within the rules of <br>
the Marketplace I am trying to use the server API vtws_retrieve to get <br>
information about the assigned_user_id of a record to display in a <br>
different environment. I am using vtws_retrieve to get the data from the <br>
original record, but I can't do the same to get "display" data regarding <br>
the assigned user...<br>
<br>
If I try something like:<br>
<br>
> vtws_retrieve('19x22', $current_user) <br>
<br>
And I am that current user, e.g. id 22, then the call fails with <br>
"Permission to perform the operation is denied"<br>
<br>
All I actually want is to get some of the basic data like the display <br>
name (first_name + ' ' + last_name) and maybe their email/phone etc...<br>
<br>
But this seems to be not possible.<br>
<br>
What is the correct way to do this? I could, or course use a different <br>
user to make these calls i.e. Users::getActiveAdminUser(), but I am not <br>
sure if that would be permitted by the marketplace rules.<br>
<br>
PS: Also in many ways, it's a lot easier using things like the record <br>
models as they have built in methods like getDisplayName()...<br>
<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div>