search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
Shouldn't you use PropertyLongString? It is now recommended over PropertyString even for short strings ...
Hi all,
I have a metafield of type "Short String" - in the database I see it has max length of 512.
So, we have imported data into this metafield which is 512 characters long.
But when I use IContentLoader to load a product containing that metafield, it is mapped to an EPiServer.Core.PropertyString which has a max length of 255... so, this exception is thrown:
How can I avoid this error? Is a "short string" metafield actually capable of using up to 512 characters? Or can it only use 255?
Thanks,
- Ken