I have a new friend. Its name is HTML Template.
My friend allows me to format my data in any which way I wish within Portlet Factory. All I have to tell it is what field I want to use by using span tags. Sometimes I might say something like :
<tr>
<td><span name="FirstName" /> <br /><span name"StreetAddress" /><br /><span name="City" /><br /><span name="State"> <span name="zip"></td>
<td><span name="LastName /></td>
</tr>
This allows Portlet Factory to fill in the information I wish and where I wish it to go. But make sure you put all the fields that are coming in through your web service in or this gets ugly..... VERY ugly
So remember, when Portlet Factory makes ugly portlets, just use HTML Templates.
Comments (2)
We have haven't even attempted to grok HTML templates in Portlet Factory. Have examples/documentation gotten any better in the
latest versions?
Somewhat - but I think I will post a little bit more on it. I truly have to base my initial discovery on trial and error. You know, stick my table row somewhere and see if it goes. I had an extra challenge because of the formatting of my data, so I will try and get those templates and post them on my blog with a explanation...