Try our conversational search powered by Generative AI!

New Property not showing in edit mode


Hi there, 

Working on an existing block, 

[Display(Name = "string 1", GroupName = SystemTabNames.Content, Order = 10)]
public virtual string String 1{ get; set; }

[Display(Name = "string2", GroupName = SystemTabNames.Content, Order = 15)]
public virtual string string2{ get; set; }

[Display(Name = "string3", GroupName = SystemTabNames.Content, Order = 20)]
public virtual string string3{ get; set; }

[Display(Name = "bool1", GroupName = SystemTabNames.Content, Order = 25)]
public virtual bool bool1{ get; set; }

[Display(Name = "bool2", GroupName = SystemTabNames.Content, Order = 30)]
public virtual bool bool2{ get; set; }

[Display(Name = "NewString", GroupName = SystemTabNames.Content, Order = 35)]
public virtual string NewString{ get; set; }

For some reason it will just not appear in the CMS / Edit panel, everything else appears but no joy as of yet?  I'm doing nothing differently, its just a string it shouls appear no? 

Any ideas? 

Jan 30, 2020 13:34

Can't see anything wrong here. No errors in the log?

Could be a problem with assembly versions:

Jan 30, 2020 15:05

You can check in admin mode on the content type if the property has been created in the background. Also check if you have any javascript errors where you are editing the property. Sometimes you might have an old custom property in background that will break edit mode.

Jan 30, 2020 15:29

It's also worth checking your web.config to see whether you have model sync commit disabled

    <applicationSettings enableModelSyncCommit="false" />

If that's set to false, changes in the model won't be applied.

Jan 30, 2020 17:51

Verify database version, it might not be sync with application.

Can you check the application logs.

Jan 31, 2020 9:53

I would start with checking in admin mode as Daniel explains. If not present there, check configuration as Pauls describes.
In admin mode locate the block type, click «settings», then «revert to default».

Are someone else using the same database? If the other guy restarts his site after you, and the property does not have any content, it could get removed.

Jan 31, 2020 10:10

I would agree with Tomas, every time I encounted this it is because someone has done manual changes in admin mode and that means that Epi ignore your code changes

Jan 31, 2020 14:23

database version was not in sync with application! 

thank you! 

Feb 14, 2020 10:18
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.