primary attribute in custom entity RRS feed

  • Question

  • hi,

    when we create a custom entity we will ne asked for a primary attribute. by default it is new_name which is of type of nvarchar. now i want to have it of type datetime. is it possible.

    this problem arised because when i tried to select date field form the lookup view of the custom entity it is selecting the value form new_name attribute. how can i do this?

    Monday, July 27, 2009 10:26 AM


  • Hi, Kishan.

    This is not possible.

    But you can put another one datetime field onto your custom entity and when this field is modified - you can update primary attribute with new value inserted to the datetime field.
    Truth is opened the prepared mind My blog - http://a33ik.blogspot.com
    Monday, July 27, 2009 10:30 AM