• Extend standard REST service
    Question Jun 1, 2015
    Hi, is it possible to extend standard Kentico REST service (add new method)? We tried custom macro method (/rest/macro/{expression}), but it has some downfalls: * how to correctly pass parameters to macro * how to return object with correct binding Thanks in advance for an...

  • Convert the Path value of a Web Part to a Document Object or Collection of Document Objects
    Question Mar 7, 2016
    I have a Repeater Web Part. It's Path value is set as `./SomeChild/%`. In my HTML Envelope I would like to use the DocumentName of the parent of the repeated content; basically the DocumentName of SomeChild. If I use the macro `` then it renders ./SomeChild/% but it appears ...

  • Macros in Widget Form, possible?
    Question Aug 23, 2016
    Just curious if anyone has ever found a way to enable this, on Widget's configuration forms, there's no black > arrow to enter a widget instead. Sometimes it would be easier to use a default template and add in the different widgets instead of making a Page Template for each ...

  • Error after re-deploying on a different server
    Question Mar 20, 2017
    We just deployed the backup of our development environment to a different machine, and we are getting the following error: Event type: Error Event time: 3/20/2017 3:28:58 AM Source: MacroResolver Event code: CHECKSECURITY User ID: 53 User name...

  • How to get document by current culture in a macro using documents collection
    Question Dec 18, 2018
    I am trying to retrieve a document in a macro that uses the documents collection. How do I get the desired document in the current culture if all I have is the NodeGUID? Example: `` Looks like `Documents` only references the table `CMS_Document` and not the view that makes t...

  • If condition in repeater's where clause throwing error
    Question Dec 7, 2018
    Hi, I am trying the following in Where condition inside Repeater web part but getting error: Message: Invalid SQL query in property "wherecondition". When I check the macro in Debug,I didnt see any error and found the proper value in result column. If...

  • Kentico Forms Default Value Macro for Date Time Field
    Question Apr 23, 2019
    I am attempting to create a form for a user to checkout an item that will later need to be returned (in this case 48 hours after checkout). I have two date time picker fields EquipmentCheckout and EquipmentCheckin. The first field the user selects, causing the dependent fiel...

  • Macro to reference News page type
    Question Apr 23, 2020
    So I have a page created using News page type. The table name is Content_News on the backend. Then I added a form wizard to the News Text field (html text field) to have users acknowledge that they have read the news. So I have a NewsID field hidden in the form. Now the questi...

  • How to get dynamic current year in html page in kentico
    Question Oct 29, 2021
    How to get current year in html page in kentico, in C# we use @DateTime.Now.Year but in kentico what we use ?

  • Knowledge base articles you may find useful no. 10
    Article Feb 5, 2013
    It has been more than a month since I published my last post on KB articles that you may find interesting, so it’s time for a new set of articles which may help you deliver the functionality you need.

  •   ... 51 52 53 54 55 56 57 58 59 60 ...