[opencms-dev] How to get number of resources by resource type

ap SOMVANSHI apsomvanshi7 at gmail.com
Sun Mar 24 14:00:39 CET 2013


Together we make it happen

2013/3/14, r.kurz at alkacon.com <r.kurz at alkacon.com>:
>
>
> Hi, just an addition:
>
> http://localhost:8080/opencms/opencms/handleSolrSelect?fq=type:v8flower&fq=parent-folders:/
> font-family: monospace; font-size: 13px;">
>
> that means that you have 34 resources of the type 'v8flower', whereby the
> type is the resource type name declared inside the manifest.xml of your
> module or inside the opencms-modules.xml.
>
> HTH
>
> On Thu 14/03/13 10:43 AM , Arturo Martín Lladó  wrote:Hi, Jaime:
>
>  Are you able to, fisrt of all, obtain every type defined on your
>  OpenCms installations via OpenCms API?
>  If you are able to do so, you could perform a Solr search and,
>  iterating over the results and checking the type of each one, count
>  them.
>
>  Regards,
>
>  --
>  Arturo Martín Lladó
>
>  2013/3/14 Moret-Tan Bee Bee :
>  > Hi,
>  > We'd like to get the number of resources per resource type in OpenCMS.
>  > How to do so?
>  > Regards,
>  > Jaime
>
>
>
> -------------------------
> Message sent via Atmail Open - http://atmail.org/



More information about the opencms-dev mailing list