• Customer Macro Help - Lead Scoring Contact Groups
    Question May 4, 2017
    Hello, I am looking to create a custom macro for lead scoring purposes. I want to assign the score of 5 to every contact in a contact group that has the word "Attendee" in the group name. If they are in 5 contact groups with the word "Attendee" I want them to recieve a score...

  • Calling custom macros from REST interface
    Question Nov 15, 2017
    Is it possible to access custom macro methods through the REST interface? Requesting system macros works fine. Here is an example: https://mysite.com/rest/macro/CurrentSite.SiteName But a request to a custom macro generates a 404 when targeted from the REST interface. ...

  • Macro in Web part container in web part
    Question Dec 6, 2017
    Hello I am using the ` ` inside a web part. The Web Part Container code has a macro inside of it. When rendered via my web part it doesn't resolve these macros but displays them as text. Is there anyway to fix this?

  • Get Closest Parent's Field Value in Macro Expression
    Question Oct 22, 2018
    Hi, I've added a new HeaderImage field to the **Page Menu Item** type, and I have a hierarchy of menu item pages in content tree. I would like to be able to show the HeaderImage on a page, if it is selected for the page, or get the HeaderImage of closest parent (of type Page...

  • Display Category Items from a Sub Category Directory
    Question May 7, 2019
    Hello, I'm trying to populate a form dropdown box with a category sublist. I'm using a macro in the forms field tab to populate the dropdown ` ` values. Here is an example of my category directory structure. Category item 1 item 2 Academics ...

  • Retrieving the document name of a specific child node with DocumentHelper in Macro
    Question May 28, 2019
    Hi I'm new to Kentico and web development and I'm currently having some difficulties using macro in the editable field for the web parts to dynamically fetch the name of a specific node in the tree. The path currently looks like main/test/pages and I'm trying to retrieve the n...

  • Macro to change path based on Page Type
    Question Sep 3, 2019
    I am trying to write a macro for the path field in a repeater. I have tested individual pieces of this code seperatly but I am wondering if I have a syntax error because I can't get this to work. Any buddy know if this is the proper syntax for an if statement?

  • Modify existing unsubscribe macro?
    Question Oct 16, 2019
    Is it possible to modify an existing macro? Specifically EmailFeed.UnsubscribeFromEmailFeedUrl. The issue is that I need to create a landing page for a user to see all Newsletters and allow them to check/un-check which ones they want to sub to. The existing functionality onl...

  • Resolving macros inside transformation with parameters
    Question Oct 28, 2014
    I'm having trouble resolving a macro inside of a nested repeater, and I'm running into some interesting behavior. My objective is to determine the appropriate "WhereCondition" for a nested repeater by resolving a macro with the given context: ` ` Here's my custom macro setu...

  • String.IsNullOrWhitespace isn't Returning True for System.DBNull .. How to Check for DBNull in Macro
    Question Jul 29, 2020
    I have a macro expression that is as follows in K12 Portal Engine: if (!String.IsNullOrWhitespace(MyPageTypeString)) { if (MyPageTypeString.Trim().Contains("xxxx.xxxx.net")) { //do something } } and I'm getting the following exception: Met...

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