hyperlink to file accessable by anyone on my companies server (VISIO)

Thomas Pitera 1 Reputation point
2020-12-29T21:58:27.61+00:00

(in Visio) By clicking the flowchart block, going to insert and link, i can link the block to a local file on my computer, that can then be accessed by control + clicking on the block
Currently, the link automatically saves as C:/Users/<my username>/....file.doc
it works perfectly, but I need to share this flow chart with my co workers, and when they try control + clicking they get error message
cant access file C:/Users/<my username>/....file.doc because its using my username
if it was C:/Users/<their username>/....file.doc they would be able to access because it is a company shared location
I know in file explorer it is possible to use %USERPROFILE% to be C:/Users/<Current users username> but this trick does not work in Visio
Any advice on solving this particular issue?

Visio Management
Visio Management
Visio: A family of Microsoft products used to create diagrams and vector graphics.Management: The act or process of organizing, handling, directing or controlling something.
241 questions
0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Andreas Baumgarten 69,656 Reputation points MVP
    2020-12-29T23:08:05.913+00:00

    The ...file.doc is stored in every userprofile folder?

    Maybe storing the file in a central share on a server is a better option. This would look like this:

    52019-visiohyperlinkshare.jpg

    This way everyone with read permission on the file share is able to open the ...file.doc by ctrl + click

    If it's only one computer where the file is stored and the users are working with you can create a local folder (not in the profile folder of a user) to store the file. The Hyperlink would be than "C:\TestData\TestFile.rtf".

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    1 person found this answer helpful.
    0 comments No comments

  2. Emily Hua-MSFT 27,201 Reputation points
    2020-12-30T09:22:16.873+00:00

    @Thomas Pitera ,

    I think it is an expected behavior, it needs a full path name, the environment variables are not supported in your case.

    Please refer to AndreasBaumgarten's suggestion as a workaround.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

  3. Thomas Pitera 1 Reputation point
    2020-12-30T13:31:03.403+00:00

    @Andreas Baumgarten i tried your suggested answer 52282-image.png

    and get 52190-image.png
    How do i store <servername> properly so it works?

    For your reference, our server location is at C:/Users/<username>/CompanyName for each individual, so if i can somehow store the fact that the username changes, then it would work

    Let me try rephrasing how i ask the question:
    I have my visio file and my block links to the file, i will put the file in the same folder
    I send you a zip file containing the visio file and the linked file
    when you control + click I want the functionality of opening the document to work for you

    work around that i can think of but dont know how to implement

    1. If I can attach the file to visio somehow that upon ctl + click it opens that is fine

    I have just tried putting the file in google drive and providing the wizard with an Internet address link, which does work, but I would still like to use the server location because when changes to the document are made, it will bring up the updates rather than the outdated link in the drive.

    Any other ideas? Please be specific about how to set the <servername> location if this is a viable option

    0 comments No comments

  4. Andreas Baumgarten 69,656 Reputation points MVP
    2020-12-30T14:11:03.07+00:00

    <servername> is just a placeholder for the name of your server with the share. Sorry for not being clear.
    For example Ift he servername is server1 the full path is "\\server1\Terrasmart\TS Eng - ......" (including the " if you have spaces in the filename)

    To be honest: Sending around a zip file with the Visio file and the document doesn't really make sense. Users have to extract the zip where ever they want and you have to deal with different paths every time.

    Best option, in my opinion, is to put the document in a share folder on one machine. Create a hyperlink like described before and just send the Visio file around.


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments