Knowledge Base Articles

What's up with Custom Data?

Matthew Sandstrom    —       —    Featured Knowledge Base Article

During your time working with Kentico, you may have stumbled upon a field whose name includes “CustomData.” These fields can be found in many of the E-commerce related objects, such as ShoppingCarts, Orders, and CalculationRequests. In some cases, such fields can come in handy, storing additional E-commerce information that the objects don’t already contain. Their utility is furthered by the fact that in many cases, CustomData fields are automatically transferred to related objects.

Unit testing custom macros

Eric Dugre    —       —    Knowledge Base Article

Unit testing your code is a great way to ensure that everything’s working properly under different scenarios. Creating custom macros is a popular way to extend Kentico’s capabilities, but as this code is placed within the content of your site and only evaluated when it’s rendered, how can you test the code?

How to Fix Links Inserted via a WYSIWIG Editor in Kentico 12

Lukáš Gancarčík    —       —    Knowledge Base Article

When using a Rich text editor form control for your page type fields, it is possible to add links to other content-only pages using the Insert/Edit link option of the WYSIWYG editor. After you move your site to a different environment, these links will break unless you apply our hotfix package.

Using Custom Data to Include Extra Shipment Information

Matthew Sandstrom    —       —    Featured Knowledge Base Article

Shipping is an important part of any e-commerce site that sells physical items. Using shipping carriers and shipping options, you can integrate companies’ shipping options with your store. Some companies may return additional information about product shipments that you might want to display to customers, such as delivery date, package attributes, or the address the package will be shipped from. If there is a piece of information about the shipment that doesn't have a corresponding field in Kentico, you can still pass that data to the customer using the CustomData fields in many of the classes.

Excluding content of Editable text from translation submissions

Matúš Ušiak    —       —    Knowledge Base Article

Translation submissions always contain the content entered into Editable text web parts. This occurs even though the web part property has the Translate field property set to false. In this article, we will discuss one approach for completely excluding this content from translation submissions. 
This is a proof of concept which has been tested on Kentico 11 and 12