spotfiresoftware / spotfire-mods

Spotfire® Mods
https://spotfiresoftware.github.io/spotfire-mods/
Other
56 stars 41 forks source link

How to update to mods 1.1 #33

Closed hski-github closed 3 years ago

hski-github commented 3 years ago

Would be great if the documentation in the FAQ would contain information how to update to mods 1.1

Is it as simple as changing "apiVersion": "1.0" to "apiVersion": "1.1"?

But autocompletion in Eclipse (similar to Intellisense in Microsoft VS) does not show the new attributes of 1.1 e.g. DataViewRow row.elementId.

Any idea?

hski-github commented 3 years ago

Guess I have to update spotfire/mod-schema.json and spotfire/spotfire-api.d.ts

That solved the issue with autocomplete in Eclipse.

objerke commented 3 years ago

I've added a section on in the readme on how to update a mod to a newer version. https://github.com/TIBCOSoftware/spotfire-mods#updating-an-existing-mod-project-to-a-newer-api-version