Developer Forum »
Move Inner content
8 posts

Hello,

Is there some simple way how to move Inner content item to other InnerContentsPropertyClass with same class type?

Instead of creating new same item and deleting other, for example by changing Root or Parent somehow?

Thank you, Marian

 

// Moving Inner content from SideNews to News [InnerContentsPropertyClass with same type]
var content = newsletter.SideNews.GetById(contentId);

contentTmp = newsletter.News.AddNew();
contentTmp.Title = content.Title
...

newsletter.SideNews.Delete(content.ContentId);
newsletter.UpdateChanges();
181 posts

If I understand you correctly, you have two inner content properties, that both support the same inner content class? And you want to move a content from one inner content property to the other? 

This is not a use-case we have come across before, but could you explain the business requirements behind this, so we can evaluate if this is something we should support?

8 posts

Yes you undertand correctly :)

We have simple page consisted of more *parts (center, left, right, top, ...) and we are moving *short information between these *parts (drag&drop) depends by priority.

And for example, sometime somebody decide to move info under other part.

 

*Short information = are same inner content class.

*Parts = Inner content properties.

 

Thank you.

181 posts

Ok, I understand. I see the benefit in your situation to have that feature. We'll discuss it internally. I'll get back to you in a day or two.

 

8 posts

Thank you.

1