Plugin Developer DiscussionDiscussion for FogBugz Plugin developers |
|
Hi Nikhil-
If you have a look at (your fogbugz install)/Plugins/examples/FilterExport/filterexport.was, you'll see that it's only about 250 lines of Wasabi, which should easy to translate into C# if you're comfortable working there. What will be the same: You'll still want to implement IPluginFilterToolbar and IPluginGridColumn What will be different: Instead of Implementing IPluginBinaryPageDisplay, you'll want to implement IPluginPageDisplay, and then do something very much like what BinaryPageDisplay is doing in the the FilterExport plugin, except instead of encoding as CVS, write a function to display the listview data as a page formatted as you want. Good luck! Thanks, Brett
Only half on topic: I'm currently working on a more generic variant which allows the user to not only create a CSV file, but apply any XSLT transformation, so that you could also generate HTML, XMLSS, WORDML, XSL-FO or whatever you like. Not sure when I'll be done, though.
|
Powered by FogBugz