• Special Notes on Ektron Commerce API

    This article provides information on the availability and use of Ektron commerce APIs Resolution The Ektron.Cms.Commerce APIs have been available in legacy versions of Ektron that predate the Ektron.Cms.Framework 8.5+ APIs.The Ektron.Commerce.Framework APIs were not available until version 9.0-9.1. Please click here for more information.Since the newer framework version of commerce APIs did not exist until recently, it was impossible to use these legacy APIs in a Thre...

  • Static Content Global Caching Policy

    Some customers look for a way to set global caching policy for static content.  This article provides information on a way to move forward implementing that option. Resolution In these cases we recommend using a global asax to perform additional measures as sampled below. This code would be added to a global asax in the site root. void Application_PreRequestHandlerExecute(object sender, EventArgs e) { Dictionary<String, HttpCookie> cookieCollection = new Diction...

  • Testing Custom Widgets with Base Pagebuilder Template

    DescriptionEktron allows a user to create custom widgets to be used with Pagebuilder pages. In some occasions, these widgets stop functioning properly due to one or more of the following scenarios: Site Upgrade Site Migration Template Redesign Use of JavaScript heavy templates or master templates ResolutionFor widget functionality issues, Ektron Support provides a base Pagebuilder template that can be used for test purposes. Use this template to determine if the issue is related to the widg...

  • Troubleshooting XML Transform Issues

    DescriptionWhen using xml transformations such as a flex menu or list summary and the results aren't displaying, there are a couple of things you can try to get it to work. Some causes are listed below: Improper encoding of characters in the xml. Misconfiguration of xslt to parse your xml file. XSLT Whitelisting  ResolutionImproper encoding of characters in xml View the output of your xml and look for special characters.  The easiest way to do this is to use Visual Studio or output the x...

  • Unable to update member password with API

    Description This article describes and issue with updating membership password. Updating a member password via API would throw an access error if there was a custom password policy implemented. Error: The current user does not have permission to carry out this request. Resolution The issue has been identified and resolved in the Cumulative Update fix below.9.0 SP3 CU Release Notes WARNING: Back up your database before installing any software patch. NOTE: Each update includes a...

  • UserGroupManager GetUserList method returns only 50 Results

    DescriptionThe UserGroupManager  API has a GetUserList(groupid)  method that returns only 50 results by default. This KB article shows you how to workaround the 50 result limitation. The following example returns only 50 results. long groupId = 1;  Ektron.Cms.Framework.User.UserGroupManager ugManager = new Ektron.Cms.Framework.User.UserGroupManager();  var list = ugManager.GetUserList(groupId);Resolutionlong groupId = 1;   Ektron.Cms.Framework.User.UserManager uManager = new Ektron.Cms.Frame...

  • UserManager.GetList throws Must declare the scalar variable "@p1"

    Description This article describes the error that can occur with the UserManager.GetList when working with custom properties. Resolution This issue has been resolved in 9.2 SP1 CU 18 as seen here,  9.2 SP1 Site Update WARNING: Back up your database before installing any software patch. Site Update 17 (October 20, 2017) EKTR-288: Querying UserManager.GetList with custom properties would throw an error the second time it was used. It can be downloaded here.  There are instruc...

  • Using Content Metadata for Script Injection onto Template

    DescriptionThis article provides steps and samples on how to store and retrieve JavaScript for injection onto a template using Ektron content metadata.  ResolutionSometimes there is a need for scripts to be executed for specific content. It is recommended to not embed the script in the content HTML or executed in the XSLT for such content. Insertion of scripts in content or XSLTs can cause issues with rendering in the Workarea as well as on the template.This is directly related to chang...

  • Using Ektron's Adaptive Image Resizing with the Framework API

    DescriptionTo utilize Ektron's responsive web design (RWD) capabilities the bare minimum steps involve enabling adaptive imaging in the workarea settings and using a content block server control. If you want to use the Framework API with RWD, a few additional steps will be required. Here are those steps. Resolution1) Add a script tag to the header pointing to the Jquery picture plugin. You can either use the path below(applicable to 9sp2, may differ depending on version) or point it to ...

  • vbc.exe hangs at 100% CPU usage

    DescriptionThe vbc.exe hangs at 100% CPU usage.  This is a result of a known Microsoft issueResolutionComment out the following lines of the web.config. <buildProviders> <add extension=".htm" type="System.Web.Compilation.PageBuildProvider" /> <add extension=".html" type="System.Web.Compilation.PageBuildProvider" /> </buildProviders> The issue in the web.config is resolved in a release after Ektron 9.00 SP2.