Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    DataSource.convertRelativeDates() not working

    Hi,

    I get

    "15:37:41.172:MUP5:WARN:Log:Error: 'Egenskapen eller metoden convertRelativeDates stöds inte av objektet'"

    which means convertRelativeDates is not supported ...?

    when trying

    Code:
    var tempC = myList.getCriteria();
    var tempCD = DataSource.convertRelativeDates(tempC);
    Any solutions?
    Last edited by jnorden; 3 May 2013, 10:04.

    #2
    Start by filling in all of the required information that the forums prompts you for.

    Comment


      #3
      Versions

      SmartClient Version: v8.3p_2013-04-25/Pro Deployment (built 2013-04-25)

      IE 9 and 10

      /Johan

      Comment


        #4
        convertRelativeDates is an instance method on a dataSource, not a class-method (or static method).
        In other words you should be calling myDataSource.convertRelativeDates(...); where myDataSource is a dataSource instance.

        If you continue to have trouble with this and think you've found a framework bug, please show us a test case we can run to reproduce the problem.

        Thanks
        Isomorphic Software

        Comment

        Working...
        X