• BizForm Drop-down Lists Populated by Page’s Children
    Question May 30, 2018
    Greetings, I've built an online form with two important fields that dictate which regional office’s department will get the notification form. Here’s the deal – I’m using a macro expression to lists the DisplayNames of the regional offices’ to populate the 1st dropdown. Th...

  • Custom Report - use macro to make SQL dynamic
    Question Aug 30, 2018
    I have been trying to create a dynamic custom report that displays a search query based on a bizForm field value. I want to use a URL variable reference and use the QueryString function to place it in the custom report 'query'.. What I created: Custom table = 'RetailStore...

  • 'IF macros' security issue in widgets (portal engine)
    Question Jan 7, 2019
    Does anyone faceted with a problem that all **IF macros** in widgets (for portal engine) breaks because of security issue (event code: CHECKSECURITY) after resigning all macros? We have a macro expression in default value field on a widget and if HTML is inside of the macro, a...

  • Macro Checkout Array
    Question Feb 24, 2021
    Hi Guys, Just looking for help in formatting a macro results, I have this for loop for current shopping cart and want to create an array with bracket separators between the items in the basket, so looking to get a result like: "ItemNames": ["Winnie the Pooh", "A Tale of ...

  • Macro only executes for admin users (7.0.83 hotfix)
    Question Apr 28, 2014
    We just upgraded our Kentico install from v46 (I think) to v7.0.83. Everything went OK except one thing has broken and I cannot figure it out. We have a custom form layout with a macro like this: This was working fine in the old version of Kentico, but now it only executes...

  • How do I render the content of the editable region of the same document but in a different layout us
    Question Apr 29, 2014
    Hello, I have a site with multiple layouts on a single page template. This is actually for a mobile version on the site. I want to set the default text of an editable region ["editabletext2"] in the mobile layout, to the text found in the editable region ["editabletext1"] in ...

  • Client IP Address
    Question Apr 22, 2015
    Before 8.x I used this piece of code to grab the IP Address of the Current User. Now I do not seem to find it in the changed namespace. Any Ideas where it went to or what I can use now ? CMS.Helpers.HTTPHelper doesn't contain the method. `string clientIp = CMS.GlobalHelper...

  • How to set tag name as Page Header
    Question Sep 5, 2016
    Hi there, I am following this documentation to set up Tag Cloud webpart https://docs.kentico.com/display/K9/Displaying+tags+on+a+page I have a tag cloud on product listing pages on my site that goes to a tag results page which displays products that contain that chosen tag. I...

  • ToInt(tagid, "") Object reference not set to an instance of an object
    Question Sep 20, 2016
    Why Macro does not resolve ToInt(tagid, ""). After restarting the app, it's working again for maybe 2 days. Trace below: Error while evaluating expression: ToInt(tagid, "") Object reference not set to an instance of an object. at CMS.DataEngine.AbstractInfo`1.RegisterProperti...

  • display form based on selection
    Question Jan 17, 2017
    Looking to display a form created using the On-line form web part. I have a field of "FormID" setup on the Page menu item that displays a list of the forms created. I have the On-line form web part within my layout. I tried something like the below in the visibility macro are...

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