• Kentico 8 - Macro Expressions for Current Logged in User
    Question Dec 9, 2014
    Hi, I have a custom table that stores user favorited documents. I'm trying to do a query against a view of all content to return a list of user's favorites. I need to get the user id of the currently logged in user using a macro expression if possible. I've tried the followin...

  • Link/Button Web Part Link URL Macro Property
    Question Mar 26, 2014
    I am trying to set the Link URL Property from a Macro as follows: It seems it is never resolved, as the link renders on the page without a "href". The code within the braces will work fine on an ASPX page. What I want to achieve is to add a url to the current url and set is...

  • LoremIpsum Macro
    Question Jun 1, 2016
    I'm trying to locate the LoremIpsum macro syntax, and the reference doc doesn't mention what class it's part of, so I can use it? I apologize, but can't find info on it... Is there a way to search a macro by term and find it in the macro tree? I'm not seeing a way to at th...

  • Running Macro via REST service
    Question Sep 3, 2016
    Trying to utilize the macro REST API. For example: /rest/macro/CurrentSite.SiteName This seems to work only for a user with the Global Admin priviledge. In the debug log, I see this security check that's associated with my request attempt with a user that is not a Global Ad...

  • Adding mulitple memberships to a query as a macro
    Question Nov 11, 2016
    Jan very helpfully supplied a macro for me that allows content to change depending on a membership within a transformation. I would like to be able to set it so that I can list multiple memberships such as * SilverMonth * GoldMonth * PlatinumMonth * SilverAnnual * Gold...

  • Kentico 10 Documents macro isn't working
    Question Feb 22, 2017
    Hello, I have issue with kentico 10 Documents macro. I tried like this: and But in both cases I don't get any results (like that page doesn't exist) -> Always returns NULL. If I try to run this two macros in System -> Macros -> Console, then everything works...

  • Macro for getting field value from all rows of custom table.
    Question Sep 1, 2017
    Hello. I wan't to create field in web part with custom table column values as source. So i need a macro to get appropriate list of strings from custom table. I tried to find it myself, but all i could write is GlobalObjects.CustomTables["namespace.mytablename"].Children...

  • Kentico Macro Based on DOM Element
    Question Feb 22, 2018
    Hey! I'm trying to create a macro to be used in a dataLayer element that grabs the value of an id attribute of a DOM element. Such as: ` ` Where The div would always have the class `QuoteForm` I wanted to create a macro that grabbed the value of the ID element. Maybe someth...

  • Kentico macro, working only for admin, (macro signature isssue)
    Question Mar 29, 2018
    I extended the users account and added a custom field. I am then using the id to filter a "where" clause on sql data source to get unique data for each user. This works correctly because I am a admin and the signature is using my credentials. I checked the console an...

  • Resolving Macro's in page type fields
    Question Mar 27, 2019
    If you have a page type and you create a custom field which is rendering the **CKEditor** with macro button you can add Macro's here. In the transformation for the page type in **text/XML** mode we have tried a few solutions around macro resolver and others to render the macr...

  •   ... 21 22 23 24 25 26 27 28 29 30 ...