• RE:Show web part on pages under specific folder/node
    Forum Post Jun 2, 2012
    Hi, You can use a macro expression in the Visibility field. This macro must return true/false. So, the macro could look like this: {%CurrentDocument.DocumentNamePath == "<yourpath>"|(user)michalv|(hash)4b5be30514b763070d024309328061d446f1b8bdb4b0285879faf6ae4d0601bd%} ...

  • RE:Date format of macro expressions and safe use in SQL where clause
    Forum Post Jul 4, 2012
    Many thanks for investigating this Invana and for the macro parameter solution. One last question though. What is it that is determining the date format of the macro expression? The options that I can see are the region of the web server OS, the culture of the document or t...

  • Macro expressions not exported properly
    Forum Post Aug 6, 2012
    I have a page that uses Macros in a few different webparts. When I export this object and import it into a new environment it is like the macro stops working. I have to edit the webpart and then find the section using the macro click on the little triangle "edit value" t...

  • RE:webpart where condition is filtering returned macro text?
    Forum Post Sep 20, 2012
    I have the following SQL macro injected on to the query data source web part and when run in debug mode it always return the dates in double which is wrong, any idea of how to remove the double quotes please. Macro {%CurrentUser.IsInRole("LA.CentreManagers")? "Deleted = 0 ...

  • RE:Hide container if editable text is empty
    Forum Post Oct 14, 2012
    Hi James, Sorry for not being clear. When you open the configuration of given web part, there is a property called "Visible" and click on the black arrow next to it - then a macro builder window is opened and you can compose or paste the macro here (documentation link - ...

  • Site setting macro
    Forum Post Oct 23, 2012
    Hi I noticed that in the macro builder helper, one of the values that the helper has access to is (if my site name was CorporateSite): Settings.CustomSettings.CorporateSite But I can't figure out how to use this to get a setting out. Settings.CustomSettings.CorporateS...

  • RE:Foreach usage in k# macros
    Forum Post Oct 28, 2012
    Hi, to achieve this you may call <yourCollection>.ApplyTransformation method. This way you can difine a transformation and use it inside the macro. More information about this topit you can find in trasformation macro expressions. Is this solution suitable for you? ...

  • RE:Escape html in macro email templates
    Forum Post Nov 6, 2012
    Hi, I've tested it again and it's also possible to use (encode)false macro parameter: {% foreach(item in Documents["/Company"].DocumentName) { ResolveMacros("\r\n{%item%\} new_line <br />\r\n") } |(encode)false|(user)michalv|(hash)3cc67cbd776ccd3e45ed82a8b0709959ab19f7d863...

  • RE:Use custom transformation in BizForm
    Forum Post Dec 19, 2012
    Hello, If you want to apply a transformation in a macro, you have to call it in the ApplyTrasformation method over some collection as it is described in our documentation. However I recommend you to create a custom macro instead. Best regards, Jan Hermann

  • Stop macro in CMSDESK
    Forum Post Jan 15, 2013
    Hi Guys, I have a created a custom macro (e.g. below) case "someexpression": e.Match = true; e.Result = "Resolved expression"; break; I would like this macro to run on the live ...

  •   ... 61 62 63 64 65 66 67 68 69 70 ...