Sync Signatures from server
-
Hello Forum,
i’ve decided to manage all Singnatures via setdefaultsignature.py. For Webapp/Deskapp this is working really greate - but i’ve encountered 2 strange behaviours when syncing them to Outlook 2016:
i’m using {%phone_fax} and {%initials} - in Webapp this is filled from LDAP and Initials are i.A. (short german form: im Auftrag - on behalf)
in Outlook, the template shows {%phone_fax} and the signature itself doesn’t show the number, just blank.
and the Initials are not the initials from LDAP (i.A. ) but the user fullname initials.KOE log shows nothing special:
2018/08/10 15:25:30.680 (54,): Debug: Signatures: Updating signatures: <users_email> 2018/08/10 15:25:30.680 (54,): Debug: Signatures: Fetching signatures for account <users_email> 2018/08/10 15:25:30.680 (54,): Trace: ZPushConnection: Request: <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://xml.apache.org/xml-soap" xmlns="mailsrv.domain" > <soap:Body> <GetSignatures> </GetSignatures> </soap:Body> </soap:Envelope> 2018/08/10 15:25:30.970 (54,): Trace: ZPushConnection: Response: <?xml version="1.0" encoding="UTF-8"?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://z-push.org/webservice" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns2="http://xml.apache.org/xml-soap" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:GetSignaturesResponse><return xsi:type="SOAP-ENC:Struct"><all xsi:type="ns2:Map"><item><key xsi:type="xsd:int">1</key><value xsi:type="SOAP-ENC:Struct"><id xsi:type="xsd:int">1</id><name xsi:type="xsd:string">MJL Extern</name><content xsi:type="xsd:string"><br /> ###manual edit <htmlcoded signature> - correct with {%phone_fax} and {%initials} - The template is successfully added ### manual edit 2018/08/10 15:25:30.990 (54,): Trace: SearchWrapper`1: Filter: @SQL="urn:schemas:contacts:customerid" = '<username>' 2018/08/10 15:25:31.020 (54,): Trace: SearchWrapper`1: Filter: @SQL="urn:schemas:contacts:customerid" = '<username>' 2018/08/10 15:25:31.050 (54,): Debug: Signatures: Updated signatures: <users_mail>@<domain>: 566dda8cb421dfb8609415dddfb0bc9efecd0fee
(mailsrv.domain, <users_email> and <username> are manual masked)
//EDIT: {%address} shows not the street address but the zipcode, city and state
any ideas why this happens?best regards
coffee_is_life -
following question:
which way is z-push (or koe) using to create the actual signature from template?
i cant see any following actions in log after copying the template but in the signature-folder from outlook there are the templates and the html-file used by outlook…i want to troubleshoot this behaviour but i dont know how/where to start since i dont know how z-push does it.
coffee_is_life