There's only one way at the moment to store such information in SMW, which is using a multi-value property that holds both a string and a number:



On Fri, Apr 24, 2009 at 6:27 PM, Garandor <Garandor@gmx.de> wrote:

is there a way to make SMW save multiple occurences of 1 value in a
property on a single page?

I have a Property:Components, which takes values of type page.

Using the {{#arraymap: parserfunction i can make SMW map multiple values
to this property on one page, which works fine most of the time, but
some pages consist of multiple instances of the same component, (e.g.
http://dotawiki.de/index.php/Orchid_Malevolence ) consists of 3
instances of [[Component:Oblivion Staff]]

Showing them in the article works fine, but querying for the components
of this item only returns "Oblivion Staff" once.

I'd need it to display all occurences of one component in order to
automatically calculate the total cost though.

Any way to implement this?

Thanks in advance

Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
Semediawiki-user mailing list