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
Hello! I added a new property to a document type here today, but I can't seem to save all of my data. I get a 500 error and when I check my log, I see that "string or binary data would be truncated." Okay, maybe something is too long here. Is there another way to approach this? Or can I increase the acceptable size for the data?
In the example shown below, some code in my view will grab each key and then make some sort of list or array out of the pipe-delimited value. Basically, I have this in some JSON in my view already, but I want to make it super easy for anyone after me to just add or remove data in the back office.
Thanks for any input!
What does your package.manifest file look like?
Most likely you need to set the value type of your editor - eg. like in this example:
"name": "Skybrud Link Picker",
I tried adding JSON like in your example, but I still get the same problem:
name: "Key/Value List Property Editor",
group: "Rich Content",
Do you think I might need to specify something else there? I'm new to this, so I'm not totally sure how to proceed.
I can't remember for sure, but I think Umbraco remembers the old value (which was probably STRING if you hadn't specified anything).
Does it change anything if you create a new data type and update the property to use that instead?
I just realized that I think I can't do this because other pages use this property editor and there might be unforeseen consequences.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted