<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
This was caused by the organisation being mandatory, I tested with
another mandatory field and the sync does fail silently in this
case.<br>
<br>
Out of interest I tested with the field "email" as mandatory and
created a contact in google, expecting a failure again due to the
mandatory field being empty, you can imagine my surprise when all
worked and the email came through as "?????".<br>
<br>
Looking closer I found this is due to :<br>
./modules/WSAPP/Handlers/vtigerCRMHandler.php
fillMandatoryFields<br>
<br>
But probably more interesting, was:<br>
./modules/WSAPP/synclib/connectors/VtigerConnector.php
fillMandatoryEmptyFields<br>
<br>
The latter, does not currently seem to be used anywhere.<br>
<br>
Would love some feedback from the vtiger team as to how we can best
solve this issue. For us, ideally the sync would go ahead and create
any unknown organisation, however I would also be happy with the
ability to define a default, or a visual clue after sync that this
has failed.<br>
<br>
<br>
<div class="moz-cite-prefix">On 05/03/15 09:23, Richard Hills -
Technologywise wrote:<br>
</div>
<blockquote cite="mid:54F769AD.6000007@tw.co.nz" type="cite">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
Contrary to my email yesterday, the sync from google to the CRM is
actually working fine for me in most cases.<br>
<br>
When I change a contact in google to have an organisation which is
non-existent within the CRM, the update is shown under the summary
(Updates in CRM) area, however the change is not made, not only
the change on this account field, but changes on any other fields
(I presume, have only tested with changes to a couple of them).<br>
<br>
Steps to recreate:<br>
<ul>
<li>Create contact in CRM</li>
<li>Sync<br>
</li>
<li>Update company name in google to be a company name not
represented in the crm.</li>
<li>Update last name in google.</li>
<li>Sync</li>
</ul>
<p>You should now find that the summary states that your record
was updated inside of the CRM, however you will find that the
CRM still has the old last name. The system now treats these
records in sync until the next edit on either side.<br>
</p>
<p>This issue is obviously less of a problem than the sync failing
when a contact has no company assigned, however another point
worth documenting / expanding upon.<br>
</p>
<p>As usual I will work on this myself as I get the chance however
would appreciate feedback from others to confirm that it is not
some localised issue.<br>
</p>
Thanks<br>
<br>
<div class="moz-cite-prefix">On 04/03/15 14:04, Richard Hills -
Technologywise wrote:<br>
</div>
<blockquote cite="mid:54F65A19.2080000@tw.co.nz" type="cite">Just
wondering if this is working for anyone? <br>
<br>
I was able to set up the sync and push all information through
to a group in google contacts. However when I create a contact
without an account in google and try to sync I get the error: <br>
<blockquote type="cite">account_id does not have a value <br>
</blockquote>
<br>
I have checked and the set up has mapped the company field to
account by default, so I tried adding a dummy company (does not
exist inside the CRM) to my contact within google and attempted
another sync, this did not change the result. <br>
<br>
When the google contact account is entered as an existing crm
account the sync (creation of contact within CRM) works
correctly. <br>
<br>
I also found that editing contacts in google never synced a
change to the CRM, although the "updated" count did reflect how
many contacts had been edited in google, none of the edits were
actually saved to the CRM. <br>
<br>
Any advice is much appreciated, even if it is just confirmation
that this functionality works for you. <br>
<br>
TIA <br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
<a class="moz-txt-link-freetext" href="http://www.vtiger.com/">http://www.vtiger.com/</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Richard Hills
TechnologyWise Ltd, Tauranga, NZ
<a class="moz-txt-link-abbreviated" href="mailto:richard@tw.co.nz">richard@tw.co.nz</a>
<a class="moz-txt-link-abbreviated" href="http://www.technologywise.co.nz">www.technologywise.co.nz</a>
ph: +64 (0)7 571 1060
fax: +64 (0)7 571 1061</pre>
</body>
</html>