Quantcast
Channel: aras PLM community
Viewing all articles
Browse latest Browse all 1103

Hyperlinks in email notifications not working in 11 Sp5 build 6296

$
0
0

Normal 0 false false false false EN-US X-NONE X-NONE

Good afternoon,

I am having trouble with hyperlinks in email notifications after setting up a new test instance of 11SP5 build 6296.

On the original test instance (11  build 6073), the following string would launch Aras and open the item associated with the GUID:

http://umcapptest01/innovator/default.aspx?StartItem=DOCUMENT:CA2C023531F646DE9B58ECE0C6AFD292

In the new 11sp5 instance build 6296, I replaced the umcapptest01/innovator with new values, but I now see the following errors:

The method “selectStartPage” failed.

Technical Message    aras_object:“undefined” : “aras.setup_query.StartItem.split is not a function”

Stack Trace     Client Side Error

 

and

 

The method “runStartPage” failed.

Technical Message    aras_object:“undefined” : “aras.setup_query.StartItem.split is not a function”

Stack Trace     Client Side Error

 

Comparing the (2) methods (“selectStartPage” and “runStartPage”) from the 2 instances, it appears that a change was made to these 2 files as follows (not sure if/how this affects the hyperlinks):

11 build 6073: top.aras.setup_query.StartItem

11 sp5 build 6296:   aras.setup_query.StartItem

 

 “selectStartPage”:

11 build 6073:

if (!top.aras || !top.aras.setup_query || !top.aras.setup_query.StartItem) return;

if (top.aras.setup_query.StartItem == 'inbasket')
  return 'InBasket Task';

var arr = top.aras.setup_query.StartItem.split(":");
var type = arr[0];
var id = arr[1];
if (type && !id) return type;

 

11 sp5 build 6296:

if (!aras || !aras.setup_query || !aras.setup_query.StartItem) return;

if (aras.setup_query.StartItem == 'inbasket')
  return 'InBasket Task';

var arr = aras.setup_query.StartItem.split(":");
var type = arr[0];
var id = arr[1];
if (type && !id) return type;

 

“runStartPage”

11 build 6073:

if (!top.aras.setup_query.StartItem) return;
var arr = top.aras.setup_query.StartItem.split(":");
var type = arr[0];
var id = arr[1];
if (!type || !id) return;
var itm = top.aras.getItemById(type, id, 0);
if (itm)  top.aras.uiShowItemEx(itm, undefined);

 

11 sp5 build 6296:

if (!aras.setup_query.StartItem) return;
var arr = aras.setup_query.StartItem.split(":");
var type = arr[0];
var id = arr[1];
if (!type || !id) return;
var itm = aras.getItemById(type, id, 0);
if (itm)  aras.uiShowItemEx(itm, undefined);

 

Am I missing something stupid here?

Can anyone help with a fix of provide guidance?

 

Thanks,


Viewing all articles
Browse latest Browse all 1103

Trending Articles



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