Open an analysis and create a Document Property of type "String." and now save an expression like "
[search_dt] >= Date(DateAdd('dd',datetimenow(),-90))" to this document property (note that is not correct usage of the DateAdd() function since Arg2 and Arg3 are reversed). Now add any visualization to the analysis file and go to Properties > Data > "Limit data by expression" and insert the Document Property created before. The TIBCO Spotfire Installed client crashes with the following error.
System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Parameter name: length
at System.String.Substring(Int32 startIndex, Int32 length)
at Spotfire.Dxp.Forms.Scintilla.ScintillaTextBox.AddIndicator(Int32 lineIndex, Int32 charIndexInLine, Int32 length, Int32 indicatorIndex)
at Spotfire.Dxp.Forms.Data.ExpressionControl.AddIndicator(IExpressionLayoutInformation layout)
at Spotfire.Dxp.Forms.Data.ExpressionControl.UpdateErrorProviderAndShowErrorMessageBox(Exception ex)
at Spotfire.Dxp.Forms.Data.ExpressionControl.Create()