PDA

View Full Version : Need help, if possible!



ChipDancer
June 9th, 2021, 02:34
I am trying to figure out if it is possible to export the party inventory to like a flat file or a cvs file please if anyone knows how to do this?

Thanks in advance!

Chip

Trenloe
June 9th, 2021, 03:53
You can't specifically export that data. It is stored in the campaign db.xml file, in the <partysheet> portion of the XML.

You could either access this data or write an extension to output information to a text file using the saveTextFile API function: https://fantasygroundsunity.atlassian.net/wiki/spaces/FGCP/pages/1482293249/File#saveTextFile-%5BFGU%5D

ChipDancer
June 9th, 2021, 13:05
Thanks!

Unfortunately I have no idea how to program LOL!

Chip

bmos
June 9th, 2021, 13:59
Thanks!

Unfortunately I have no idea how to program LOL!

Chip
open FG launcher
click folder icon in upper left
in file explorer window that opens, open campaigns
open folder for your campaign
open db.xml file (be sure not to edit it unless you know what you are doing).
copy/paste everything between <partysheet> and </partysheet> into another file