Get Details of a List -

Dermot Butterfield - 06 September 2015

tl;dr

Get Details of a List

ics:listget gets the list specified in the attribute listname and retrieves the info requested in the attribute fieldname.  This information can be assigned to the variable declared in outputfieldname is the title of the field you wish to retrieve from the list.  The most common fieldname will be value as this is used in a ics:listloop to assign a list object during iteration.
Other values include:

  • #curRow - retrieve the current row number
  • #numCols - retrieve the number of columns in the list
  • #numRows - retrieve the number of rows in the list
<ics:listget listname="resultsList" fieldname="#numRows" output="resultsListSize" />

This example will return the number of items in the list.

Contact Us

I hope you found this useful or if you have any questions don't hesitate to leave a comment or contact support[@]tomred[.]net

Articles

Java

This what I have spent most of my time working in over the years and these are the little bits of logic or snippets I have come across. Some of these are things I have needed to search for or I have found I needed to feedback on code reviews.

Oracle WebCenter (FatWire)

During my time working in consulting I was tasked many times with delivering FatWire sites. I took notes due to the lack of useful documentation at the time. These are the results of those notes made and shared.

CSS HTML JS

I believe the majority of time on a project is spent with the UI. Web is no exception. I have compiled a set of articles covering HTML, CSS and JS with the intention of taking the sting out of this work.

DevOps

A space dedicated to all those things you need to know beyond writing code. This covers Linux, Windows, Git and SVN among other hopefully useful nuggets.

Security

I picked up some pointers over the years consulting for government and banking sectors before entering a PCI DSS development environment. This section covers aspects like coding, testing, code review and best practice.

Apps

Apps is a section which offers access to bits and pieces I have put together over the last few years. This includes Random Password Generator and Base64 Encoder.