I have the following requirement - can you link to inside a specific section in a Word document when you click on the link in ARIS? Fex- automatically jump to a specific bookmark when its opened.
I have managed to do it outside of ARIS by using a command statement , a macro inside the document and a bookmark. in the command prompt you can f.ex write winword document.doc /mMacro .
But I can not get this functionallity to work in ARIS.
You have a "Parameter1" attribute that belongs to the "Link1" attribute, shouldnt it to be possible to put this type of information there ?
HI
What I would like is to provide the bookmark as a paramater, but that doesnt work. The word documents just opens as normal (page 1)
I have managed to use the paratemer to launch a macro , but the problem is - I then have to set up lots of macros in word and the user gets prompted by the macro-window when word opens.
I know i HTML code you are able to provide #bookmark when you link to word documents to link to specific bookmarks, but I cant get it to work using the paramter attrubte
Do you have any idea - it would be greatly appreciated as I see this as a reocurring problem
Tom
Hi Tom,
we do not have experience with this scenario, but we do not see a reason why it does not work. Could you provide us a sample document including the macro and the working command line syntax? In this case we could reproduce the problem and solve it.
Please send the information directly to me: uwe.roediger@ids-scheer.com
Regards
Uwe
It seems, that MS Word.exe does not have the possibility to read jump parameters in that way that the user can set " Go to page 3 " or " Go to chapter 3"
The jump to a specific bookmark in a MS Word document can be executed by using a MS Word macro:
Example for a macro:
******************************************************
Sub Jump()
Selection.GoTo What:=wdGoToBookmark, Name:="BMTEST"
With ActiveDocument.Bookmarks
.DefaultSorting = wdSortByName
.ShowHidden = False
End With
End Sub
******************************************************
MS Word provides a switch that enables you to execute a macro from a command line. This switch is /m<macroname>, e.g. /mJump. This works if you are using this switch from a windows desktop and enter the following string into the command line:
"C:\Program Files\Microsoft Office\Office\winword.exe" d:\temp\test.doc /mJump
But if you enter d:\temp\test.doc into the object attribute Link1 and the switch /mJump into the corresponding Parameter it fails. I tried several options with double quotes and the string in the Link attribute, but nothing works.
As a bug of MS it only works, when you write first WINWORD.EXE, only DOC does not work. So you must use: "Winword.exe document.doc /mJump", not "document.doc /mJump"
Juergen
Replying to such an old post could get easily overseen. Better: Post a new question and link to this discussion in your article.
Is it ARIS 7 or ARIS 9 where you need a solution? In case of latter one, I suggest to open a support ticket via Empower/eService.
Cheers
Rune