Profile picture for user liju

How can i print an image on to a report which is stored in ADS by means of Document Link 1 attribute. In ARIS architect i could easily do this by the following

var document1 = p_aObjOcc[i].ObjDef().Attribute(Constants.AT_DOCUMENTATION, nLocale).getExternalDocument() 

if (document1.isValid()) {

                  

                  if ( document1.getFileExtension().search(/jpg|jpeg|png|gif|emf|tif|tiff/i) != -1 ) {

                      var img = Context.createPicture(document1.getDocument(), Constants.IMAGE_FORMAT_PNG);

                      p_output.OutGraphic(img, -1, 200, 200 )

                  } 

              } 

But unfortunately 'getExternalDocument()' doesnot work in ARIS Connect Designer. Is there any other way i can do this? Appreciate any help.

 

by Liju Ram Author
Posted on Tue, 06/26/2018 - 15:05

I was able to fix this. I am not posting the fix for the above issue here . If someone needs any help regarding printing Document stored in ADS into a Report, let me know. I would be glad to help.

0
by Muhamad Ibnu Qoyim
Posted on Tue, 08/07/2018 - 06:07

In reply to by liju

Dear Liju Ram

Can you explain to me how to solve this problem, about printing Document stored in ADS into a Report?

Thanks..

Best Regards.

Ibnu
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