Video: Metail is the new way to do online retail


This video is about the Metail solution and I demonstrate how your Metail account can be used across multiple stores for getting a visual for how the clothes will look on you. The really cool aspect of Metail being a Software As A Service (SaaS) is that as more and more sites get on board with Metail a persons model can follow them. Watch the video and see how easy it is to visualize the clothing across multiple site.


And if you thought that was cool, check out Metail on mobile in the video below:

Using Watson Translation service in an Eclipse SWT application Part 2

The next follow-up to the last article is the code I used to communicate with the Watson Translation service. But first I want to show the flow of the data:


So basically the SWT client sends a JSON string to the server in the body of the message. You can do this as long as you specify application/json as the Content-Type. For JSON, I use the JSON library for Java over at and its been perfect. I have even begun using this library for all of my in memory objects because then I can easily serialize it out for storage or over the network.

Below you will see the primary code to send this message:

[codesyntax lang=”java”]

JSONObject payload = new JSONObject();
payload.put("toLang", obj.get("to"));
payload.put("text", obj.get("text"));
URL url = new URL(pet_bluemix_translation_service);
URLConnection connection = url.openConnection();
connection.setRequestProperty("Content-Type", "application/json");
OutputStreamWriter out = new OutputStreamWriter(connection.getOutputStream());
//Now get the response
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String n = in.readLine();
StringBuffer sbValue = new StringBuffer();
while(n != null){
	n = in.readLine();
final String value = sbValue.toString();


IBM Commerce Insights will change the way you work online

I just saw a really good info graphic on the IBM Commerce Blog. You can click on the info graphic on the right to see the full version in the blog post.

What is really cool is the video at the end of the article.  I would really love to hear feedback from merchandisers or marketers who think this would really make their jobs easier.

Screen Shot 2015-11-10 at 2.11.03 PM

Click image to watch video








Also, I might as well plug the webinar:

“join us for our December 2nd webinar with Internet Retailer and see for yourself how IBM Commerce Insights will forever change how online merchandisers and marketers work.”

Easily placing products across your eCommerce sites categories

Management Center Product Categories

In this video I show two ways to assign products to categories. The first method I use is a basic search and dragging and dropping the products to the different categories. In the second method I show how to use the Catalog Entry Assignment Tool to assign the products to multiple categories in a single click. I also show how powerful the search in the Management Center tooling is and the different options it supports.

Allowing CORS from a Node-Red Bluemix application

I wrote a rating application some time ago in Node-Red and have since needed another similar application but with slightly different behavior. So I went ahead and created a new Node-Red application on Bluemix and decided to start from scratch since it was so simple to set up. This application has three requests – Get Rating, Post Rating, and Post Comment. Here is the current flow:


The problem I had was the requests actually respond with JSON and I could not figure out how to enable CORS!

The first thing I did was in the cors node I added the following to the response:


And that did not work. Then, I stumbled upon this in my Cloudant dashboard in the Account Section under CORS:


Once I checked all domains it worked fine! I am sure I can restrict the domains appropriately but I guess I don’t understand why the CORS options are under the Cloudant section and not the base application somewhere. I would think this is a specific thing to hitting the Cloudant service directly, not through a Node-Red Node. I am very interested in hearing others opinions on this.


After using the Cloudant UI to update my profile I went back and checked the bluemix-settings.js saw it indeed added the httpNodeCors line to the profile:

httpNodeCors: { origin: “*”, methods: [‘GET’,’PUT’,’POST’,’DELETE’] },

So this is clearly the issue as I saw a similar question on developerworks but saw no example of the syntax.