<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0" xml:base="http://jamesarmes.com">
<channel>
 <title>JamesArmes.com</title>
 <link>http://jamesarmes.com</link>
 <description />
 <language>en</language>
<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Jamesarmescom" /><feedburner:info uri="jamesarmescom" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
 <title>Barcamp Harrisburg: Setting up shop with Drupal Commerce</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/9dyiIwCcXU4/barcamp-harrisburg-setting-shop-drupal-commerce</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;div class="prezi-player"&gt;
&lt;style media="screen" type="text/css"&gt;
&lt;!--/*--&gt;&lt;![CDATA[/* &gt;&lt;!--*/

.prezi-player { width: 550px; } .prezi-player-links { text-align: center; }
/*--&gt;&lt;!]]&gt;*/
&lt;/style&gt;&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" height="400" id="prezi_b0fostu_mlbe" name="prezi_b0fostu_mlbe" width="550"&gt;&lt;param name="movie" value="http://prezi.com/bin/preziloader.swf" /&gt;&lt;param name="allowfullscreen" value="true" /&gt;&lt;param name="allowscriptaccess" value="always" /&gt;&lt;param name="bgcolor" value="#ffffff" /&gt;&lt;param name="flashvars" value="prezi_id=b0fostu_mlbe&amp;amp;lock_to_path=1&amp;amp;color=ffffff&amp;amp;autoplay=no&amp;amp;autohide_ctrls=0" /&gt;&lt;embed allowfullscreen="true" allowscriptaccess="always" bgcolor="#ffffff" flashvars="prezi_id=b0fostu_mlbe&amp;amp;lock_to_path=1&amp;amp;color=ffffff&amp;amp;autoplay=no&amp;amp;autohide_ctrls=0" height="400" id="preziEmbed_b0fostu_mlbe" name="preziEmbed_b0fostu_mlbe" src="http://prezi.com/bin/preziloader.swf" type="application/x-shockwave-flash" width="550"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="prezi-player-links"&gt;
&lt;p&gt;&lt;a href="http://prezi.com/b0fostu_mlbe/setting-up-shop-with-drupal-commerce/" title="Setting up shop with Drupal Commerce"&gt;Setting up shop with Drupal Commerce&lt;/a&gt; on &lt;a href="http://prezi.com"&gt;Prezi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;!--break--&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Above is the presentation I gave at this year's &lt;a href="http://www.barcamphbg.org/"&gt;Barcamp Harrisburg&lt;/a&gt;. Below you can find links that were included in the presentation as well as some additional resources. Also, don't forget to vote for AllPlayers.com in the &lt;a href="http://bluedropawards.org/best-social-website-built-with-drupal-nominees/allplayerscom"&gt;Blue Drop Awards&lt;/a&gt;.&lt;/p&gt;
&lt;h4&gt;Resources&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Drupal: &lt;a href="http://drupal.org/"&gt;http://drupal.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Drupal Commerce module: &lt;a href="http://drupal.org/project/commerce"&gt;http://drupal.org/project/commerce&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Commerce Kickstart distribution: &lt;a href="http://drupal.org/project/commerce_kickstart"&gt;http://drupal.org/project/commerce_kickstart&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Drupal Commerce website: &lt;a href="http://www.drupalcommerce.org/"&gt;http://www.drupalcommerce.org/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Commerce Guys: &lt;a href="http://www.commerceguys.com/"&gt;http://www.commerceguys.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Additional modules used in demonstration&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;Commerce Bulk Product Creation: &lt;a href="http://drupal.org/project/commerce_bpc"&gt;http://drupal.org/project/commerce_bpc&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h4&gt;Other&lt;/h4&gt;
&lt;ul&gt;
&lt;li&gt;AllPlayers.com: &lt;a href="https://www.allplayers.com/"&gt;https://www.allplayers.com/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/9dyiIwCcXU4" height="1" width="1"/&gt;</description>
 <pubDate>Sat, 31 Mar 2012 23:23:18 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">98 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2012/03/barcamp-harrisburg-setting-shop-drupal-commerce#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2012/03/barcamp-harrisburg-setting-shop-drupal-commerce</feedburner:origLink></item>
<item>
 <title>The New Jimmy's Sandbox</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/HKpCJNVYdKI/new-jimmys-sandbox</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;    As you can see, Jimmy's Sandbox has seen a bit of a face lift.  This represents several weeks of planning and implementation.  Now that the new design is in place, you should start seeing more frequent post regarding Drupal, PHP, Web Services and many other topics related to web development.&lt;/p&gt;
&lt;h3&gt;Your Thoughts&lt;/h3&gt;
&lt;p&gt;    Do you have any thoughts on the new design? Good or bad I want to hear it. How about something you would like to see a new post about? Whatever it is, leave your thoughts in the comment section below.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/jimmys-sandbox" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Jimmy&amp;#039;s Sandbox&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/HKpCJNVYdKI" height="1" width="1"/&gt;</description>
 <pubDate>Wed, 07 Apr 2010 00:16:12 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">58 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2010/04/new-jimmys-sandbox#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2010/04/new-jimmys-sandbox</feedburner:origLink></item>
<item>
 <title>Jimmy's Fridge</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/H-xGgXWgvr0/jimmys-fridge</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;&lt;img src="/sites/default/files/blog/jimmys-fridge/fridge.jpg" alt="Jimmy's Fridge" title="Jimmy's Fridge" /&gt;
&lt;p&gt;    This is in response to &lt;a href="http://buytaert.net/my-fridge"&gt;My Fridge&lt;/a&gt; by &lt;a href="http://buytaert.net"&gt;Dries Buytaert&lt;/a&gt;.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/H-xGgXWgvr0" height="1" width="1"/&gt;</description>
 <pubDate>Thu, 25 Feb 2010 13:29:10 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">59 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2010/02/jimmys-fridge#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2010/02/jimmys-fridge</feedburner:origLink></item>
<item>
 <title>Drupal 6 Performance on GoDaddy</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/xVgMoIP0ei8/drupal-6-performance-godaddy</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;div&gt;&lt;img src="/sites/default/files/blog/drupal-6-performance-godaddy/goingdown.jpg" alt="Going Down" class="blog-image" /&gt;&lt;/div&gt;
