<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sarel, a Pragmatic Programmer &#187; Admin</title>
	<atom:link href="http://blog.botha.us/sarel/category/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.botha.us/sarel</link>
	<description></description>
	<lastBuildDate>Thu, 14 Jan 2021 12:46:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.2.38</generator>
	<item>
		<title>Converting From SugarCRM to SalesForce</title>
		<link>http://blog.botha.us/sarel/converting-from-sugarcrm-to-salesforce/</link>
		<comments>http://blog.botha.us/sarel/converting-from-sugarcrm-to-salesforce/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 16:30:16 +0000</pubDate>
		<dc:creator><![CDATA[sarel]]></dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[convert]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[salesforce]]></category>
		<category><![CDATA[sugarcrm]]></category>
		<category><![CDATA[transfer]]></category>

		<guid isPermaLink="false">http://blog.botha.us/sarel/?p=42</guid>
		<description><![CDATA[I recently had to complete a migration from SugarCRM to SalesForce and I wanted to share some of my experience here in hopes that you&#8217;ll find it useful. These instructions are pretty technical. If you have trouble understanding them then you&#8217;re not the right person for the task. Find someone that has experience working with [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I recently had to complete a migration from SugarCRM to SalesForce and I wanted to share some of my experience here in hopes that you&#8217;ll find it useful. These instructions are pretty technical. If you have trouble understanding them then you&#8217;re not the right person for the task. Find someone that has experience working with databases.</p>
<p>We wanted to export Accounts, Opportunities, Leads, Contacts, Calls, Notes, Emails, Meetings and Tasks.</p>
<p>In SalesForce add a SugarID custom field and make sure to always populate this with the ID column of what you are importing from Sugar. You&#8217;ll need this information to be populated later so that you can relate/connect certain record types to each other.</p>
<p>Add custom fields if Sugar has a field that SalesForce does not. Make sure to make text fields long enough.</p>
<p>Export your data from your SugarCRM database using a database access program such as Aqua Data Studio. Data Studio allows you to run a SQL query, then save the results as an Excel worksheet.</p>
<p>Activate Data Loader. The Data Loader is a program in the AppExchange that allows you to export and import data from SalesForce. If you don&#8217;t have an Enterprise account then you can ask your account rep to turn it on for you temporarily. I believe we got 30 days to use it.</p>
<p>When dealing with large Excel files (bigger than 3mb) always open files referenced by VLOOKUP functions in advance of opening the file containing the VLOOKUP function. I&#8217;ve found that Excel is much happier if you do this. It can still take a while for it to recalculate the spreadsheet. Just be patient.</p>
<p>Watch out for Excel’s trigger-happy auto-formatting. Any long phone numbers get automatically converted to scientific notation and that’s what goes in the CSV file when you save. Just apply text formatting to the entire column for phone number columns.</p>
<p>Add extra columns in the Excel worksheet to populate information in the format the Data Loader expects. For example the date needs to be formatted the right way for the Data Loader to import it correctly. You can reformat a date in Excel by using &#8216;=DATE(B2, &#8220;YYYY-MM-DD HH:MM:SS&#8221;)&#8217;.</p>
<p>Add an OwnerID column. This is the ID of a user in SalesForce. To find out what a user&#8217;s ID is go to Setup, Users, Manage Users and click on a user. In the address bar you&#8217;ll see the user ID like &#8216;12345678901UsTG'; populate that in the OwnerID column. If you have multiple users make a spreadsheet to map these values and use VLOOKUP to look up the value as explained below.</p>
<p>To relate records to each other you must have a column in your data that contains the SalesForce ID of the related record. For example, when importing Contacts the AccountID column must contain the SalesForce ID of the related Account. One way to populate this in all your records is to use the VLOOKUP function in Excel. First import your Accounts, remembering to populate Sugar ID. Then use the Data Loader to export the SalesForce ID and Sugar ID of all your Account records to accounts.csv. Open accounts.csv in Excel. Make the Sugar ID the first column and the SalesForce ID the second column and sort the records by Sugar ID (important). In the Contacts spreadsheet add a column named ACCOUNTID1 with a value like &#8216;=VLOOKUP($I2,'[accounts.csv]accounts&#8217;!$A$1:$B$1000, 2,FALSE)&#8217;. If an ID can&#8217;t be found for a record then #N/A will be displayed and Data Loader will not import the record. Add another column named ACCOUNTID with value &#8216;=IF(ISNA(K2), &#8220;&#8221;, K2)&#8217; where K2 is the cell with the VLOOKUP. Finally save your worksheet first as an Excel file, then as a CSV file.</p>
<p>In Data Loader select File, Insert, then follow the wizard to import your data. If there are errors open the CSV file with the errors, fix the problems and try to import the fixed CSV file.</p>
<p>All of the above listed data records can be imported using the same mechanism. We found that the types translated from Sugar to SalesForce the following way:</p>
<ul>
<li>Call &gt; Task<br />
Set the Status for future tasks to Not Started. Set the Status for past calls to Completed.</li>
<li>Note &gt; Note</li>
<li>Email &gt; Note<br />
In this case I prepended From, To and Subject to the Body and I also prepended &#8220;Email &lt;DATE&gt; &#8221; to the subject so that you could glance at the note and see that it&#8217;s an email and when it was sent.</li>
<li>Meeting &gt; Event</li>
</ul>
<p>If you do mess up you can use Upsert to update/insert and avoid creating duplicate records.</p>
<p>Let me know if you have any questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.botha.us/sarel/converting-from-sugarcrm-to-salesforce/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Acrobat + mod_deflate (gzip)</title>
		<link>http://blog.botha.us/sarel/acrobat-mod_deflate-gzip/</link>
		<comments>http://blog.botha.us/sarel/acrobat-mod_deflate-gzip/#comments</comments>
		<pubDate>Tue, 12 Aug 2008 17:23:26 +0000</pubDate>
		<dc:creator><![CDATA[sarel]]></dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[acrobat]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[jasper]]></category>
		<category><![CDATA[mod_deflate]]></category>
		<category><![CDATA[MSIE]]></category>
		<category><![CDATA[pdf]]></category>

		<guid isPermaLink="false">http://blog.botha.us/sarel/?p=28</guid>
		<description><![CDATA[You may get an error like this from Acrobat/Reader when you try to open a PDF in your browser: Adobe Reader could not open &#8216;A9R3.tmp&#8217; because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn&#8217;t correctly decoded). On [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>You may get an error like this from Acrobat/Reader when you try to open a PDF in your browser:</p>
<p>Adobe Reader could not open &#8216;A9R3.tmp&#8217; because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn&#8217;t correctly decoded).</p>
<p>On my server I have mod_deflate turned on and it compresses just about everything with gzip before sending it to the browser. This is what was causing the problem.</p>
<p>This issue shows up with IE6, but not IE7 or Firefox. It looks to me like the browser is supposed to decode/decompress the content before handing it to Acrobat. In the case of IE7 and Firefox the browser does it&#8217;s job correctly, but IE6 does not do this. Bad browser.</p>
<p>To work around this issue figure out what URLs can return a PDF file, then configure Apache not to use gzip when the request for one of those URLs came from IE6. In my case I just disabled gzip for the /jasperserver path and that did the trick. Of course you can use any rule that you can come up with, just set the variable &#8220;no-gzip&#8221;.</p>
<p>Here is what I used:</p>
<p>&lt;Location /jasperserver&gt;<br />
BrowserMatch &#8220;MSIE 6.0&#8243; no-gzip<br />
&lt;/Location&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.botha.us/sarel/acrobat-mod_deflate-gzip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pushdo botnet &#8211; ups packet ups_invoice</title>
		<link>http://blog.botha.us/sarel/pushdo-botnet-ups-packet-ups_invoice/</link>
		<comments>http://blog.botha.us/sarel/pushdo-botnet-ups-packet-ups_invoice/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 03:37:08 +0000</pubDate>
		<dc:creator><![CDATA[sarel]]></dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://blog.botha.us/sarel/?p=26</guid>
		<description><![CDATA[I was trying to figure out what the virus is that is being distributed by this latest rash of e-mails but it took a little while to find an article mentioning both UPS and the name of the trojan/virus/botnet. The name of the trojan is PushdoÂ  (Sophos) and Pandex (Symantec). Here are links with more [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I was trying to figure out what the virus is that is being distributed by this latest rash of e-mails but it took a little while to find an article mentioning both UPS and the name of the trojan/virus/botnet.</p>
<p>The name of the trojan is PushdoÂ  (Sophos) and Pandex (Symantec).</p>
<p>Here are links with more information:</p>
<p><a href="http://www.sophos.com/security/analyses/viruses-and-spyware/trojpushdogen.html">http://www.sophos.com/security/analyses/viruses-and-spyware/trojpushdogen.html</a></p>
<p><a href="http://www.symantec.com/security_response/writeup.jsp?docid=2007-042001-1448-99&amp;tabid=1">http://www.symantec.com/security_response/writeup.jsp?docid=2007-042001-1448-99&amp;tabid=1</a></p>
<p>Users: Quit opening zip and exe files from people you don&#8217;t trust.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.botha.us/sarel/pushdo-botnet-ups-packet-ups_invoice/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SugarCRM Campaign Woes</title>
		<link>http://blog.botha.us/sarel/sugarcrm-campaign-woes/</link>
		<comments>http://blog.botha.us/sarel/sugarcrm-campaign-woes/#comments</comments>
		<pubDate>Tue, 13 May 2008 06:05:36 +0000</pubDate>
		<dc:creator><![CDATA[sarel]]></dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[campaign]]></category>
		<category><![CDATA[checked]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[e-mail]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[in process]]></category>
		<category><![CDATA[sugarcrm]]></category>

		<guid isPermaLink="false">http://blog.botha.us/sarel/?p=22</guid>
		<description><![CDATA[This problem with sending campaign e-mails was driving me nuts for a while. E-mails would get in the outgoing queue, then get marked as being processed, but they would never actually get sent. It was as if it crashed before sending the e-mail. I turned up logging by editing log4php.properties but nothing jumped out at [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>This problem with sending campaign e-mails was driving me nuts for a while. E-mails would get in the outgoing queue, then get marked as being processed, but they would never actually get sent. It was as if it crashed before sending the e-mail. I turned up logging by editing log4php.properties but nothing jumped out at me. From inside SugarCRM I could send tests or click &#8220;Send Queued Campaign Emails&#8221; and it would work. Only when it calls cron.php with php-cgi would it not work.</p>
<p>The breakthrough finally came when I thought about the fact that on Debian PHP for Apache, Apache2 and PHP CGI use different config files. These files are at /etc/php4/(apache|apache2|cgi)/php.ini. I compared two with diff -u and noticed there was a difference in the amount of memory that the script can use. After increasing it to 96mb it started working fine.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.botha.us/sarel/sugarcrm-campaign-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
