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,
Is there any way how can i add more items in nested content from c# ?
Thank you
Hi Edward,
I haven't tried to do this myself, (I've had no need to yet), but I know someone else is trying to do it...
See this forum post:
https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback/72977-can-i-write-collection-of-ipublishedcontent-back-to-model-property
Ultimately the raw data is stored as a serialized Dictionary<string, object> JSON blob.
Dictionary<string, object>
I hope this helps?
Cheers, - Lee
Thank you for response Lee,
I ended up with easiest solution for my case.. is just.. Model which corresponds to Nested Content Doc Type, and by deserializing/serializing the value.
It's ok this time, because that Model is not going to change.
Appreciate your response. :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Creating new elements/nodes
Hello,
Is there any way how can i add more items in nested content from c# ?
Thank you
Hi Edward,
I haven't tried to do this myself, (I've had no need to yet), but I know someone else is trying to do it...
See this forum post:
https://our.umbraco.org/projects/backoffice-extensions/nested-content/nested-content-feedback/72977-can-i-write-collection-of-ipublishedcontent-back-to-model-property
Ultimately the raw data is stored as a serialized
Dictionary<string, object>
JSON blob.I hope this helps?
Cheers,
- Lee
Thank you for response Lee,
I ended up with easiest solution for my case.. is just.. Model which corresponds to Nested Content Doc Type, and by deserializing/serializing the value.
It's ok this time, because that Model is not going to change.
Appreciate your response. :)
is working on a reply...