&lt;p&gt;    I have been using Google's &lt;a href="http://code.google.com/speed/page-speed/"&gt;Page Speed&lt;/a&gt; tool to help improve the the load times of this site.  In doing so, I discovered that I never configured any of the performance settings provided by Drupal.  I also discovered that GoDaddy does not use mod_gzip or mod_deflate to compress the documents being requested.&lt;/p&gt;
&lt;h2&gt;Drupal's Performance Settings&lt;/h2&gt;
&lt;p&gt;    Drupal comes prepackaged with performance tuning options.  These options include caching and CSS/JavaScript optimization.  By enabling these features, I saw a dramatic decrease in load times for Jimmy's Sandbox.  You can view the performance settings for your site at /admin/settings/performance.&lt;/p&gt;
&lt;h3&gt;Caches&lt;/h3&gt;
&lt;p&gt;    Drupal provides both a page cache and a block cache.  The page cache only affects anonymous users.  While enabled, it will cache pages so that it does not need to re-render them for each request.  When a page is updated, the cache is cleared.  There are three levels of page caching:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Disabled&lt;/strong&gt;: No caching will occur and each request will have to wait for the page to be rendered.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Normal&lt;/strong&gt;: Recommend for most sites and does not cause any side effects.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Aggressive &lt;/strong&gt;: Skips the loading and unloading of all modules when serving a cached page.  This can cause side effects with modules that rely on this behavior (ie. Statistics).  If you visit the performance settings of your site, you will be notified of any modules that are incompatible with aggressive caching (see below).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="/sites/default/files/blog/drupal-6-performance-godaddy/aggressive-cache-incompat.png" alt="Aggressive Cache Incompatibilities" /&gt;
&lt;p&gt;    Drupal also allows you to provide a minimum cache lifetime.  This will prevent the cache for both pages and blocks from being cleared before that time.  The available options range from one minute to one day.&lt;/p&gt;
&lt;p&gt;    The page compression option will allow Drupal to compress cached pages as they are sent to the browser.  This saves on bandwidth and can provide quite a performance boost for larger pages.  Since HTML is text, it compresses quite well.  Enabling this option helps to mitigate the fact that GoDaddy does not have any compression of their own.&lt;/p&gt;
&lt;p&gt;    Unlike the page cache, the block cache can provide a performance boost to all users. The block cache is similar to the page cache in that it prevents individual blocks from having to be rendered on each page load.  If you have any modules that define content access restrictions, such as Node Privacy By Role, this setting cannot be enabled.  I have several blocks on that provide dynamic content and have not run into any issues by enabling the block cache.&lt;/p&gt;
&lt;h3&gt;CSS/JavaScript Optimizations&lt;/h3&gt;
&lt;p&gt;    Drupal's CSS and JavaScript optimizations are really quite simple.  When enabled, they combine all JavaScript into a single file and all CSS into a single file.  Both files are then cached and the CSS file is compressed.  If you have not created your files directory, or have configured your files to be private, these options cannot be enabled.&lt;/p&gt;
&lt;h2&gt;Google Analytics Optimizations&lt;/h2&gt;
&lt;p&gt;     If you are using the &lt;a href="http://drupal.org/project/google_analytics"&gt;Google Analytics&lt;/a&gt; module by budda, you can cache the JavaScript file that is normally stored on Google's servers.  This prevents the browser from having to perform an additional DNS lookup.  The cache is updated once a day and can be enabled from the "Advanced settings" field group at /admin/settings/googleanalytics.  It is important that you wait until Google has validated your site before enabling this option.&lt;/p&gt;
&lt;h2&gt;JavaScript Compression&lt;/h2&gt;
&lt;p&gt;    Unlike the CSS cache, cached JavaScript is not compressed.  To get around this, I use the &lt;a href="http://drupal.org/project/smartcache"&gt;SmartCache&lt;/a&gt; module.  The module requires your Apache server to have mod_rewrite enabled to redirect requests for all JavaScript and CSS files to a script provided by the module.  When a file is requested, the script creates a compressed version of the file and serves that up instead of the plain text version.  The compressed file is then cached&lt;/p&gt;
&lt;p&gt;    This requires some manual setup to get working.  There is no .info file so Drupal will not recognize it as an actual module, but that's okay since the module doesn't actually interact with Drupal.  There are some configuration options in the load.php file that need setup and a line will need to be added to you .htaccess file.  To clear the cache before the next scheduled cache clear, just clear the files out of the cache directory.  Basically just read the README.txt file that comes packaged with the module and you will be fine.&lt;/p&gt;
&lt;h2&gt;What Performance Tips Do You Have?&lt;/h2&gt;
&lt;p&gt;    That's just a quick run through of the performance improvements I have used here on Jimmy's Sandbox.  The are certainly other options out there, such as minifying JavaScript.  So what do you use to improve performance on your site?  Let us know by leaving a comment below.  While you're at it, while not subscribe to the Jimmy's Sandbox &lt;a href="/blog/feed"&gt;feed&lt;/a&gt; and be notified of new posts that may include other performance improvements.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/godaddy" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;GoDaddy&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/performance" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Performance&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/xVgMoIP0ei8" height="1" width="1"/&gt;</description>
 <pubDate>Wed, 06 Jan 2010 23:23:25 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">60 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2010/01/drupal-6-performance-godaddy#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2010/01/drupal-6-performance-godaddy</feedburner:origLink></item>
<item>
 <title>Simple Tips For Repsonding To A Web Developer Job Posting</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/UaAx3nESTKc/simple-tips-repsonding-web-developer-job-posting</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;div&gt;&lt;img src="/sites/default/files/blog/simple-tips-repsonding-web-developer-job-posting/outlook.jpg" class="blog-image" alt="Outlook" /&gt;&lt;/div&gt;
&lt;p&gt;    I was recently tasked with hiring a  web developer for a redesign of &lt;a href="http://www.workxpress.com"&gt;workxpress.com&lt;/a&gt;.  I was surprised at the number of poor quality responses I received.  The original post can be found at &lt;a href="http://drupal.org/node/602292"&gt;http://drupal.org/node/602292&lt;/a&gt;.  Looking back, I should have included more details in my post, but that still doesn't excuse the poor quality of some of these emails.&lt;/p&gt;
&lt;p&gt;    I have taken examples from many of the emails that I have received for us to analyze.  Names and URLs have been changed to protect the identities of the individuals.  So, without further ado, I present you with some simple tips when responding to a web developer job post.&lt;/p&gt;
&lt;h2&gt;1. Use a professional email address&lt;/h2&gt;
&lt;p&gt;    I don't think a lot of people realize how important their email address can be.  I'm not going to spend a lot of time on this, but suffice it to say that you will not get taken seriously replying to a job post using an email like &lt;a href="mailto:awesomejedi@yahoo.com"&gt;awesomejedi@yahoo.com&lt;/a&gt;.  Check out the Men With Pens post &lt;a href="http://menwithpens.ca/email-address-losing-clients"&gt;Is Your Email Address Losing You Clients?&lt;/a&gt; for more on this subject.&lt;/p&gt;
&lt;h2&gt;2. Use a professional yet personal greeting&lt;/h2&gt;
&lt;p&gt;    The greeting is the first thing in your email to be read.  I think everybody knows this, but not everybody seems to think about their greeting. So what makes a greeting professional yet personal?  Professional is easy, avoid using words you wouldn't use when meeting an interviewer for the first time (such as "Hey").  Personal is easy as well, just use the persons name.  For example, a greeting like "James" or "Dear James" would suffice. The worst offender I received had to be "hi and thanks-".&lt;/p&gt;
&lt;h2&gt;3. Use proper capitalization&lt;/h2&gt;
&lt;p&gt;    We all know not to type in all caps, but all lowercase doesn't send the right message either.  Make sure you capitalize the first letter in names and the first word of each sentence.  See below for some examples of poor capitalization.  I find the second example to be curious, as he capitalized the supported browsers, but nothing else.&lt;/p&gt;
&lt;h3&gt;Example 1:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;saw your post-&lt;br /&gt;
perhaps i can provide the service you need&lt;/p&gt;
&lt;p&gt;i am a drupal samurai for hire&lt;br /&gt;
based in buffalo, new york usa&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3&gt;Example 2:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;output will be drupal theme, valid html/css, major browser compatibility (IE,FF,Safari). additional sub template add $75&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;4. Add some descriptions to your examples&lt;/h2&gt;
&lt;p&gt;    Including example sites in your response is always a good idea.  When providing examples, give some details on each.  Example 3 below shows a poor presentation of sites you have worked on.  Example 4 shows a much better presentation that includes descriptions of what the web developer did on each.&lt;/p&gt;
&lt;h3&gt;Example 3:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://www.example.com"&gt;http://www.example.com&lt;/a&gt; (usa, media)&lt;br /&gt;
&lt;a href="http://www.foo.com"&gt;http://www.foo.com&lt;/a&gt; (usa. media)&lt;br /&gt;
&lt;a href="http://www.bar.co.uk"&gt;http://www.bar.co.uk&lt;/a&gt; (project services, uk)&lt;br /&gt;
&lt;a href="http://www.baz.ca/web"&gt;http://www.baz.ca/web&lt;/a&gt; (infotech, canada)&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3&gt;Example 4:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;&lt;a href="http://www.example.com"&gt;http://www.example.com&lt;/a&gt; - I project managed and/or wrote the HTML and CSS for every site in this portfolio with the exception of Foo, Bar, and Baz.  Some of the links in the portfolio there are broken, but can be fixed by replacing 'ex4' with 'ex4mediagroup' in the URL; the company no longer does business under that name so I don't think they're maintaining it anymore.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.foo.com"&gt;http://www.foo.com&lt;/a&gt; and &lt;a href="http://www.foo.com/smarty/templates/default/styles.css"&gt;http://www.foo.com/smarty/templates/default/styles.css&lt;/a&gt; - This is one of the sites that I wrote the HTML and CSS for.  This site and the others in this portfolio were built on an in-house CMS using the Smarty templating system.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bar.co.uk"&gt;http://www.bar.co.uk&lt;/a&gt; - I worked in some degree with several of the projects in the portfolio at Foo, however the greatest involvement I had was with specific projects that are still in progress or not in the portfolio.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.baz.ca/web"&gt;http://www.baz.ca/web&lt;/a&gt; - This was the largest project we worked with while I was at Foo, and I both project managed it through most of it's duration and did much of the Drupal configuration, including extensive work with views and Ubercart.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;5. Use complete sentences&lt;/h2&gt;
&lt;p&gt;    This is another no brainier, or so I thought.  Use complete sentences with proper punctuation.  Run on sentences and simple three word phrases don't look very professional.  The following example could have easily been several sentences and looked much more professional.&lt;/p&gt;
&lt;h3&gt;Example 5:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;I went through your   post , i am drupal developer. I am good hand in css.  I done following project&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;6. Use correct grammar&lt;/h2&gt;
&lt;p&gt;    While I understand English is not everyones first language, you should have a firm understanding of grammar before responding in any language.  If I don't feel that I will be able to communicate with you, I'm not likely to hire you.  The following three examples clearly demonstrate a lack of proper grammer.&lt;/p&gt;
&lt;h3&gt;Example 6:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;I am John who have experiences in designing and developing drupal websites for national as well as international clients. I saw your post at drupal form and would like know more about the job.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3&gt;Example 7:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;We are Foo Bar, Inc. located in Redwood City, CA. We experience designing and redesigning Drupal based sites&lt;/p&gt;&lt;/blockquote&gt;
&lt;h3&gt;Example 8:&lt;/h3&gt;
&lt;blockquote&gt;&lt;p&gt;I had a chance to look at your requirement about ,Hireing a drupal developer to complete your requirement ,We could be of great help to you.&lt;/p&gt;&lt;/blockquote&gt;
&lt;h2&gt;Your turn&lt;/h2&gt;
&lt;p&gt;    What are your thoughts on some of these tips?  Do you have any other advice for those replying to a job post?  Please share you thoughts in the comments below.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/freelance" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Freelance&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/UaAx3nESTKc" height="1" width="1"/&gt;</description>
 <pubDate>Mon, 21 Dec 2009 02:43:52 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">61 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/12/simple-tips-repsonding-web-developer-job-posting#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/12/simple-tips-repsonding-web-developer-job-posting</feedburner:origLink></item>
