• Equivalent of Documents macro in ascx transformation?
    Question Jan 6, 2017
    Is there the equivalent to Documents in an ascx transformation? it doesn't seem to be available? I'm finding myself doing things like this in CMSTransformations.cs and it feels a bit wrong: public TreeNode CurrentItemParent() { var dataRow = ((DataRowView)thi...

  • Get Web Part Properties-Macro
    Question Mar 16, 2017
    Hi I'm trying to get web part properties in transformation specifically web part title. I tried [](http://devnet.kentico.com/questions/macro-to-get-web-part-properties) and also [](https://docs.kentico.com/k9/developing-websites/developing-websites-using-the-portal-engine/usi...

  • Marco Expressions for eCommerce Shopping cart For Guests
    Question Apr 26, 2017
    Below is a macro expression which is used to get the **Order Date** of the **current user** in the shopping cart. However, if you check out as a guest it displays nothing. How can I adjust the script, so that it functions the same way but also get the information for those u...

  • Display Repeater data & table in content page type Editor fields form filled
    Question Jun 20, 2017
    Hello Support, I want to display data for inserted records in repeater for Custom page type in Form fields or editor fields itself. is there any to display such type records in repeater. Can you Please lets us know or please share guideline to display data in repeater for ...

  • How to use Kentico macros for a switch case like functionality
    Question Aug 31, 2017
    I need to use kentico macro for the below scenario:- if(condition) Then A else if(condition) Then B else if(condition) then C and so on. I find that there is no "switch" or "else if" in kentico macro, so how do I achieve the above?

  • Newsletter Subscription Localization
    Question Sep 26, 2017
    i have a newsletter subscription web part and i need to have different text when ever a user subscribe and it should be related to the website language any idea ?

  • Resolving Parts of Current Path in API
    Question Nov 2, 2017
    Hello, In our projects we use a lot of relative path expressions for DataSources, Repeater, ect. like **/{0}/{1}/%**. Is it possible to resolve such an expression in the code behind of a custom WebPart through Kentico API? Thanks a lot in advance, Tobi

  • Detecting if a field exists in a page template
    Question Jan 19, 2018
    I have the following logic in a Master page. The Data Type for the field is Boolean(Yes/No). The logic works great for pages with that field but throws an error when that field isn't there. Is there a way to detect if the field exists and is true. <% if(DocumentContext.Cu...

  • How to display product document field in INVOICE?
    Question Dec 22, 2014
    HI How it is possible to disply a product document field in invoice? example : Document Type : Computer Fields : CPU,Monitor,MainBoard,... ---------- I want to display above fields inside invoice. how it is possible. also i try ShoppingCart.ShoppingCartItems inside Order_Con...

  • Extending macro engine using MacroField
    Question May 17, 2018
    Hi I'm trying to register extra fields extending CMS.Membership.CurrentUserInfo. I have an object called Member which has some properties like strings, dates etc but also lists. Currently I can add all top level properties by cycling through the object properties. Proper...

  •   ... 51 52 53 54 55 56 57 58 59 60 ...