• Macro rules 2
    Question Apr 11, 2016
    Hey I wish to write a Macro rule that check the order status, is this correct? is the macro rule correct? {_is}(Contact.Orders.FieldsAsObjects.OrderStatusID == "{Status}") status is a field i defined in the parameters that looks to the Order status selector

  • Issue with macro
    Question Jun 16, 2016
    I am trying to use this macro `` to pull a field from a document. This works `` to pull the current document's field but the previous does not. Am I missing something?

  • Executing CMS_Queries in custom macro expression
    Question Mar 13, 2017
    How can I execute some of the predefined queries in CMS_Queries within a macro expression? Example: Which is basically this in SQL: SELECT * FROM CMS_User WHERE UserName = @UserName I know I have to supply the expression with a UserName value, how would I do that in mac...

  • Issues with macro to populate year drop down in custom field
    Question Sep 6, 2017
    I am trying to create a custom field (within user settings class of the membership module) to contain the birth year of someone. I'd like to do a loop from 1920 to whatever the current year is. I've tried the following macro and various other flavors without luck: I even ...

  • page title via query string macro
    Question Oct 20, 2017
    Hello, I am trying to update the page title via a query string macro {?Name?} but it doesn't seem to work.. I see the page title is "Site Name" - {?Name?} I tried another such as just to see if macros work and it showed the text instead of macro. I'm not sure why it isn't w...

  • Macro signature showing as valid even though the signed user is not present/disabled.
    Question Oct 14, 2019
    Hi, We have a kentico 10 web site. We have some transformations defined in page types. When a user who signed the macro leaves the organization, we removed the user from the admin. But still, when we look at the macro report by filtering by name from "System --> Macros -...

  • Using Where macro method on COM_SKU (Orders object)
    Question Sep 15, 2014
    Dear all, I'm trying to figure out how to use the Where macro method (or alternatively the Filter macro method) in the context of the Orders macro object and I haven't had any luck. Any sample code to look at? I have had a lot of trouble finding anything on this. Thanks, Da...

  • Macro to retrieve widget properties
    Question Sep 12, 2016
    I've created a widget based off the static text web part. It has 3 properties: Text, Month, and Year. In the Text property I have set the default Value to "This item appeared in the " %insert macro expression to get the value of the month property% of %insert macro expression ...

  • Email template Macro issue
    Question Mar 29, 2021
    Hi, I have an email template using some macros. The email macro is in the code in the ObjectrEvents.cs using Tuple.Create. The html text uses string.format and I have to format it into html talbes, with tags. The problem is, when I add this macro like this to the email te...

  • Email template macro issue
    Question Jul 7, 2021
    I have an email template with macro. I need to display *DataTable*. Inside macro I have loop and only *print* methods inside loop. I'm pretty sure that that table contains correct data. But as a result, sometimes I receive correct email message and sometimes not. If it is inco...

  •   ... 11 12 13 14 15 16 17 18 19 20 ...