This is just a quick post, partly for future reference for myself! When working with Unified Service Desk (USD), you often come across syntax like this;

[[contact.name]]
[[contact.Id]+]
[[account.websiteurl]u]
[[contact.telephone1]x]

When I first saw this style of notation I didn’t really understand the meaning of “]]”, “]+]”, “]u]”, “]x]” etc. On one level it didn’t matter as long as the “code” I entered worked! But knowing when you might use “[[parentcustomer.Id]+]” instead of “[[parentcustomer.Id]]” can sometimes be important.

This link to Microsoft explains the replacement parameters. It took we quite awhile before I stumbled on this. So I thought posting it might help.

https://msdn.microsoft.com/en-us/library/dn864934.aspx

Some tips;

Also the link below explains how to access various system replacement parameters. Such as $User, $Session, $Global etc. Trying looking in the debugger  data parameters tab to see the contents of these.

https://msdn.microsoft.com/en-us/library/dn864992.aspx

Some examples.

7 responses to “USD – Replacement Parameters”

  1. […] Using Replacement Parameters in USD […]

    Like

  2. Neil, thank you for your helpful series of USD posts.
    Regarding replacement parameters, though…whenever I save a new record, its “.Id” value (e.g. [[contact.Id]] doesn’t show up in its list of replacement parameters, even after refreshing the list in the debugger. Have you run into this?

    Like

    1. Thanks for your comment and responding to my blog.

      I have seen the issue you describe, once. But at the time I thought the issue was specific to the USD version I was using and only happened with CRM online.

      What version of CRM and USD are you using?

      Like

  3. […] may find it useful to review how replacement parameters work, see details here or […]

    Like

  4. […] may find it useful to review how replacement parameters work, see details here or […]

    Like

Leave a comment

Trending

Website Powered by WordPress.com.