Hi
Is it possible to get the type of the first of itemparagraph in a pagetemplate? (we use only itembased paragraphs)
If so, how can it be done
/Hans
You can do it like this:
string itemType = Dynamicweb.Services.Paragraphs.GetParagraphsByPageId(123)?.FirstOrDefault()?.ItemType;
You must be logged in to post in the forum