Hi,
Is there a way for me to modify an asset listing page to output to either a CSV page or a Spreadsheel ML page that can be used with Excel?
Thanks
Sure, just put the following in your design which is applied to the asset listing:
Then, you just separate your results with commas.
When working with the Asset Listing, I would also suggest going into the Page Contents and type format bodycopies, opening the properties of the bodycopy DIV(s), and changing the "Presentation" setting from "Block-level" to "Raw HTML". Otherwise, you'll have <div> tags scattered throughout your CSV file, which you obviously don't want.
If you have the Raw HTML Content Type asset available in your system, using that content type and not the default "WYSIWYG" content type (also settable from the DIV properties) would also help.
Take a look at this spec. I’ve been building excel reports with MySource lately and this was suggested to me - though big it’s really handy manual.
http://standards.iso.org/ittf/PubliclyAvailableStandards/c051463_ISOIEC%2029500-1_2008(E).zip
I have created native excel spreadsheets in the past based on the ms office xml formats. Below is an example of what you can do.
DESIGN PARSE FILE
[b]ASSET LISTING PAGE CONTENTS[/b]
<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
Aleks Bochniak
Aleks Bochniak
Griffith University
11.6568
7000
10000
120
60
False
False
I have now put my above post into a decent blog post with an example
http://aleks.bochniak.net/postbox/mysource-matrix/outputting-excel-spreadsheet-xml
Aleks,
Any chance you could put that up on the community site?
Sure mate… gotta find my login details