Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Amir Khan 1287 posts 2744 karma points
    Nov 12, 2013 @ 17:58
    Amir Khan
    0

    Add field to CWS Starter Kit Profile

    Hi, I'm trying to add a simple text field to the new version of CMS Starter Kit. I've added it everywhere I can find just as the "Skype" field was added but I keep getting errors about "Object reference not set to an instance of an object."

    Am I missing some key step here?

  • Amir Khan 1287 posts 2744 karma points
    Nov 12, 2013 @ 18:31
    Amir Khan
    0

    Well, of course I forgot to add the member property to Umbraco, which was causing the issue.

    Now, I'm getting an error about this property not being saved as DateTime:

    profile.LastLoginDate  = DateTime.ParseExact(findMember.getProperty("lastLoggedIn").Value.ToString(), "dd/MM/yyyy @ HH:mm:ss", CultureInfo.InvariantCulture);

    Any thoughts?

    -Amir

     

Please Sign in or register to post replies

Write your reply to:

Draft