hi,
I have created a smartObject with a field date and the value is date and time. Which format is necessary for this value?
I have tried dd.mm.yyyy hh:mm. But there I get an error message.
thx,Jochen
hi,
I have created a smartObject with a field date and the value is date and time. Which format is necessary for this value?
I have tried dd.mm.yyyy hh:mm. But there I get an error message.
thx,Jochen
Hi HTH,
I have a InfoPath Integration and my Date is an InfoPath Date - how can I use this to create a SmartBox SmartObject?
Anja
I get still an error by setting the smartObject field "Date"
I do this by using the following code
...
DateTime term = DateTime.Now;
string time = term.AddMinutes(5).ToString("yyyy-mm-ddThhss");
soRequest.Propertiess"Date"].Value = time;
soRequest.MethodToExecute = "Create";
soServer.ExecuteScalar(soRequest);
but when I set the SmartObject value an error occurs, "Exception of type 'SourceCode.SmartObjects.Client.SmartObjectException"
thx,Jochen
Hi,
When I step through the code the error message is not created when I set the value to the smartobject. It is create within this statement
soServer.ExecuteScalar(soRequest);
But when I comment out "soRequest.Properties["Date"].Value = time;" I get no errormessage.
Jochen
I don't know which changes I did but now it works using the code obove.
Thx,Jochen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.