venkataramanan k Posted November 6, 2023 Share Posted November 6, 2023 Dear All,I am in the position to set a spotfire property control value from the web URL.For example, have to set two property control value form the below url.Input URL : https://xyz.com/dashbord?customerid=ABCD&year=FY2023Output : Property 1 : custormerid=ABCDProperty 2 : year= FY2023Is this can be possible in spotfire? How to achieve this one. please provide the solution. share your experience and input on this. Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted November 13, 2023 Share Posted November 13, 2023 Hello!It sounds like you should use configuration blocks. You can read more about that here:https://community.spotfire.com/s/article/Create-a-Configuration-Block-in-TIBCO-SpotfireAmong other things, configuration blocks allow you to set document properties. As stated in the page mentioned above:"Parameters and Document PropertiesA configuration block parameter is automatically assigned to a document property, if a document property with the same name and data type is defined in the analysis."So, if you have the document properties customerid and year, you could set them using the following configuration blockhttp://xyz.com/spotfire/wp/OpenAnalysis?file=0abe1b8e-90d1-4008-a859-1d9191932998&configurationBlock=customerid=%22ABCD%22;year=%22FY2023%22;(Make sure to read the section on URL encoding, which is a common source of issues) Link to comment Share on other sites More sharing options...
venkataramanan k Posted November 23, 2023 Author Share Posted November 23, 2023 Thanks for your response Fredrik, I did that with the same. 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