<item>
 <title>Using the WorkXpress API: Display Formats</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/sm9G7e6Un9M/using-workxpress-api-display-formats</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;&lt;a href="http://www.workxpress.com"&gt;&lt;img src="/sites/default/files/blog/workxpress-logo.png" style="float: right;" alt="WorkXpress Logo" /&gt;&lt;/a&gt;    You have learned about all of the functions.  You understand the data formats.  What could possibly be left before mastering the &lt;a href="http://www.workxpress.com"&gt;WorkXpress&lt;/a&gt; API?  Display formats is the answer.&lt;/p&gt;
&lt;p&gt;    Display formats allow you to pull out data in different formats.  For example, instead of pulling a file field as XML (stored value) or just the filename (text value), you could get the download URL.  When using display formats, the format type must be set to "text".  Not all Fields have display formats, while others have several.  Many of the available formats match the available parts for multi-part fields.  For more information on these parts, see my previous post on &lt;a href="/blog/2009/10/using-workxpress-api-data-formats"&gt;data formats&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Address&lt;/h2&gt;
&lt;p&gt;    The &lt;a href="http://www.workxpress.com/training/library/address"&gt;Address&lt;/a&gt; Field Type exposes a number of display formats to match the available parts of the field.
  &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type&lt;/li&gt;
