• Custom Macro Rule
    Question May 5, 2022
    Hi I want to create a global custom macro rule in my site that returns a string. To keep things simple, My Macro Rule for this question is Site Name, and the default value is "hello world" Can you share with me the steps on how to accomplish this? I have been trying in the ...

  • Database error - Sync Error
    Question Jan 17, 2022
    For a specific page, I received syncing error and event logs show database error: Query: INSERT INTO Staging_Task ([TaskSiteID], [TaskDocumentID], [TaskNodeAliasPath], [TaskTitle], [TaskData], [TaskTime], [TaskType], [TaskObjectType], [TaskObjectID], [TaskRunning], [TaskNodeI...

  • SQL Connection Error
    Question Jul 21, 2022
    I'm getting this SQL Error The application could not connect to the database, please check the connection string in the web.config file and SQL server availability. Original error: Instance failure. I'm using issexpress btw. and already have connectionString.config. here it...

  • How to cache macro that return bunch of data
    Question Feb 13, 2022
    Hi how is it possible to cache result of `Documents[NodeAliasPath].Children.Columns("ClassName,DocumentMenuItemHideInNavigation").Where("ClassName = 'cms.menuitem' AND DocumentMenuItemHideInNavigation='False'")` macro. to reduce database access. **say we use this macro in hie...

  • Search Index Issue
    Question Jun 8, 2022
    Hi I am running IIs 10, Kentico 13 on asp .net core. I hotfixed my project from version 13.0.70 to 13.0.72 and i am now getting issues with rebuilding my index. Event ID:41850 Event type:Error Event time:6/8/2022 2:49:52 PM Source:Media files usage Even...

  • Variable in Macro Expression
    Question Mar 8, 2022
    I have a macro expression and wants to assign a variable so it can resolve based on the variable value. So far I am unable to find a way. Can any one please help me to see what I am missing ? So for example I want to display name of a user Id 100, writing code like this works...

  • 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...

  • 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...

  • Macro Expression - Dropdown empty when not logged in
    Question Feb 4, 2022
    I have a dropdown with a Macro Expression, if I'm logged into Admin the dropdown displays properly on the form. If I got Incognito or my phone the dropdown is empty. I resigned all Macros. Any ideas where to look?

  • Web part visibility based on page type of children
    Question Aug 9, 2022
    I'm trying to write a macro in the Visibility condition of a web part, where it should be visible if the current page has children only of a certain page type. I've been trying variations of the following, but it's always visible: What am I missing? Thank you!

  •   1 2 3 4 5 6 7 8 9 10 ...