Andreia Biancato 5 Posted February 6, 2019 Share Posted February 6, 2019 Hi How can I solve this error In the Database Procedure I am passing a USERID variable, but when I run in the spotfire, errors occur The user 3688062@fedex.us is an integer, but this is passing as a string where this error occurs and I can not execute the SAVE button. 3688062@fedex.us Traceback (most recent call last): File "", line 4, in ValueError: value argument has incompatible value type System.ArgumentException: value argument has incompatible value type at Spotfire.Dxp.Data.DataProperty.set_Value(Object value) at CallSite.Target(Closure , CallSite , Object , Object , Object ) at System.Dynamic.UpdateDelegates.UpdateAndExecute3[T0,T1,T2,TRet](CallSite site, T0 arg0, T1 arg1, T2 arg2) at Microsoft.Scripting.Interpreter.DynamicInstruction`4.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) at Microsoft.Scripting.Interpreter.LightLambda.Run2[T0,T1,TRet](T0 arg0, T1 arg1) at IronPython.Compiler.PythonScriptCode.RunWorker(CodeContext ctx) at Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope) at Spotfire.Dxp.Application.IronPython27.IronPythonScriptEngine.ExecuteForDebugging(String scriptCode, Dictionary`2 scope, Stream outputStream) Link to comment Share on other sites More sharing options...
Shandilya Peddi Posted February 6, 2019 Share Posted February 6, 2019 What is the type of the Document Property "UserID" is it Integer or String Link to comment Share on other sites More sharing options...
Andreia Biancato 5 Posted February 7, 2019 Author Share Posted February 7, 2019 The property type is USERID is integer On-demand settings are coming as String. Please, how do I solve this problem 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