• Resolve Macro within Transformations
    Question Dec 10, 2014
    I'm trying to resolve a macro inside a transformation but it doesn't seem to work. Basically, I'm trying to get at the current transforming node's parent's DrawerName field. Any ideas? <%# Eval("DrawerName") %>

  • Macro for reporting activities in email notification
    Question Feb 9, 2016
    Hi there We are trying to add 24hrs of a users activities to our email notification. We are currently using the macro: which displays ALL history, and not in the correct order. Does anyone know what I'd use to get it to display the last 24hrs only and in the correct order? Th...

  • How to write a macro for WHERE condition in a repeater
    Question Jul 28, 2016
    I created a page type for News Article with a field for Department. In the News page type, the list of options for Department is a dropdown list that's pulling from a custom table. On the News Article Page, the field name is "postDept" and the form control is "Custom Table I...

  • How to create Listitems for dropdown using K# macro
    Question Mar 3, 2017
    I am trying to show Radio buttons for form field using macro depending on user role. Here is code if (CurrentUser.IsInRole("BasicUsers")) {"1;Properties" } else {if (CurrentUser.IsInRole("SalesTeam")) {"4;Digital Assets" } else{if (CurrentUser.IsInRole("MarketingTea...

  • Custom table macro field
    Question May 4, 2017
    Hi I wonder if it's possible to have a custom table field to have a default value with a macro (get values from other custom table fields)? We have a column which will contain a part of a resourcestring. The default value would contain for example Name + Type from the other...

  • Get transformation item count in macro
    Question Jun 12, 2017
    New to Kentico... how can I get a count of items that are pulled into a transformation in a separate web part on the same page? The transformation in this case is named CarouselItems, and I need to know how many items are there. Thanks!

  • Accessing a custom website setting by Macro Expression
    Question May 7, 2019
    I set up a custom setting using Adding custom website settings in documentation as a guide. I would like to access this setting value via a Macro Expressions but only users with global admin privilege level can load those values according to the documentation. The macro ...

  • ViewInBrowserUrl in subscription email template
    Question Jan 29, 2021
    Hello, I seem to be having difficulty in creating a subscription email template. I'm on Kentico EMS v12. I've tried to use the macro for ViewInBrowserUrl in my email but it seems to be blank. Using this in email type templates works fine, but for subscription type emails it...

  • Macro Expression - Dropdown empty when not logged in
    Question Feb 4, 2022
    I have a dropdown with a Macro Expression, if I'm logged into Admin the dropdown displays properly on the form. If I got Incognito or my phone the dropdown is empty. I resigned all Macros. Any ideas where to look?

  • Optimal Macro Question for Accessing Parent Page Info
    Question Apr 8, 2016
    We will start using Content Staging soon and I just found out that all of our web part visibility macros using NodeIDs will only work on one server. This web part visibility macro in particular was very useful: `` since it's not utilizing the cached page info. The best I hav...

  •   ... 21 22 23 24 25 26 27 28 29 30 ...