Alex Cassells Posted May 19, 2018 Share Posted May 19, 2018 I am trying to do something simple in Tibco Spotfire, to try and set a document property in webplayer by specifying a property in the url. I cannot get this to work. I have created a document property called 'test' which is simply a string I have then created an input text control bound to that document property I would expect that if I opened that report in webplayer with a url prepended with &configurationBlock=test%3D"helloworld" then the input text would be populated with the value helloworld. However, it is not. This seems to be a reasonably simplE thing to get working, I have tried what I think is every possible variant of encoding the data to no effect. Is there something I am doing wrong that could make this work. Link to comment Share on other sites More sharing options...
Rayees Wani Posted May 21, 2018 Share Posted May 21, 2018 The below works for me: http://mySpotfireServer/spotfire/wp/OpenAnalysisfile=/RW/SampleAnalysis... World%22; ../spotfire/wp/OpenAnalysisfile=/RW/SampleAnalysis&configurationBlock=test=%22Hello World%22; There is more supporting documentation for the same on our wiki article below: Create a Configuration Block in TIBCO Spotfire https://community.spotfire.com/wiki/create-configuration-block-tibco-spotfire As per above documentation, the following characters should be encoded in particular: space %20 " %22 { %7B } %7D Link to comment Share on other sites More sharing options...
Alex Cassells Posted May 21, 2018 Author Share Posted May 21, 2018 So I have tried that on our corporate spotfire server and have also tried it on Spotfire cloud and it doesn't work for me. The link to the public cloud version is https://spotfire-next.cloud.tibco.com/spotfire/wp/render/WZYA-fV2NU3IwA056T/analysisfile=/Users/jr6gwzvpo64r2cxq6or2peaxfvynrb3f/Public/test_2&waid=ycQrQiyqakCZ3tHlrOBhL-180251c7238d_u&wavid=0&configurationBlock=test=%22Hello%20World%22; I am intereseted to know what I am doing wrong. Link to comment Share on other sites More sharing options...
Rayees Wani Posted May 21, 2018 Share Posted May 21, 2018 This seems to work alright: Or are you still facing the issues at your end Link to comment Share on other sites More sharing options...
Alex Cassells Posted May 21, 2018 Author Share Posted May 21, 2018 This is still a problem for me, can you share the url by which you have opened the file Link to comment Share on other sites More sharing options...
Rayees Wani Posted May 21, 2018 Share Posted May 21, 2018 .. //spotfire-next.cloud.tibco.com/spotfire/wp/render/WZYA-fV2NU3IwA056T/analysisfile=/Users/jr6gwzvpo64r2cxq6or2peaxfvynrb3f/Public/test_2&waid=ycQrQiyqakCZ3tHlrOBhL-180251c7238d_u&wavid=0&configurationBlock=test=%22Hello%20World%22; Link to comment Share on other sites More sharing options...
Alex Cassells Posted May 21, 2018 Author Share Posted May 21, 2018 I have managed to get it working now, but I have absolutely no explanation of what is different now to previous iterations. I will keep an eye on this. Link to comment Share on other sites More sharing options...
andrs muoz Posted October 28, 2019 Share Posted October 28, 2019 Hello, The problem for me was that I was trying: &configurationBlock=test%3D%22helloworld%22, instead of &configurationBlock=test=%22helloworld%22; That "=" not encoded did the trick for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now