• Macro rule passing in to many parameters
    Question Mar 31, 2017
    Using K9 I have a custom module that uses macro rules, and a custom scheduled task to evaluate the rules. I have one rule, that is the same format as the others, that when I run my scheduled task, it passes in 5 parameters to the macro, instead of 4. This is the macro rule c...

  • Custom variable/macro in an email template that gets populated programatically
    Question Feb 4, 2016
    Hi, So it appears that I cannot do what I am trying to do here http://devnet.kentico.com/questions/using-macros-to-get-data-from-a-document-via-nodealiaspath-in-an-email-template What I would like to do now is to create a custom macro in my email template and have its value ...

  • Freeshipping condition macro
    Question Sep 3, 2020
    Hi, I need a macro that could allow to exclude items (like gift cards) from free shipping offer or calculation. I tried to add to the "Further conditions" under the "Free shipping conditions" section with something like (!ShoppingCart.ShoppingCartItems.Any(SKU.SKUGUID == xxxx...

  • Document Category Order in Macro
    Question Jun 17, 2022
    I'm working on displaying the Categories that have been applied to a given page, but I'm having issues with ordering the collection in the page transformation when using a macro. Here's the macro in question: `` While this returns the correct category data for what I've sele...

  • Import version 6 website.
    Question Jul 12, 2014
    Hello Support, I have version 6.0.43 website. when i am trying to import website in same get the below Error. ERROR:@@Error importing document '/BottomLinks/Site-map' Message: [DataConnection.HandleError]: Query: INSERT INTO CMS_Tree ([NodeAliasPath], [NodeName], [NodeAlias]...

  • Web Analytics - Daily Page Views Problem
    Question May 12, 2015
    When calling in Web Analytics the Page Views Analysis, the graph for daily page views gives an error and does not appear. The event log shows the error: Must declare the scalar variable "@ToDaySecond". Stack Trace: at CMS.DataEngine.AbstractDataConnection.HandleError(String...

  • Upgrading Kentico from version 7 to 8
    Question Jul 18, 2016
    Hi Folks, Hope all fine, I have a query on upgrading kentico from version 7 to version 8, I have been following some of the online documentation available but this is most cumbersome process by any yardstick, given the risk it involves, be it loosing configurations, etc. ...

  • 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

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