November Happy Hour will be moved to Thursday December 5th.
November Happy Hour will be moved to Thursday December 5th.
Hi Jim,
The property should appear by default. If not, then may be someone deleted that (from CMS admin) or your db version not reflecting the changes.
Are you also getting that issue locally (not seeing the property)?
You can try workaround like adding it manually from CMS admin and see if the value (after adding it manually) in your column From Code = Yes (last column in below image, it should not be missing value)
If you don't know, how to do that, you need to go into CMS > Admin > Content Type and select your type (should appear in Media Types group), then follow this document to add/update property (below link)
https://webhelp.episerver.com/latest/en/cms-admin/properties.htm
You can follow the information to add like Name, Description and other infomartion from your code (in screenshot you shared above).
Please let me know if have any futher issue. We can connect.
Hi Jim,
A few questions first to narrow down what could be causing this:
Here is a link to blog post that explains the content model sync.
Hi Jim,
I tried your code the property should appear with "Alternate text" as below, if you are looking the property name with Description, it will not be there(because of Display>Name) :
And if you still not able to find that property on page then as Praful said you need to confirm that property in your CMS>Admin under content Tab:
Hope it will helps you !
Thank you.
Three suggestions:
Hi Praful, Antti, Sunil, and Tomas,
Thanks all for your quick responses. The property was not appearing at all in Admin > Content Type > Image Media on my local server (IIS Express). I followed Praful's suggestion and added the property manually. That worked and now the "Alternate text" field does appear in the Content tab. 👍
However, I set the Type to "String (<= 255)" and I get the error '"String (<= 255)" is not a valid value for "PropertyLongString".' when I save. The Type can't be changed now.
string
".More details:
episerver.config
file (That's pre-version 11, right?). There is a web.config
file, but it doesn't contain "enableModelSyncCommit" anywhere.TIA,
Jim
I have a class called ImageMedia that is based on the ImageData class in EPiServer.Core. There is a property, Description, which should be generating a text entry field when I edit an image in the Media tab but it's not showing up. The code:
A breakpoint set on the line that declares Description never stops the process, but a breakpoint on the line that declares Thumbnail does pause execution. (PS I did not write this code.)