After the XML file is updated, is there a way to force Fantasy Grounds to use the updated data other than closing and re-opening the campaign? Refresh Assets does not seem to have any effect.
Printable View
After the XML file is updated, is there a way to force Fantasy Grounds to use the updated data other than closing and re-opening the campaign? Refresh Assets does not seem to have any effect.
Try deleting the image from the image list and re-importing it.
You could also try /reload in chat. But that will reload the whole ruleset and campaign.
Metadata is cached with the token instance once it is read to prevent reading the metadata every frame. This is on a per token basis. You should be able to delete the token and add a new one to update the metadata. I'll have to check if this is accurate. If not, I can look at adding the XML to the asset refresh.
I've found that data is being cached somewhere and you have to slightly rename the asset in order for the new XML to kick in. Even logging out and logging back in doesn't seem to clear it.
No, what I was saying is delete the token instance from the image. It's possible that the metadata gets embedded into the current database when it is read. I'm not sure about that, so I will have to check. If it is, I'll look at adding the metadata to the asset refresh.
I've done some checking, and the metadata will not be updated if changed after it has been loaded the first time. We're investigating updating the asset refresh button to update metadata, as well.
Thanks. I added a feature request for it a couple of weeks ago: Refresh Asset XML.
I was able to get the token metadata to update when assets are refreshed. This only works on the host, the updates are not send to the client as this would require resending all metadata. My assumption was that you would like to update the metadata without a reload while you are tweaking the metadata for tokens. If so, this should meet the requirement.