• Custom macro in a JavaScript Inside HTML transformation
    Question May 28, 2020
    Hi, In my HTML transformation , I am using a href link with on-click JavaScript method. Problem is that LikingClick function run every time when the page load and also runs on click event . Whole it should only execute on click event of the Href. How do I make this function ...

  • Kentico Datasource list of options hide option depending on role
    Question Jun 9, 2020
    Is it possible to hide a dropdownlist option depending on the current user's role? Thinking of a Macro expression to hide a specific dropdownlist option. Using a Custom Table Alternate form > Data Source > List of options.

  • Recommended Method for Pulling a Custom Table Data in C# ?
    Question Feb 14, 2020
    What is the easiest/simplest/quickest method in Kentico to pull a value from a custom table? Let's say I've got a table "My_Veggies" and I want to pull from a column called "ExpirationDate" in the context of a macro method called from the current document context. I don't ...

  • How to query custom page fields in where clause of a page data source
    Question Sep 21, 2020
    I am using an pages data source to grab blog posts from the blog directory. I want to be able to filter by a custom field I added to each blog post, which is called EventDate. I created this in the administrative panel under the development section. I added a where clause to ...

  • using an IF statement to display content in a transformation.
    Question Apr 10, 2021
    I want to display different content based on the value of the custom field Section1CoulnCount. I have the transformation set up as Text/XML but I have also tried ASCX. this is what I'm starting with. something very simple just to see if I can get it to work. I can't :) S...

  • datetime filters on report subcription
    Question Feb 8, 2023
    I have a start and end date parameter on a report that defaults to get the last 2 weeks with a macro. When I create a subscription, will those update based on the current date and time when the subscription sends or will it keep the date and time field that it shows in the su...

  • Getting Document Name
    Question Aug 12, 2014
    Using this page as an example: http://devnet.kentico.com/docs/7_0rc/devguide/index.html?print_page.htm How do you dynamically change the page title to associate with the page you are on during Print Page? If you scroll all the way down to the last screen shot. I want to be ab...

  • How to display date in HTML web part
    Question Oct 29, 2014
    How can I grab the current date and display it on the page? For this example I am just using the editable HTML web part and I need to display something like "Offer good from 10/29/14 til 11/30/14" or something like that, but I need the start date to be dynamic (todays date). ...

  • Form Field Value determined by another Field
    Question Nov 17, 2014
    I'm trying to set the value of a hidden form field based upon the value selected in another field. For example, I have a radio field where the user selects whether they are 1) Customer or 2) Evaluating. If Customer, set value of field "NotificationTo" = cust@domain.com, otherw...

  • Form Date Validation
    Question Dec 2, 2014
    I need to validate a date input on my Kentico form: Kentico allows to 'hardcode' a "From" and a "To" date value, but what if I need to validate if the user date input is between 100 and 110 days old, comparing it against TODAY ? Is there a way using a macro (or anything else...

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