I'm trying to set document property in spotfire using spotfire JSAPI.
I've established spotfire connectivity using app = new spotfire.webPlayer.Application(c_serverUrl, customization, c_analysisPath, parameters, true);
and then I'm trying to set doc property using app.analysisDocument.setDocumentProperty("propertyName","value"), propertyName already exist in spotfire whose value should get replaced with new value.
Can someone help me in understanding why this is not working or why doc property is not getting reflected in spotfire?
value is of system.object type.
can you try this: var test=10; and then pass test in setDocumentProperty("propertyName",test), assuming your property is of integer type