Jump to content

Tibco Spotfire webplayer, set a document property via the url


Alex Cassells

Recommended Posts

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

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

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

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...