A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

How do you get content from ContentFunctionData

Vote:
 

How do you get content from ContentFunctionData?

Im using the following code:

 ExtensionPageData page = ExtensionPageData.Load(child.PageLink);
            if (page != null && page.AreaCount > 0)
            {
                List functions = page.GetAllContentFunctions(true);
                if (functions.Count > 0)
                {
                    foreach (var item in functions)
                    {
                        output = NEED TO GET CONTENT FROM ITEM;
                    }
                }
                else
                {
                    output = "NOTHING";
                }
            }

Thanks

#151548
Jul 28, 2016 10:59
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.