Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
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?
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
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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?
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
is working on a reply...