• Custom Macros
    Forum Post Dec 20, 2012
    Hi, I seem to be having problems getting my custom macro to render. I've got substitution macros working no problem, but I'm left with: {#CUSTOMEXPRESSION#} on the rendered output for a custom macro I've added into a doc type transformation. The code is in the same c...

  • RE:Macro Method in Visibility Field in Webpart
    Forum Post Feb 8, 2013
    Hello, Are you sure you are using right relationship name? I have tested it and if I set two documents related to my document then I can see them in macro editor as well as the 2 value in the Count property as you can see on the screenshot below: http://i.imgur.com/fari...

  • RE:Using ClassNames on macro method
    Forum Post Feb 12, 2013
    Well I have been doing some testing and the macro works for only one instance per template. If I put: {% CurrentDocument.Children.ClassNames("CMS.MenuItem").Count |(user)michalv|(hash)5948f0f97f1dc734ebcc137d12087257e7e40e9f5fe32963e45b5594ad79711a%} {% CurrentDocument....

  • RE:K# Macros
    Forum Post Mar 5, 2013
    Hello, No, macros are not resolved automatically. However if you place them directly to some text area in editing mode (editable region, static text, text areas on master pages, etc.) those macros are resolved. You can test it and place for example the Static text web part ...

  • RE:Custom Macro Product List HTML Encoding
    Forum Post Apr 17, 2013
    Hi, the "sender.AllowParameters = false" is the right way to go here. I'm wondering why is this causing you issues. Could you post your macro here? Maybe along with the screnshot of the page you are using it in? You should pass this property of the sender object in your ...

  • RE:Use conditional from form as subject line in notification email
    Forum Post May 21, 2013
    Hello, Unfortunately this is not possible with the context macro, as it is able to access only the value from the saved form entry. It does not have access to the name of the option in the definition of the form field. There are two ways to achieve what you need. Either ...

  • RE:Custom Macro Access UserSettings
    Forum Post May 31, 2013
    Just to clarify you are in Site Manager>Administraton>Users>select user>Custom Fields tab? If you're setting visibility in the code behind on that custom fields page, you can simply use this code:UserInfo ui = (UserInfo)EditedObject; ui.IsInRole("roleName", "siteName");I...

  •   ... 161 162 163 164 165 166 167 168 169 170 ...