&lt;li&gt;Street&lt;/li&gt;
&lt;li&gt;Street2&lt;/li&gt;
&lt;li&gt;Street3&lt;/li&gt;
&lt;li&gt;City&lt;/li&gt;
&lt;li&gt;State&lt;/li&gt;
&lt;li&gt;ZipCode&lt;/li&gt;
&lt;li&gt;Country&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;    These formats can be combined to create you own format.  For example, let's say you want to display only the city, state and zip code of the address.  Your format string would look as follows:&lt;br /&gt;
&lt;code type="php"&gt;&lt;br /&gt;
$format = 'City, State ZipCode';&lt;br /&gt;
&lt;/code&gt;&lt;br /&gt;
You can even add your own text to the string, just make sure not to use any of the format parts in your custom text (display formats are case sensitive).&lt;br /&gt;
&lt;code type="php"&gt;&lt;br /&gt;
$format = 'You live in City, State Country';&lt;/p&gt;
&lt;p&gt;// since display formats are case sensitive, you could also do something like the following&lt;br /&gt;
$format = 'This client hails from the city of City';&lt;br /&gt;
&lt;/code&gt;
&lt;/p&gt;
&lt;h2&gt;Currency&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/currency-us"&gt;Currency&lt;/a&gt; Fields usually return the currency symbol ($) when using the text only version.  Using the NumberOnly format allows you to pull the value without the currency symbol (ie. "3.12" instead of "$3.12").  You can get the same result from using the stored format type instead of text.&lt;/p&gt;
&lt;h2&gt;Phone Number&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/phone-number"&gt;Phone Number&lt;/a&gt; Fields are similar to Address Fields.  The display formats for Phone Number Fields match the available parts.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Type&lt;/li&gt;
&lt;li&gt;CountryCode&lt;/li&gt;
&lt;li&gt;AreaCode&lt;/li&gt;
&lt;li&gt;Prefix&lt;/li&gt;
&lt;li&gt;LineNumber&lt;/li&gt;
&lt;li&gt;Extension&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Select - Select One&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/select-one"&gt;Select - Select One&lt;/a&gt; Fields provide display formats that allow access to some of their special features.  No display format will return the title of the currently selected Select Option.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AltTitle: Alternate title of the currently selected Select Option.&lt;/li&gt;
&lt;li&gt;WithOther: Title of the currently selected Select Option as well as the value of the "Other" Field for the Select Option (if any).&lt;/li&gt;
&lt;li&gt;OtherOnly: Returns only the value of the "Other" Field of the currently selected Select Option (if any).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Check Box&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/checkbox"&gt;Check Box&lt;/a&gt; Fields provide a few different formats to handle their unique on/off nature.  Most of your requirements for this Field Type can be handled using the stored format type.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Checked: Returns the values "CHECKED" or "UNCHECKED".&lt;/li&gt;
&lt;li&gt;FieldLabel: Either the Field's label or empty.&lt;/li&gt;
&lt;li&gt;WithOther: Returns the same as the Checked display format followed by a hyphen and the value of the "Other" Field for the current state (if any).&lt;/li&gt;
&lt;li&gt;OtherOnly: Returns only the value of the "Other" Field for the current state (if any).&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Date and Date Time&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/date"&gt;Date&lt;/a&gt; and &lt;a href="http://www.workxpress.com/training/library/date-and-time"&gt;Date Time&lt;/a&gt; Fields provide display formats that can be useful for displaying their values in different formats.  Many of these formats correspond to the formats provided by PHP's &lt;a href="http://us.php.net/manual/en/function.date.php"&gt;date&lt;/a&gt; function.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AMPMLowercase: Lowercase ante meridiem or post meridiem value.&lt;/li&gt;
&lt;li&gt;AMPMUppercase: Uppercase ante meridiem or port meridiem value.&lt;/li&gt;
&lt;li&gt;DayOfMonth: Day of the month without leading zeros.&lt;/li&gt;
&lt;li&gt;DayOfMonthSuffix: Two character English ordinal day of the month (ie. st for 1st or th for 13th).&lt;/li&gt;
&lt;li&gt;DayOfMonthLeadingZero: Two digit day of the month with leading zeros.&lt;/li&gt;
&lt;li&gt;DayOfWeek: Full day of the week title (ie. Monday).&lt;/li&gt;
&lt;li&gt;DayOfWeekAbbreviated: Three character day of the week title (ie. Mon).&lt;/li&gt;
&lt;li&gt;DayOfWeekNumber: &lt;a href="http://en.wikipedia.org/wiki/ISO-8601#Week_dates"&gt;ISO-8601&lt;/a&gt; numeric day of the week.&lt;/li&gt;
&lt;li&gt;DayOfYear: Day of the year starting with zero.&lt;/li&gt;
&lt;li&gt;Hour: 12-hour formatted hour without leading zero.&lt;/li&gt;
&lt;li&gt;Hour24: 24-hour formatted hour without leading zero.&lt;/li&gt;
&lt;li&gt;Hour24LeadingZero: 24-hour formatted hour with leading zero.&lt;/li&gt;
&lt;li&gt;HourLeadingZero: 12-hour formatted hour with leading zero.&lt;/li&gt;
&lt;li&gt;Minute: Two digit minutes with leading zeros.&lt;/li&gt;
&lt;li&gt;MonthName: Full month title (ie. January).&lt;/li&gt;
&lt;li&gt;MonthNameAbbreviated: Three character month title (ie. Jan).&lt;/li&gt;
&lt;li&gt;MonthOfYear: Numeric representation of the month without leading zero.&lt;/li&gt;
&lt;li&gt;MonthOfYearLeadingZero: Numeric representation of the month with leading zero.&lt;/li&gt;
&lt;li&gt;Second: Two digit seconds with leading zero.&lt;/li&gt;
&lt;li&gt;Timestamp: Seconds since the Unix epoch (January 1, 1970 00:00:00 GMT).&lt;/li&gt;
&lt;li&gt;WeekOfYear: ISO-8601 numeric week number of the year.&lt;/li&gt;
&lt;li&gt;Year: Four digit year.&lt;/li&gt;
&lt;li&gt;YearShort: Two digit year.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;File&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/file-attachment"&gt;File&lt;/a&gt; Fields can be difficult to deal with.  Display formats are here to help.  Using the display formats below, File Fields can be much easier to deal with.
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;DownloadURL: The URL that can be used to download the file.  If the Field is configured to be private, this URL will require a user to be logged in.&lt;/li&gt;
&lt;li&gt;Filename: Name of the file, including the extension.&lt;/li&gt;
&lt;li&gt;FileSize: Size of the file in bytes.&lt;/li&gt;
&lt;li&gt;Height: If the file is an image, this will return the height of the image in pixels. &lt;/li&gt;
&lt;li&gt;Image: If the file is an image, this will return the image tag that can be used in an HTML document.  The image must be public for this to be used outside of the Application.&lt;/li&gt;
&lt;li&gt;MimeType: The file's mime-type (ie.image/png).&lt;/li&gt;
&lt;li&gt;Thumbnail: Similar to the Image display format, but the src attribute will be pointed at the thumbnail.&lt;/li&gt;
&lt;li&gt;ThumbnailURL: If the file is an image, this will return the same as the DownloadURL display format but for the thumbnail image.&lt;/li&gt;
&lt;li&gt;Width: If the file is an image, this will return the width of the image in pixels.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Social Security&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/social-security-number"&gt;Social Security&lt;/a&gt; Fields provide only a single display format part.  By using the LastFour format, you can retrieve only the last four digits of a social security number.  With no display format, this Field Type will return the value as "***-**-####".&lt;/p&gt;
&lt;h2&gt;Now You're Ready&lt;/h2&gt;
&lt;p&gt;    That's all folks.  You have everything you need to master the WorkXpress API.  The API opens up a lot of possibilities for you and your application.  Current uses of the API include integrating with FedEx shipping services, data imports with HarrisData and administration of FTP servers.  Once you have had a chance to explore the power of the API, come back here and let me know how you used it.  As always, if you have any questions, leave a comment below.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/api" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;API&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/php" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;PHP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/soap" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;SOAP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/web-services" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Web Services&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/workxpress" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;WorkXpress&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/sm9G7e6Un9M" height="1" width="1"/&gt;</description>
 <pubDate>Sun, 13 Dec 2009 04:24:03 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">62 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/12/using-workxpress-api-display-formats#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/12/using-workxpress-api-display-formats</feedburner:origLink></item>
<item>
 <title>External Links and GeSHi Filter</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/zDFZTPNx1PQ/external-links-and-geshi-filter</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;    On my site I use the &lt;a href="http://drupal.org/project/extlink"&gt;External links&lt;/a&gt; to add the &lt;img src="/sites/default/files/blog/external-links-and-geshi-filter/extlink.png" alt="External Link Icon" /&gt; image next to any external links.  I also use the &lt;a href="http://drupal.org/project/geshifilter"&gt;GeSHi Filter&lt;/a&gt; module for syntax highlighting.  These two modules together were causing some undesirable effects.&lt;/p&gt;
&lt;p&gt;    The GeSHi Filter module adds links to the &lt;a href="http://php.net"&gt;PHP manual&lt;/a&gt; entry for functions.  Because this is an external link, it receives the image from above.  This doesn't look quite right:&lt;br /&gt;
&lt;img src="/sites/default/files/blog/external-links-and-geshi-filter/external-link-geshi-filter.png" alt="GeSHi Filter with external link" /&gt;&lt;/p&gt;
&lt;p&gt;    So what did I do about it?  I added the following lines to me themes CSS file (sandbox.css for those who were wondering):
&lt;/p&gt;
&lt;pre class="brush: css; toolbar: false;"&gt;
div.geshifilter span.ext {
  background: none;
  padding-right:0;
}
&lt;/pre&gt;&lt;p&gt;As you can see by the following screen shot, the icon no longer appears in my code:&lt;br /&gt;
&lt;img src="/sites/default/files/blog/external-links-and-geshi-filter/geshi-filter-clean.png" alt="GeSHi Filter with no icon" /&gt;&lt;br /&gt;
I hope this was able to help somebody else out&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/css" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;CSS&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/drupal" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Drupal&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/zDFZTPNx1PQ" height="1" width="1"/&gt;</description>
 <pubDate>Sat, 05 Dec 2009 02:42:09 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">63 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/12/external-links-and-geshi-filter#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/12/external-links-and-geshi-filter</feedburner:origLink></item>
