• Naveen semwal
    January 22, 2018 at 9:21 pm #4934

    Scenario –

    I have a complex object of “PersonalDetails” BO which contains DOB field of Date type. I am populating my composite coach view of personal details using ajax call. But date time picker gives me below mentioned error.

    Composite  Coach View  of “Perosnal details” section  and service call coach view are bound to same variable “personalDetails” .Whenever i execute the service call , ajax service returns the result personalDetails and all the fields are populated automatically.


    Error Message-

    Call stack: TypeError: event.newVal.getTime is not a function
    at subclass.constructor.change
    at Object._448.callViewLifeCycleAPI
    at subclass._f66._change
    at subclass._f66._bindingChanged
    at Object._9e2._invokeCallback2
    at _a0d.propertyChange
    at Object.<anonymous>
    at _806
    at Object._802._watchCallbacks


    SPARK Support
    January 23, 2018 at 1:28 pm #4937

    Hello Naveen,

    This seems to be an issue with BPM setting the Date type in a Complex BO as a String using the Timestamp format.

    You can work around this issue by placing a Data control on the Coach View bound to the Date property.  Use the On Change event of the Data control to setData() on the Date Time Picker, and the On Change event of the DTP to setData() on the Data control.


    Stephen P.

    Naveen semwal
    January 23, 2018 at 9:26 pm #4938

    Thanks Stephen for the work around. It’s working as expected.

    SPARK Support
    January 24, 2018 at 10:03 am #4944

    Hello Naveen,

    I’m glad to hear that solved the issue.


    Stephen P.

    October 14, 2018 at 11:29 pm #5303

    Hello Naveen,

    I’m also facing the same issue using Service call control. Could you please explain the steps to resolve the issue.


Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search