• Get Page Value with Macro
    Question Mar 12, 2016
    Hey, everyone! I must be missing something simply, but I've tried a bunch of stuff and still can't get this to work. What is the proper Macro Expression to get a field value from the Current Document? Example, the current page type has a field called CssClass. How do I get ...

  • Macro expression in documents displaying by repeater
    Question Jul 7, 2015
    I've got following problem. In some documents I created headers using repeater. Transformation displaying document name for each item taken by this repeater, so if I set path to current document I get name of this document. It is as simple as write dot in path text box. Proble...

  • Macro performance - data context, documents
    Question Apr 7, 2016
    I have a macro to check the most recent modification to a custom doctype and adjust the number of cache minutes accordingly. It's used on a dynamic newsletter page, and the idea is to have the page update itself quickly when a new or corrected story is sent from staging to pro...

  • how to insert value in custom table form
    Question Apr 24, 2017
    Is there a way to add a hidden field with a value from a macro to a custom table's alternative form? We're trying to associate custom data with website users, so we have custom tables for their data. The custom table has a column to store the user's id, and we'd like to set t...

  • Where() in macro use variable or field name
    Question Sep 4, 2017
    Hi, I am building email template and want use macro with where() which will use variable or fild name. I have Order table with fieled "GarageId" and Garage table have the same filed as "DealerId" so in email templeate I want use macro which will pull garage details based on t...

  • Correct way to write 'replace' macro and will it work in email template
    Question Oct 20, 2017
    Hi there I'm trying to check whether or not a macro i've got is written correctly but cannot find any specific examples. Scenario I'm using a bizform to capture user inputs, one of which is an image upload. Using the autoresponder email, i want to return parts of this data ...

  • Public IP Macro Question
    Question May 18, 2018
    Hello Fellow Kenticans! Greetings and salutations. Is there a way to grab a users **public IP address** via macro? I'm currently using this macro: `CustomMacros.CaptureIP()` But its apparently only grabbing either the server IP or the IPV4 address. Any thoughts? Thanks!

  • GetDateTime(DateTime.Now) returns page publish time instead of current time
    Question Jun 11, 2019
    Hello Kentico Team, I am attempting to include the time a page was loaded within an editable text area on a page, however the macro appears to resolve to when the page was last saved, rather than to the time the page was loaded by the user. Even if the page is reloaded, the m...

  • Macro not resolving in page form field
    Question Aug 28, 2019
    Here is another one. the macro `` works in almost every area of the site except one: the page editing form: [screen shot](https://photos.google.com/share/AF1QipMicJbbI7BVkEe_yBKzkuzHzIgAoQ8sdq2mZz5pS3Xv0zzFL30GEk4O_TmSa1bg3A/photo/AF1QipMZLy993_T7cHF1DAOeHAMKNi9QSR6C8aCLEQHP...

  • Clear Cache in a macro
    Question Dec 9, 2021
    Working in kentico 11. In my system users have an "EmployerName" property. When a user logs in, if they belong to a specific employer I want to alter them to update their profile to use a valid employer. I have been able to get the behavior I'm looking for by using a macr...

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