In my opinion sitemap is lighter than asset listing (especially when the grouping is turned on). In sitemap you can customise the output as per content type.
In my opinion sitemap is lighter than asset listing (especially when the grouping is turned on). In sitemap you can customise the output as per content type.
Thanks for the suggestion Robin,
Although this looked promising (had desired display formats and dynamic root node options), I could not see any way to remove the hyperlink from the parent (Folder).
I've also come across this issue. My source data (MS SQL Server) uses month names, and the records are in date order. I need to group by month so that I can output a month header, but ASC or DESC will sort the months alphabetically, which is obviously not what I want.
I've also come across this issue. My source data (MS SQL Server) uses month names, and the records are in date order. I need to group by month so that I can output a month header, but ASC or DESC will sort the months alphabetically, which is obviously not what I want.
Any ideas?
I would use two asset listings and the list_current_asset_id method. It gives you more control over grouping, and you can sort the groups however you would like.
Thanks, Nic. I've ended up going for a simpler solution in this case. I was able to amend the data returned to include the month number as well as the month name. I've then added an additional asset grouping above the month name one, grouping by this new month number.
If I'd not had access to the query, your approach would have been the answer.