Quantcast
Channel: PTC Community : Popular Discussions - Integrity
Viewing all articles
Browse latest Browse all 3432

Where can i find info about the MessageCatalog for triggerscripts?

$
0
0

Hi @all,

 

recently i stumbled upon a triggerscript, which seems to be a standard-script which comes with Integrity ootb. Its the Script "dependentStatus.js". In this script is existing following code:

 

var mc = MessageCatalog.getCatalog("mks.ci.server.engine.TriggerCache");

log ("MessageCatalog: " + String(mc));

// Otherwise it is an error.  Accumulate an error message.

var thisMsg = mc.getMessage("RELATED_ISSUE_ERROR_P1") + " " + relIssue.getID() + " " + mc.getMessage("RELATED_ISSUE_ERROR_P2") + " " + dependentStatesName + mc.getMessage("RELATED_ISSUE_ERROR_P3") + " " + relIssue.getState();

 

So for me it seems that there are a MessageCatalog, and within this catalog there are some sentence building blocks. But i didn't find anything about this catalog in the documentation. Also i didn't find anything about the command "getCatalog" in the trigger-documentation. Where can i get any info about this?

 

Thanks, Jens


Viewing all articles
Browse latest Browse all 3432

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>