Skip to main content
Inspiring
May 4, 2011
Question

Accessing System Variables

  • May 4, 2011
  • 1 reply
  • 351 views

How do I access System Variables?  Specifically, I want to add a year and month seperately but those variables are not listed in the Variables pod (a bunch of other things are, long dates and so on).

I can add them as User Variables, setting them up as <$year> and <$monthname>, but that doesn't work either (the output is "<$year" and "<$monthname" respectively).

I can import the variables from another document, but I shouldn't have to.  They have got to be in there someplace, but where?  How can I get to them without importing a bunch of duplicate variables from other docs?

Thanks in advance.


dc10

    This topic has been closed for replies.

    1 reply

    Arnis Gubins
    Inspiring
    May 4, 2011

    System variable building blocks won't work in user-defined variables. You have to modify an existing system variable to get the exact definition that you want and then use that modified system variable. Also, not all system variables are available on all types of pages, some are specific to Master pages only.