<item>
 <title>Using the WorkXpress API: Data Formats</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/hf68rpkrISk/using-workxpress-api-data-formats</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;&lt;a href="http://www.workxpress.com"&gt;&lt;img alt="WorkXpress Logo" src="/sites/default/files/blog/workxpress-logo.png" style="float: right;" /&gt;&lt;/a&gt;    Now that you know how to use the &lt;a href="http://www.workxpress.com"&gt;WorkXpress&lt;/a&gt; API, it's time to learn about some more advanced concepts. Data formats define how Field values are stored within WorkXpress. These values can be useful for finding out more information about certain values, and will need to be used when storing data into certain Field Types.&lt;/p&gt;
&lt;p&gt;    The WorkXpress Engine tries hard to store data in simple, easy, logical formats. Below is a description of some of the less straightforward Field Types, and what format their data is expected in.&lt;/p&gt;
&lt;h2&gt;Item Pickers&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/item-picker-select-one"&gt;Item Picker&lt;/a&gt; Fields store references to other Items. They can be used to manage Relationships, display links and other Fields attached to the referenced Item or to simply reference the Item in Actions.&lt;/p&gt;
&lt;p&gt;    Item Pickers are split into two primary types: single and multi. Single Item Pickers store a reference to only one Item at a time. Multi Item Pickers can store a reference to multiple Items at a time. Each of these types of Item Pickers is then broken down into Select Item Pickers and Pick Item Pickers. Select Item Pickers display as either a single select box or a multi-select Field. Single and Multi Item Pickers have slightly different stored values; however, there is no difference in the stored value of Select Item Pickers and Pick Item Pickers.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;    Single Item Pickers store their value as follows:&lt;/p&gt;
&lt;div style="padding-left: 40px; margin-top: 0px;"&gt;&lt;span style="font-family: courier;"&gt;&amp;lt;ItemTypeId&amp;gt;|&amp;lt;ItemId&amp;gt;&lt;/span&gt; (ex. a1325|u15)&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;    Multi Item Pickers store their value as follows:&lt;/p&gt;
&lt;div style="padding-left: 40px; margin-top: 0px;"&gt;&lt;span style="font-family: courier;"&gt;&amp;lt;ItemTypeId&amp;gt;|&amp;lt;ItemId&amp;gt;,&amp;lt;ItemTypeId&amp;gt;|&amp;lt;ItemId&amp;gt;,...&lt;/span&gt; (ex. a1325|u15,a1325|u28,a1325|u193)&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Selects&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/select-one"&gt;Select&lt;/a&gt; Fields are very similar to Item Picker Fields. They are split into single and multi selects. Select also store Items; however, they only store Items of type "Select Option" and these Items are pre-defined and related to the Field. The Item Type id of Select Options is e11, so all Select Field values will be prefixed with this id.&lt;/p&gt;
&lt;p&gt;    Single Selects store their value as follows:&lt;/p&gt;
&lt;div style="padding-left: 40px; margin-top: 0px;"&gt;&lt;span style="font-family: courier;"&gt;e11|&amp;lt;ItemId&amp;gt;&lt;/span&gt; (ex. e11|a32859)&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;    Multi Selects store their value as follows:&lt;/p&gt;
&lt;div style="padding-left: 40px; margin-top: 0px;"&gt;&lt;span style="font-family: courier;"&gt;e11|&amp;lt;ItemId&amp;gt;,e11|&amp;lt;ItemId&amp;gt;,...&lt;/span&gt; (ex. e11|a49462,e11|a28957,e11|a1337)&lt;/div&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;    Select Fields can also be set by passing in the title or alt title of the Select Option(s). For example let's say you the two options below available for a Single Select:&lt;/p&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="/files/blog/wxapi/selectoptions.png" rel="lightbox" title="Select Options"&gt;&lt;img alt="Select Options" src="/sites/default/files/blog/wxapi/selectoptions.png" title="Select Options" /&gt;&lt;/a&gt; &lt;strong&gt;Select Options&lt;/strong&gt;&lt;/div&gt;
&lt;p&gt;You could set this Field to the value "Open" by passing in either "Open" or "O". For Multi Selects, you can mix and match the values. If the previous example was a Multi Select Field, you could set it by passing in "Open,C" or even "O,e11|a295456".&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;Check Box&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/checkbox"&gt;Check box&lt;/a&gt; Fields work like boolean values. When a check box Field is "on" or "true", the stored value will be 1. Any non-empty value may be passed in to set a check box to "on". When a check box Field is "off" or "false", the stored value will be empty. An empty value should be passed in to set a check box to "off".&lt;/p&gt;
&lt;h2&gt;Date, Time &amp;amp; Date Time&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/date"&gt;Date&lt;/a&gt;, &lt;a href="http://www.workxpress.com/training/library/time"&gt;Time&lt;/a&gt; and &lt;a href="http://www.workxpress.com/training/library/date-and-time"&gt;Date Time&lt;/a&gt; Fields are all stored as a Unix time stamp. A &lt;a href="http://en.wikipedia.org/wiki/Unix_timestamp"&gt;Unix time stamp&lt;/a&gt; represents the number of seconds since the Unix epoch (January 1, 1970), excluding leap seconds. This makes adding and subtracting time a simple arithmetic operation. PHP can easily handle and manipulate these values using its built in &lt;a href="http://us2.php.net/manual/en/ref.datetime.php"&gt;date&lt;/a&gt; functions.&lt;/p&gt;
&lt;pre class="brush: php; toolbar: false;"&gt;// convert a standard date into a unix time stamp and back again
$value = '01/29/1985';
$timestamp = strtotime($date);
$formatted = date('m/d/Y');

// convert a date and time value into a unix time stamp and back again
$value = '01/29/1985 11:35am';
$timestamp = strtotime($date);
$formatted = date('m/d/Y h:ia');

// convert a time only value into a unix time stamp and back again
$value = '11:35am';
$timestamp = strtotime('January 1, 1970 '.$time);
$formatted = date('h:ia');
&lt;/pre&gt;&lt;p&gt; &lt;/p&gt;
&lt;h2&gt;File Attachment&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/file-attachment"&gt;File Attachment&lt;/a&gt; Fields are what WorkXpress refers to as a multi-part Field. Multi-part Fields are stored as XML so that each part can be referenced separately. There are two different ways of setting a File Attachment Field though the API:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pass in XML with the encoded_file and filename parts set&lt;/li&gt;
&lt;li&gt;Pass in XML with the download_url set&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To base 64 encode a file in PHP, use the code below:&lt;/p&gt;
&lt;pre class="brush: php; toolbar: false;"&gt;$filename = '/home/jarmes/example.png';
$binary_data = file_get_contents($filename);
$encoded_file = base64_encode($binary_data);

// this could also be done on one line
$encoded_file = base64_encode(file_get_contents('/home/jarmes/example.png'));
&lt;/pre&gt;&lt;p&gt;The XML for a File Attachment Field should be structured using the below definition.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field&lt;/p&gt;
&lt;!--&lt;/td--&gt;&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all multi-part Fields.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field/part&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines the value for a single part of the Field.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;id&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the current part. Valid values for File Attachment Fields include:
&lt;ul&gt;
&lt;li&gt;filename: The filename to be given to the file when it is saved on the WorkXpress file system.&lt;/li&gt;
&lt;li&gt;mime_type: The mime-type of the file (ie. image/jpeg)&lt;/li&gt;
&lt;li&gt;size: The file's size in bytes&lt;/li&gt;
&lt;li&gt;encoded_file: The base 64 encoded binary data of the file&lt;/li&gt;
&lt;li&gt;download_url: When retrieving a stored value, this will have a URL that can be used to download the file. If the Field is not configured to allow public files, this URL will require a valid login to the application. When setting a Field, this value may be set to a URL that WorkXpress should use to retrieve the file.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;multi_part_field&amp;gt;
  &amp;lt;part id="filename"&amp;gt;example.png&amp;lt;/part&amp;gt;
  &amp;lt;part id="mime_type"&amp;gt;image/png&amp;lt;/part&amp;gt;
  &amp;lt;part id="size"&amp;gt;364544&amp;lt;/part&amp;gt;
  &amp;lt;part id="encoded_file"&amp;gt;$encoded_file&amp;lt;/part&amp;gt;
  &amp;lt;part id="download_url"&amp;gt;http://www.example.com/example.png&amp;lt;/part&amp;gt;
