Custom Content Module Won't Update
I've implemented a custom content module and am able to create a new item just fine. However, when I go back to make changes to that item and re-publish, none of the changes are picked up. This module is based off of the jobs module example for what it's worth. I can post any code needed for review, but am not sure what code would be relevant. It seems like there data provider to do be doing this.
Hello Brett,
I replied to your support ticket with details about the fix. For the sake of common knowledge, I'll post it here as well.
If your module is based on Content and has problems updating items (saving them for a second time after they are created), the most probable reason is incorrect binding of Lstring properties in your module definitions. If you have a line like the following:
DataFieldName =
"Content"
,
DataFieldName = displayMode == FieldDisplayMode.Write ?
"Content.PersistedValue"
:
"Content"
,