Home Service Manager

Notification Template Editor

Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
I create notification template for service request. In editor I have ID (SR........), but I need that my link consists of InternalID. I find this property (InternalID) - $Data/BaseManagedEntityId$ but I don't know in what library is it. SR ID is in  this library [Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$
Where could be BaseManagedEntityId ?

Answers

  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    In what library I can find "Generic property Id" I need paste this Internal Id in notification template
  • Justin_WorkmanJustin_Workman Cireson Support Super IT Monkey ✭✭✭✭✭
    Hey @Roman_Nepomniashchii - I think this is all you need:
    $Context/?$Id$?
    You don't need a library reference because every object has a BaseId.
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Hey @Roman_Nepomniashchii - I think this is all you need:
    $Context/?$Id$?
    You don't need a library reference because every object has a BaseId.
    Thank You very much!!!! 
    You helped us a lot and saved a lot of time, I am very grateful it works! Could I have guessed it myself? There are some rules for the formation of these links?
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Hey @Roman_Nepomniashchii - I think this is all you need:
    $Context/?$Id$?
    You don't need a library reference because every object has a BaseId.
    I have template for "Trouble ticket analyst comment" and in this template is link to parent SR

    <p><a href="http://servicedesk/ServiceRequest/Edit/$Context/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemHasCommentLog' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$"><span style='font-family:"Calibri","sans-serif"'>$Context/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemHasCommentLog' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$</span></a></p>

    I want use not ID, I need use ID(Internal) as previous case, how I can make link if it is other class?
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭
    Hey @Roman_Nepomniashchii - I think this is all you need:
    $Context/?$Id$?
    You don't need a library reference because every object has a BaseId.
    I have template for "Trouble ticket analyst comment" and in this template is link to parent SR

    <p><a href="http://servicedesk/ServiceRequest/Edit/$Context/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemHasCommentLog' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$"><span style='font-family:"Calibri","sans-serif"'>$Context/Path[Relationship='CustomSystem_WorkItem_Library!System.WorkItemHasCommentLog' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$</span></a></p>

    I want use not ID, I need use ID(Internal) as previous case, how I can make link if it is other class?
    It seems to figure out what you did in the last post
  • Roman_NepomniashchiiRoman_Nepomniashchii Customer IT Monkey ✭

    Hi Justin! I have notification template for RA I need get parent SR internal(long) ID

    $Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/Id$


    $Context/Path[Relationship='CustomSystem_WorkItem_Activity_Library!System.WorkItemContainsActivity' SeedRole='Target' TypeConstraint='CustomSystem_WorkItem_Library!System.WorkItem']/Property[Type='CustomSystem_WorkItem_Library!System.WorkItem']/?$Id$? - it is not work((( can you help me?

Sign In or Register to comment.