• Macro visibility signature
    Question Oct 11, 2017
    I've added new functionality to an existing module to show a new tab on the Pages application using the following macro. The following is added to Modules -> Interface -> (choose a page) -> Element Restrictions -> Visibility condition: System.GetObject("cms.node",Convert.ToInt...

  • Kentico 6 imports website
    Question Jul 8, 2014
    Hello Support, When importing kentico version 6 website getting following error ERROR: Error importing document '/BottomLinks/Site-map' Message: [DataConnection.ExecuteQuery]: Query: INSERT INTO CMS_Tree ([NodeAliasPath], [NodeName], [NodeAlias], [NodeClassID], [NodePare...

  • How to stop an email from being sent when a macro errors?
    Question Dec 17, 2015
    Hi, We are using the marketing automation and sending out emails. Sometimes one of the macro expressions inside the email template fail, and the email is sent, but a portion of the body is blank. Is there a way to detect a failed macro and abort sending the email? Thanks

  • Custom field not displaying using macro as default value
    Question Sep 8, 2017
    When I'm creating new content-only page, I want to set default value of one field based on value from other field. ![Image Text](https://image.ibb.co/frNjda/1.png) I have the following macro for my AltText field ![Image Text](https://image.ibb.co/gA4QjF/2.png) Macro edi...

  • Custom Macro ( Null error, even though there is data)
    Question Nov 7, 2018
    We are getting errors from a custom macro that we created. As soon as the macro is initiated there is value, however we are getting null errors in the event logs. The macro is a simple boolean flag (0 = false, 1 = true) and we are returning the value as string. We are u...

  • Page Metadata - Use macro to dynamically insert value of page fields
    Question Apr 26, 2022
    We use Kentico 12 (MVC) and have a requirement to autopopulate/pre-populate metadata title and description fields automatically from fields we defined in a page type we recently created. The documentation here states macro expressions can be used to dynamically insert values f...

  • Custom macro not getting resolved in email template
    Question May 25, 2016
    I have an order email confirmation that gets sent out with a transformation used to show products. You can look at my code below Email Template snippet: Then within that transformation I am trying to use a custom macro I created, but I can't seem to get the custom macr...

  • Trying to figure out the macro for the Current Document page title.
    Question Oct 1, 2018
    This stop working after upgrading to Kentico 10. Could not find anything in the API changes. What should work now? Thanks David Just figure out I need to install some hotfixes to get CurrentDocument working

  • If Condition Macro for CurrentPage.Is approve
    Question Dec 12, 2018
    I have 3 roles in workflow,for eg. First, second ,third I want something like, If first person approved then page would go to third person for publish, If reject by First person then go to Second person for edit. In this I want if condition macro condition like - CurrentPage....

  • Update Macro Signatures after Upgrade Kentico (V.80 to V8.1)
    Question Jun 14, 2016
    Hi: Is it neccesary to update the macro signatures after a Kentico upgrade (from version 8.0 to 8.1), even if in Event log does not appear any error related to MacroResolver? Thanks

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