• ToShortDateString() Macro Method Formatting
    Question Mar 4, 2016
    Hi! I'm using the ToShortDateString() macro method on a DateTime value returned from the database. This returns the standard format of mm/dd/yyyy, which is appropriate for my culture. Our style guide requires the format to be mm.dd.yyyy (so periods instead of slashes). Is t...

  • How to get field value of document in alternate layout using macro
    Question Mar 8, 2017
    Hi I am using Alternative forms-> layouts to show edit form to user. There are some form fields i want to show depending on other fields value. I am using **** to get field value of current document, but it's not working. is there any way to access form fields in layouts usin...

  • How to create a Macro to find Specific Text in Contact Group Name
    Question Dec 29, 2017
    ![Image Text](http://staging.hbs.net/HBS/media/Other/External-Files/Screen-Shot-2017-12-29-at-2-32-04-PM.png) Hello, I want to create a contact group that takes all contacts from contact groups with the name "Events" in the title. I do not know code and am running Kentico 1...

  • Macro in transformation can count number of field page type
    Question Jan 30, 2019
    hello kentico is there any macro in transformation can count number of field page type for me i have categoryNews structure [iMAGE HERE](https://prnt.sc/me6blu): Saving :3 money: 5 Sport:10

  • what macro might do the trick?
    Question Feb 11, 2019
    Using Kentico 11 (Portal engine) I would like to add a GUID field to one of my pagetypes. I would like the system to generate the guid (I assume this is done via a macro?). Any idea what macro might do the trick? Any help is appreciated.

  • Member Registration Webpart pass email macro into To e-mail address: field
    Question May 6, 2019
    I am having difficulty in passing in a email address as macro into the Custom Registration form field **To e-mail address** when i tried i get the following error. Is there a way i can add a custom field as macro into the **To e-mail address** The entered values cannot be sa...

  • Apostrophe in Macro
    Question Nov 6, 2019
    Hi all, I'm trying to use a macro to show a name from a custom field from a page type. I then want to use this within a URL for an XML feed so it can generate a list of their publications automatically when you click on someone's profile. An example would be like below (alth...

  • Macro doesn't work for public
    Question Oct 14, 2014
    Hi, I have this macro that only seems to work for the administrator when logged in. If I'm the admin, the content fills correctly in preview mode using the grandchild's "copy" field. For everyone else it displays the default text. <meta property="og:description" content="...

  • Using macros in WYSIWYG
    Question May 16, 2020
    I have inserted this macro from the WYSIWYG: When I render the page I get this: What am I missing?

  • How to display variable value in Head HTML code web part?
    Question May 20, 2020
    I have below code in head html code webpart > %} Above meta tag is not displayed in html output. Not sure whether macros I wrote is in correct format or something fails

  •   ... 31 32 33 34 35 36 37 38 39 40 ...