Ronald Brill Posted October 17, 2022 Share Posted October 17, 2022 I m using the Spotfire WebPlayer API and i like to set a document property (of type string) to a value.This works fine using a configuration block as parameter for the createApplication() API.Something like this: myDocumentProperty="ab c";But this fails if the string contains a newline.Setting the same property using the doc.setDocumentProperty(propName, value); javascript works fine with strings containing newline characters.What is the correct way to encode newlines for strings in the configuration block? Link to comment Share on other sites More sharing options...
Fredrik Rosell Posted October 18, 2022 Share Posted October 18, 2022 Hello,That is a known issue - using multi-line in configuration blocks simply does not work (I did a quick test in the latest TIBCO Spotfire 12.0 version to confirm, and it did fail). For increased visibility, I recommend that you open a support case about this in the Support Portal - https://support.tibco.com. Link to comment Share on other sites More sharing options...
Ronald Brill Posted October 18, 2022 Author Share Posted October 18, 2022 Thanks @Fredrik Rosell for the clarification. 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