&amp;lt;/multi_part_field&amp;gt;
&lt;/pre&gt;&lt;h2&gt;Address&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/address"&gt;Address&lt;/a&gt; Fields are also multi-part. Address Fields have two different types: US and International. If the "type" part of an address value is not set, it is assumed to be US.&lt;/p&gt;
&lt;p&gt;The XML for an Address Field should be structured using the below definition.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field&lt;/p&gt;
&lt;!--&lt;/td--&gt;&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all multi-part Fields.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field/part&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines the value for a single part of the Field.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;id&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the current part. Valid values for Address Fields include:
&lt;ul&gt;
&lt;li&gt;street: The first street value.&lt;/li&gt;
&lt;li&gt;street2: The second street value.&lt;/li&gt;
&lt;li&gt;street: The third street value (International values only).&lt;/li&gt;
&lt;li&gt;city: The city value.&lt;/li&gt;
&lt;li&gt;state: The state value. International values may have up to three characters. US values must have exactly two characters.&lt;/li&gt;
&lt;li&gt;zip_code: The postal code value. Should be five character numeric for US values.&lt;/li&gt;
&lt;li&gt;country: The country value. This value is required for International values. United States will be used for US values regardless of any value passed in. Should be the full country name (ie. Canada, South Africa) or the &lt;a href="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-3#Officially_assigned_code_elements"&gt;ISO 3166-1 alpha-3&lt;/a&gt; formatted country code.&lt;/li&gt;
&lt;li&gt;type: Should be either International or United States.&lt;/li&gt;
&lt;li&gt;sort_value: Defines which street part will be used when sorting this value. Valid values include street, street2, and street3. This part is required for International values. US values will always use street.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;multi_part_field&amp;gt;
  &amp;lt;part id="street"&amp;gt;Ostvorstadt&amp;lt;/part&amp;gt;
  &amp;lt;part id="street2"&amp;gt;Hauptstraße 5&amp;lt;/part&amp;gt;
  &amp;lt;part id="street3"&amp;gt;&amp;lt;/part&amp;gt;
  &amp;lt;part id="city"&amp;gt;Musterstadt&amp;lt;/part&amp;gt;
  &amp;lt;part id="state"&amp;gt;&amp;lt;/part&amp;gt;
  &amp;lt;part id="zip_code"&amp;gt;01234&amp;lt;/part&amp;gt;
  &amp;lt;part id="country"&amp;gt;Germany&amp;lt;/part&amp;gt;
  &amp;lt;part id="type"&amp;gt;International&amp;lt;/part&amp;gt;
  &amp;lt;part id="sort_value"&amp;gt;street2&amp;lt;/part&amp;gt;
&amp;lt;/multi_part_field&amp;gt;
&lt;/pre&gt;&lt;h2&gt;Phone Number&lt;/h2&gt;
&lt;p&gt;    &lt;a href="http://www.workxpress.com/training/library/phone-number"&gt;Phone Numer&lt;/a&gt; Fields are the last of the multi-part Fields. Like Address Fields, Phone Numbers can have two types: International and US. If the "type" part is not defined, it is assumed to be US.&lt;/p&gt;
&lt;p&gt;The XML for a Phone Number Field should be structured using the below definition.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field&lt;/p&gt;
&lt;!--&lt;/td--&gt;&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all multi-part Fields.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/multi_part_field/part&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines the value for a single part of the Field.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;id&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the current part. Valid values for Phone Number Fields include:
&lt;ul&gt;
&lt;li&gt;area_code: The area code value. Should be three digits for US values and up to five alpha-numeric characters for International values.&lt;/li&gt;
&lt;li&gt;prefix: The first three digits of a US phone number (US values only).&lt;/li&gt;
&lt;li&gt;line_numer: The last four digits of a US phone number. For International values, this is used for the remainder of the phone number (everything after the area code).&lt;/li&gt;
&lt;li&gt;extension: The optional extension value. Phone Number Fields can be set up to not display this value even if it has been set.&lt;/li&gt;
&lt;li&gt;country_code: The country calling code for International values. This will always be set to 1 for US values.&lt;/li&gt;
&lt;li&gt;type: Should be either International or United States.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;multi_part_field&amp;gt;
  &amp;lt;part id="area_code"&amp;gt;717&amp;lt;/part&amp;gt;
  &amp;lt;part id="prefix"&amp;gt;609&amp;lt;/part&amp;gt;
  &amp;lt;part id="line_number"&amp;gt;0029&amp;lt;/part&amp;gt;
  &amp;lt;part id="extension"&amp;gt;123&amp;lt;/part&amp;gt;
  &amp;lt;part id="country_code"&amp;gt;1&amp;lt;/part&amp;gt;
  &amp;lt;part id="type"&amp;gt;United States&amp;lt;/part&amp;gt;
&amp;lt;/multi_part_field&amp;gt;
&lt;/pre&gt;&lt;p&gt;    That's it for the WorkXpress Data Formats. All other Fields use simple storage types (ie. Currency stores as a number, Short Text stores as text). If you have any questions about these data formats, please feel free to leave a comment below. My next and final post on the WorkXpress API will cover display formats.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/api" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;API&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/php" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;PHP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/soap" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;SOAP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/web-services" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Web Services&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/workxpress" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;WorkXpress&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/hf68rpkrISk" height="1" width="1"/&gt;</description>
 <pubDate>Tue, 27 Oct 2009 01:23:30 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">64 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/10/using-workxpress-api-data-formats#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/10/using-workxpress-api-data-formats</feedburner:origLink></item>
<item>
 <title>Using the WorkXpress API: ExecuteAction</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/quUX0HSpVlA/using-workxpress-api-executeaction</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;&lt;a href="http://www.workxpress.com"&gt;&lt;img alt="WorkXpress Logo" src="/sites/default/files/blog/workxpress-logo.png" style="float: right;" /&gt;&lt;/a&gt;    Earlier I introduced you to the &lt;a href="/blog/2009/08/introducing-workxpress-api"&gt;WorkXpress API&lt;/a&gt;. If you have not read it already you should do so before reading this post. Once you have a basic understanding of what it is and how it works, it's time to start diving into the API.&lt;/p&gt;
