Problem building a custom schema

Posted by: vtortola on 3 August 2017, 3:51 pm EST

  • Posted 3 August 2017, 3:51 pm EST


    I'm trying to build my custom schema but I have problems with the DateTime, I'm trying to do the same than in this example (split in Week, WeekDay, ..etc..)but dynamically. The attributes appears correctly, but when I drop them over the "columns" or "rows" area doesn't appear any data... seems like I'm doing something wrong, but after a while looking for the problem I couldn't figure out what is going on.

    I've attached an example project, and the problem is in the BuildDateTimeFields function, I think that is something related with the ColumnName or with the expressions.

    If somebody could take a look on it I'll be grateful :D

    Thanks in advance.


  • Replied 3 August 2017, 3:51 pm EST

    It appears that the problem is caused by a missing QueryField.  You will need to include the actual field from the DataSet as a query field along with the date part fields.  You could add the field simply by passing its name as a parameter into the AddQueryFields method in your BuildDateTimeFields method.

    If you have any addtional questions please feel free to let me know.
  • Replied 3 August 2017, 3:51 pm EST


    Right, that was the problem, is already working :)

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels