Have you considered using the Open Office SDk For MS Office?http://msdn.microsoft.com/en-us/library/bb448854.aspxI've had great success creating Excel and Word docs from Silverlight and Flex Data grids with this.Essentially you end up creating an xml document which will open in MS office.
oX = createobject('Excel.Application') oX.visible = .t. oX.Workbooks.open(filename) oBook = oX.Workbooks(1) oSheet = oBook.Worksheets(sheetnumber) myvariable = oSheet.range('B2').value
.ActiveDocument.Bookmarks("TCTime").select .selection.TypeText(transform(pei.tctime))
Hmmm. . . And this can be triggered from a Silverlight page?Actually, I already have a routine that I like but which requires a data context. I don't know how to create a data context for my FeatureLayer. I'm still too new to all this stuff. (shrug)
I have a python scipt to export selected records from a GP service/task to a excel and then I serve the excel up as a zip download. Not exactly what you need and not as clean as you want it to be but say the word and it is yours!
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.