&lt;p&gt;    This post will cover how to run specfic Actions on specific Items. You can find the id of an Action at the end of its description in the Event Manager (see below). Like the other functions, you can make many ExecuteAction requests in one call using data sets.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;div style="text-align: center;"&gt;&lt;a href="/files/blog/wxapi/workxpress_action_id.png" rel="lightbox" title="WorkXpress Event Manager"&gt;&lt;img alt="WorkXpress Event Manager" src="/sites/default/files/blog/wxapi/workxpress_action_id.png" title="WorkXpress Event Manager" /&gt;&lt;/a&gt; &lt;strong&gt;WorkXpress Event Manager&lt;/strong&gt;&lt;/div&gt;
&lt;h3&gt;Request XML&lt;/h3&gt;
&lt;p&gt;    First, let's get an understanding of how the request XML should be formed.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all request documents.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Contains a single ExecuteAction request. You may have as many data sets as you would like.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;An identifier that will be returned in the reponse document to distinguish between different data sets. If this attribute is left blank, a random string will be generated.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for the items that the Action(s) should be run on.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/item&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;A single item to execute the action on. There is no limit to the number of item nodes allowed in a data set.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;itemId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The item id of the item to execute the action on. Should be in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/map&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for a map definition.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/map/definition&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The actual definition for a map. The map XML must have its HTML entities encoded.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;actions&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for the Actions to be executed.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;actions/action&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;A single Action to be executed on the Items defined above. There is no limit to the number of action nodes allowed in a data set.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;actionId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of a single Action to run. Should be in the format a# (ie. a123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Response XML&lt;/h3&gt;
&lt;p&gt;    Now let's get an understanding of how the response XML will be formed.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxResponse&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all response documents.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/callStatus&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The status of the SOAP call as it was processed by WorkXpress.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;status&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The call's status. Values include success and failure.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxResponse/compatibilityLevel&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The version of the API that was used to process the request.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;One data set is returned for each data set in the request document.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The identifier that was assigned to the data set in the request.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;item&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines an item that the Action(s) was executed on. One item node is returned for each item that an Action was run on.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;itemId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the item, in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;Below is an example of a basic ExecuteAction request document:&lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;wxrequest&amp;gt;
  &amp;lt;dataset reference="accounts"&amp;gt;
    &amp;lt;items&amp;gt;
      &amp;lt;item itemid="u3541"&amp;gt;
      &amp;lt;item itemid="u511"&amp;gt;
    &amp;lt;/item&amp;gt;&amp;lt;/item&amp;gt;&amp;lt;/items&amp;gt;
    &amp;lt;actions&amp;gt;
      &amp;lt;action actionid="a314558"&amp;gt;
    &amp;lt;/action&amp;gt;&amp;lt;/actions&amp;gt;
  &amp;lt;/dataset&amp;gt;
&amp;lt;/wxrequest&amp;gt;
&lt;/pre&gt;&lt;p&gt;Below is the corresponding response document for the above example:&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;pre class="brush: xml;"&gt;
&amp;lt;wxresponse&amp;gt;
  &amp;lt;callstatus status="success"&amp;gt;
    &amp;lt;compatibilitylevel&amp;gt;1&amp;lt;/compatibilitylevel&amp;gt;
    &amp;lt;dataset reference="accounts"&amp;gt;
      &amp;lt;item itemid="u3541"&amp;gt;&amp;lt;/item&amp;gt;
      &amp;lt;item itemid="u511"&amp;gt;&amp;lt;/item&amp;gt;
    &amp;lt;/dataset&amp;gt;
  &amp;lt;/callstatus&amp;gt;
&amp;lt;/wxresponse&amp;gt;
&lt;/pre&gt;&lt;p&gt;    If you have any questions or would like assistance making some ExecuteAction requests of your own, please feel free to comment below. My next post will be on some more advanced concepts such as display formats and stored values.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/api" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;API&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/php" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;PHP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/soap" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;SOAP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/web-services" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Web Services&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/workxpress" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;WorkXpress&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/quUX0HSpVlA" height="1" width="1"/&gt;</description>
 <pubDate>Tue, 27 Oct 2009 00:18:21 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">65 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/10/using-workxpress-api-executeaction#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/10/using-workxpress-api-executeaction</feedburner:origLink></item>
<item>
 <title>Using the WorkXpress API: UpdateItem</title>
 <link>http://feedproxy.google.com/~r/Jamesarmescom/~3/h8rhKO6WoP4/using-workxpress-api-updateitem</link>
 <description>&lt;div class="field field-name-body field-type-text-with-summary field-label-hidden"&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even" property="content:encoded"&gt;&lt;p&gt;&lt;a href="http://www.workxpress.com"&gt;&lt;img alt="WorkXpress Logo" src="/sites/default/files/blog/workxpress-logo.png" style="float: right;" /&gt;&lt;/a&gt;    Earlier I introduced you to the &lt;a href="/blog/2009/08/introducing-workxpress-api"&gt;WorkXpress API&lt;/a&gt;. If you have not read it already you should do so before reading this post. Once you have a basic understanding of what it is and how it works, it's time to start diving into the API.&lt;/p&gt;
