Developer forum

Forum » Development » c# Moving paragraphs container (Global element)

c# Moving paragraphs container (Global element)

Jonas Mersholm
Reply

Hi there,

 

I am iterating a page for paragraphs, and trying to change their ".Container" attribute.

This works all fine for normal paragraphs, but if a global element paragraph is run through, the ".Container" value doesent affect the appropiate container, it simply just keeps at the current container.

 

Is there any special method call i have to do, to move a global paragraph to another container?

Best regards

Jonas


Replies

 
David Matheson
Reply

I've come across this myself and tags that work on Global paragraphs in terms of container and sort would be very useful

Over to the DW team !!

 
Jonas Mersholm
Reply

Bump bump :)

 
Mikkel Ricky
Reply

Use .Save(true) when saving the paragraph, cf. http://developer.dynamicweb-cms.com/api8/#Dynamicweb~Dynamicweb.Content.Paragraph~Save(Boolean).html.

Best regards,
Mikkel

 

You must be logged in to post in the forum