BM

Hi,

I have an issue in a javascript report : this report creates a Word document where attributes link of object are displayed.

The result is correct except when the link refers to a lotus notes document.

Example : the link 1 attribute is populated with :

"Notes://APARSSMA01/C12570DC0049FF14/F7DF62FD4CCA5B7EC12570A10051540E/ECEA93FA7FDCE845C12574EB0035F995"

In the word document, the link does not work : the link address generated is : #_Ref01.

Here is the code I use :

if(!p_sProcess.listeObjectives[iOcc].linkName.equals("")){
  this.oOutput.OutputF("    ","TEXT_DOC_JUSTIFY");
  this.oOutput.OutputLinkF(p_sProcess.listeObjectives[iOcc].linkName + "\n", p_sProcess.listeObjectives[iOcc].link,"TEXT_LINK");

where "p_sProcess.listeObjectives[iOcc].link" represents the string of the link address.

Do you have a solution to solve this issue ?

In advance thank you very much for your help,

Bruno.

 

by Jens Heylmann
Posted on Tue, 11/29/2011 - 19:00

Hi Bruno,

tested this issue and got the same result. I assume this result happens because the ARIS report help for that method says only the allowed link formats are allowed for that. I do not know why the method has this restriction:

 

p_sLinkTarget

Description of link. If this parameter starts with "http:", "ftp:" or "mailto:", a corresponding hyperlink is created, otherwise a local (internal) link is created (see Constants.FMT_LINKTARGET). If this parameter starts with "file:///" a link to a corresponding file is created (e.g. file:///\\pcname\folder\file).

I have no better solution for you :(

Best regards,

Jens

0

Featured achievement

Rookie
Say hello to the ARIS Community! Personalize your community experience by following forums or tags, liking a post or uploading a profile picture.
Recent Unlocks

Leaderboard

|
icon-arrow-down icon-arrow-cerulean-left icon-arrow-cerulean-right icon-arrow-down icon-arrow-left icon-arrow-right icon-arrow icon-back icon-close icon-comments icon-correct-answer icon-tick icon-download icon-facebook icon-flag icon-google-plus icon-hamburger icon-in icon-info icon-instagram icon-login-true icon-login icon-mail-notification icon-mail icon-mortarboard icon-newsletter icon-notification icon-pinterest icon-plus icon-rss icon-search icon-share icon-shield icon-snapchat icon-star icon-tutorials icon-twitter icon-universities icon-videos icon-views icon-whatsapp icon-xing icon-youtube icon-jobs icon-heart icon-heart2 aris-express bpm-glossary help-intro help-design Process_Mining_Icon help-publishing help-administration help-dashboarding help-archive help-risk icon-knowledge icon-question icon-events icon-message icon-more icon-pencil forum-icon icon-lock