&lt;p&gt;    This post will cover how to update existing Items in a WorkXpress application using the UpdateItem API function. UpdateItem allows you to set Fields, create Relationships and recycle and delete Items &amp;amp; Relationships. Like the other functions, you can make many UpdateItem requests in one call using data sets.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;h3&gt;Request XML&lt;/h3&gt;
&lt;p&gt;    First, let's get an understanding of how the request XML should be formed.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all request documents.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Contains a single UpdateItem request. You may have as many data sets as you would like.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;An identifier that will be returned in the request document to distinguish between different data sets. If this attribute is left blank, a random string will be generated.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;action&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The operation to be performed on the requested action
&lt;ul&gt;
&lt;li&gt;delete: Once an Item has been deleted from WorkXpress, it can only be retrieved by restoring an earlier backup. You should only delete Items if you know for sure that you will not need it in the future. Deleting an Item will also delete any Relationships to other Items.&lt;/li&gt;
&lt;li&gt;recycle: Recycled Items can be restored using the restore action (see below). When an Item is recycled, it will no longer be returned in search results; this includes (but is not limited to) Actions and List Layouts. All Relationships to other Items will also be recycled.&lt;/li&gt;
&lt;li&gt;restore: Restoring a recycled Item will make it available to searchng again. Restoring an Item will also restore any recycled Relations to other Items.&lt;/li&gt;
&lt;li&gt;update: Updates an existing Item.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for the items that should be retrieved.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/item&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;A single item to be updated. There is no limit to the number of item nodes allowed in a data set.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;itemId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The item id of the item to update from. Should be in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/map&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for a map definition.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;items/map/definition&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The actual definition for a map. The map XML must have its HTML entities encoded.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/fields&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for any fields that should be updated on the items that were found in the items node.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;fields/field&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;A single field to update on the Item.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fieldId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the field to set. Should be in the format a# (ie. a123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;fields/field/&lt;br /&gt;value&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Value to set into the field.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;relations&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for relations that should be added or updated with the current item.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;relations/relation&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines a single relation to be added or updated. If the action is not "add", the attributes will be used to look up an existing relation. &lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;action&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The action to perform for this relation.
&lt;ul&gt;
&lt;li&gt;add: Creates a new relationship using the other attributes to define the new relationship.&lt;/li&gt;
&lt;li&gt;delete: Similar to items, deleted relationships are completely removed from WorkXpress and can only be retrieved by restoring a previous backup.&lt;/li&gt;
&lt;li&gt;recycle: Recycled relationships are &lt;em&gt;not&lt;/em&gt; removed from WorkXpress and can be restored using the restore action.&lt;/li&gt;
&lt;li&gt;restore: Restores a relationship that was previously recycled.&lt;/li&gt;
&lt;li&gt;update: Updates an existing relation.&lt;/li&gt;
&lt;/ul&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;oppositeItemId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the item on the opposite side of the relation. For example, if the item being updated is an account and you want to relate it to a contact (or update an existing relationship to a contact), this would be the id of the contact. Should be in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;An identifier that will be returned with the response to identify each relationship.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;relationType&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Relation type of the relationship. Should be in the format a# (ie. a123).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;startingSide&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Defines which side of the relation that the item defined above should be on. Valid values are base and target.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;relations/relation/&lt;br /&gt;fields&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Root node for the fields that should be set on the relationship.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;relations/relation/&lt;br /&gt;fields/field&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;A single field to be set on the relationship.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;fieldId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the field to set. Should be in the format a# (ie. a123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;relations/relation/&lt;br /&gt;fields/field/&lt;br /&gt;value&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Value to set into the field.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Response XML&lt;/h3&gt;
&lt;p&gt;    Now let's get an understanding of how the response XML will be formed.&lt;/p&gt;
&lt;table colpadding="0" colspan="0" style="border: 2px solid black; border-collapse: collapse;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; border: 2px solid black; width: 100px;"&gt;Element&lt;/th&gt;
&lt;th style="font-weight: bold; border: 2px solid black;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxResponse&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The root node for all response documents.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/callStatus&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The status of the SOAP call as it was processed by WorkXpress.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;status&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The call's status. Values include success and failure.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxResponse/compatibilityLevel&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;The version of the API that was used to process the request.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;One data set is returned for each data set in the request document.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The identifier that was assigned to the data set in the request.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;item&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines an item that was updated. One item node is returned for each item that was updated by WorkXpress.&lt;br /&gt;&lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;itemId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the item that was updated, in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;/wxRequest/dataSet/&lt;br /&gt;item/relation&lt;/td&gt;
&lt;td style="font-weight: bold; border: 2px solid black;"&gt;Defines a relationship that was added or updated. Returns one relation node for each relationship from the item that was added or updated by WorkXpress. &lt;em&gt;Attributes:&lt;/em&gt;&lt;br /&gt;
&lt;table colpadding="0" colspan="0" style="border: none;"&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Name&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Type&lt;/th&gt;
&lt;th style="font-weight: bold; font-style: italic;"&gt;Description&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;reference&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;The identifier of the relation that was assigned to the relation in the request.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;relationId&lt;/td&gt;
&lt;td&gt;string&lt;/td&gt;
&lt;td&gt;Id of the relation that was added or updated, in the format u# (ie. u123).&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h3&gt;Examples&lt;/h3&gt;
&lt;p&gt;Below is an example of a basic UpdateItem request document:&lt;/p&gt;
&lt;pre class="brush: xml; toolbar: false;"&gt;
&amp;lt;wxrequest&amp;gt;
  &amp;lt;dataset action="update" reference="account_update"&amp;gt;
    &amp;lt;items&amp;gt;
      &amp;lt;item itemid="u7563"&amp;gt;&amp;lt;/item&amp;gt;
    &amp;lt;/items&amp;gt;
    &amp;lt;fields&amp;gt;
      &amp;lt;field fieldid="a66969"&amp;gt;
        &amp;lt;value&amp;gt;WorkXpress&amp;lt;/value&amp;gt;
      &amp;lt;/field&amp;gt;
    &amp;lt;/fields&amp;gt;
    &amp;lt;relations&amp;gt;
      &amp;lt;relation action="update" oppositeitemid="u7436" reference="account_to_contact" relationtype="a36495" startingside="base"&amp;gt;
        &amp;lt;fields&amp;gt;
          &amp;lt;field fieldid="a36498"&amp;gt;
            &amp;lt;value&amp;gt;Intern&amp;lt;/value&amp;gt;
          &amp;lt;/field&amp;gt;
          &amp;lt;field fieldid="a36513"&amp;gt;
            &amp;lt;value&amp;gt;foo@example.com&amp;lt;/value&amp;gt;
          &amp;lt;/field&amp;gt;
        &amp;lt;/fields&amp;gt;
      &amp;lt;/relation&amp;gt;
    &amp;lt;/relations&amp;gt;
  &amp;lt;/dataset&amp;gt;
  &amp;lt;dataset action="recycle" reference="account_recycle"&amp;gt;
    &amp;lt;items&amp;gt;
      &amp;lt;map&amp;gt;
        &amp;lt;definition&amp;gt;
          &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
          &amp;lt;wxQuery
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:noNamespaceSchemaLocation="wxQuery.xsd"
            id="root"&amp;gt;
            &amp;lt;data for="root"&amp;gt;
              &amp;lt;item/&amp;gt;
            &amp;lt;/data&amp;gt;
            &amp;lt;startingTypes&amp;gt;
              &amp;lt;startingType&amp;gt;a5543&amp;lt;/startingType&amp;gt;
            &amp;lt;/startingTypes&amp;gt;
            &amp;lt;paramGroup id="wx4adfb3c227d12"&amp;gt;
              &amp;lt;join&amp;gt;and&amp;lt;/join&amp;gt;
              &amp;lt;fieldSearch id="wx4adfb3d738a91"&amp;gt;
                &amp;lt;fieldId&amp;gt;a39651&amp;lt;/fieldId&amp;gt;
                &amp;lt;operator&amp;gt;fieldLessThanEqualTo&amp;lt;/operator&amp;gt;
                &amp;lt;input&amp;gt;
                  &amp;amp;lt;?xml version="1.0"?&amp;amp;gt;
                  &amp;amp;lt;search_value&amp;amp;gt;
                    &amp;amp;lt;first_value&amp;amp;gt;
                      -1 years
                    &amp;amp;lt;/first_value&amp;amp;gt;
                  &amp;amp;lt;/search_value&amp;amp;gt;
                &amp;lt;/input&amp;gt;
              &amp;lt;/fieldSearch&amp;gt;
            &amp;lt;/paramGroup&amp;gt;
          &amp;lt;/wxQuery&amp;gt;
        &amp;lt;/definition&amp;gt;
      &amp;lt;/map&amp;gt;
    &amp;lt;/items&amp;gt;
  &amp;lt;/dataset&amp;gt;
&amp;lt;/wxrequest&amp;gt;
&lt;/pre&gt;&lt;p&gt;Below is the corresponding response document for the above example:&lt;/p&gt;
&lt;pre class="brush: xml; toolbar: false;"&gt;
&amp;lt;wxresponse&amp;gt;
  &amp;lt;callstatus status="success"&amp;gt;&amp;lt;/callstatus&amp;gt;
  &amp;lt;compatibilitylevel&amp;gt;1&amp;lt;/compatibilitylevel&amp;gt;
  &amp;lt;dataset reference="account_update"&amp;gt;
    &amp;lt;item itemid="u7563"&amp;gt;
      &amp;lt;relation reference="account_to_contact" relationid="u7564"&amp;gt;&amp;lt;/relation&amp;gt;
    &amp;lt;/item&amp;gt;
  &amp;lt;/dataset&amp;gt;
  &amp;lt;dataset reference="account_recycle"&amp;gt;
    &amp;lt;item itemid="u1782"&amp;gt;&amp;lt;/item&amp;gt;
  &amp;lt;/dataset&amp;gt;
&amp;lt;/wxresponse&amp;gt;
&lt;/pre&gt;&lt;p&gt;    If you have any questions or would like assistance making some UpdateItem requests of your own, please feel free to comment below. My next post will be on how to use the ExecuteAction request.&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-inline clearfix"&gt;&lt;div class="field-label"&gt;Tags:&amp;nbsp;&lt;/div&gt;&lt;div class="field-items"&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/api" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;API&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/php" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;PHP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/soap" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;SOAP&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item odd"&gt;&lt;a href="/blog/tags/web-services" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;Web Services&lt;/a&gt;&lt;/div&gt;&lt;div class="field-item even"&gt;&lt;a href="/blog/tags/workxpress" typeof="skos:Concept" property="rdfs:label skos:prefLabel"&gt;WorkXpress&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/Jamesarmescom/~4/h8rhKO6WoP4" height="1" width="1"/&gt;</description>
 <pubDate>Thu, 22 Oct 2009 00:17:51 +0000</pubDate>
 <dc:creator>jarmes</dc:creator>
 <guid isPermaLink="false">66 at http://jamesarmes.com</guid>
 <comments>http://jamesarmes.com/blog/2009/10/using-workxpress-api-updateitem#comments</comments>
<feedburner:origLink>http://jamesarmes.com/blog/2009/10/using-workxpress-api-updateitem</feedburner:origLink></item>
</channel>
</rss>

