Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Anchor
_Ref132604344
_Ref132604344
Anchor
_Toc457925273
_Toc457925273
Working with All Selected Entries

Wiki Markup
More than one entry can be selected in the instance list. This script displays the number and name of all selected employees in a message: 
 
/* Get all the selected employees */
 
\{
   var i = 0;
   var strMessage = "";
 
   for (i = 1; i <= objListManager.TotalSelected; i++)
   \{
      strMessage += "Employee " + objListManager.AKey3\[i\];
      strMessage += " - " + objListManager.VisualId2\[i\] + "\x0D";
   \}
 
   alert(strMessage);
\}
 
So if this script was used with three selected instance list entries like this:
!worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!
 
It would display this alert message:
!worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32!
 

...