• How to get the statedisplayname in k# notification macro
    Question Aug 11, 2020
    HI i try to get the statedisplayname from the table CMS_State in k# in a email notification. i have the stateID but cant figure out how to get the name. I was able to get the countryname with: Thank you

  • Get Page Menu Type Document Path Using Node ID Macro
    Question Feb 18, 2022
    There are times I set a repeater's content path to a child item or Page Menu item that exists on a different Page (Menu item) anywhere in the CMSTree, and all works well until a content editor decides to change the name of the page, which makes all the repeaters stop working u...

  • How It's Done: SO Integration Part 1 - The Mighty Macro Data Source
    Article Jan 26, 2016
    In one of my previous articles, I promised I'd bring you some details about how the StackOverflow integration on DevNet has been done. Today, I'll focus on how the Macro Data Source web part saved us a lot of time and how flexible it is, compared to traditional data sources.

  • Kentico 7->8 Upgrade failure
    Question Dec 5, 2014
    Hey guys, I've been trying to update a legacy site from 6 -> 8.1 I manage to upgrade the site from 6 -> 7 and open up the site/admin without any issues. When i attempt to go from 7 -> 8 I keep getting this error in the log file on DB upgrade. DECLARE @resourceID in...

  • Unable to build search index
    Question Sep 18, 2015
    Hi everyone! I have an issue with building search index. I'm running Kentico 8 on Azure as a cloud service. Have CMSApp and SearchWorker roles there, both are running fine according to Azure portal. No web farm. I was able to build index with simple analyzer type, but no luc...

  • Web Parts with custom Zone
    Question May 15, 2018
    So I am trying to create a web part that has a zone into it. Basically, I have a web part that I want to create a zone that I can allow it to be a widget so that a user could edit certain properties. This way an admin could add the web part, and then give the user the abilit...

  • Sign out user but server side not clear the authenticate session
    Question Aug 27, 2019
    I have a page with security setting is Requires authentication = Yes But after i used following code snippet to sign out user AuthenticationHelper.SignOut(); HttpContext.Current.Response.Cache.SetNoStore(); And after that i user fiddler to to recal...

  • Exporting Site in portal mode causes error when getting to the pages.
    Question Dec 4, 2019
    Running into a real stumper, this is the first time needing to set up a new site in our Kentico suite since we upgraded to V12, currently on v12.0.25 it is not going smoothly. I tried to do an Export but am getting this error: (Removing the query for brevity) ERROR: ...

  • Getting Invalid column name 'PageVisitDetail' in the event log
    Question Dec 18, 2020
    Unexpected exception occurred while processing activities. Message: [DataConnection.HandleError]: Query: Proc_OM_Score_UpdateContactScore Caused exception: Invalid column name 'PageVisitDetail'. Exception type: System.Exception Stack trace: at CMS.DataEngine.AbstractDataCo...

  • Equivalent of Request.Uri in Macro?
    Question Jan 14, 2015
    In a typical ASPX page, you can retrieve the currently requested URL with `Request.Url`. I want to display the URL that the user tried to go to in error on a custom 404 page. So I have a page in my document tree at /Special Pages/404 Not Found, with an Editable Text web part...

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