Forum Discussion

Jos2000's avatar
Jos2000
Copper Contributor
Dec 23, 2023

Link to heading

Hello there,

 

I need help with a functionality in Word documents. I've linked headings of a word document to a Power BI report's button (that basically contains the link created ). Clicking the button directs users to the specific headings in the document (which the objective of this task).

However, users are directed to Edit mode when accessing the file, I want to prevent unintended changes. I tried adjusting the links to View mode, in the sharing settings, but this prevents automatic navigation to the specific headings (it opens in the first page by default).

I'm looking for suggestions on how to solve this problem. Any help is appreciated.

 

Thank you.

 

  • Jos2000 Select all of the content of the document and then click on the Group dropdown in the Controls section of the Developer tab of the ribbon and click on Group.

    If you don't see the developer tab, go to File>Options>Customize Ribbon and check the box for Developer in the list on the right hand side.

    • Jos2000's avatar
      Jos2000
      Copper Contributor
      Doug_Robbins_Word_MVP First of all, thank you so much for the response. However, as I am not an experienced Word user, I didn't fully understand the solution you presented. Could you please provide some screenshots to help me better grasp the ideia?

      Note: My primary goal is to enable users of this link to click on it and be automatically directed to the specific heading, while maintaining read-only access.
  • george1615's avatar
    george1615
    Copper Contributor

    To prevent users from entering Edit mode when clicking the linked headings in your Word document, you can try the following steps:

    Document Protection:

    Protect your Word document with a password.
    Go to the "Review" tab, click on "Protect Document," and set a password.
    This will restrict users from making unintended changes without the password.
    Sharing Settings:

    In Power BI, ensure that the sharing settings are configured to allow viewing without editing.
    Double-check the link settings to make sure it is set to "View" mode.
    Deep Linking:

    Instead of linking directly to the document, try deep linking to specific headings.
    Use the format #heading=<HeadingID> in the link, replacing <HeadingID> with the actual ID or text of the heading you want to link to.
    Review Permissions:

    Confirm that users have the appropriate permissions to view the document but not edit.
    Check both the document permissions and Power BI sharing settings.
    PDF Conversion:

    Convert your Word document to PDF and link to specific pages or headings.
    PDFs often maintain links and formatting without the risk of unintended edits.
    Advanced Power BI Configurations:

    Explore advanced configurations in Power BI to ensure the link behavior aligns with your requirements.
    This may involve adjusting report settings or using alternative methods for linking.
    Test these suggestions to see which combination works best for your specific scenario. If the issue persists, you may want to consult Microsoft support or community forums for more in-depth assistance. ‌

    Best of luck! :smile:

  • KhalidSenger's avatar
    KhalidSenger
    Copper Contributor
    To prevent users from inadvertently entering Edit mode when clicking linked headings in your Word document, consider the following steps:

    Document Protection:

    Secure your Word document with a password.
    Navigate to the "Review" tab, select "Protect Document," and set a password.
    This will limit users from making unintended changes without the password.
    Sharing Settings:

    In Power BI, ensure sharing settings allow viewing without editing.
    Verify link settings are set to "View" mode.
    Deep Linking:

    Instead of directly linking to the document, utilize deep linking to specific headings.
    Format the link as #heading=<HeadingID>, replacing <HeadingID> with the actual ID or text of the heading.
    Review Permissions:

    Confirm users have appropriate permissions to view but not edit the document.
    Check both document permissions and Power BI sharing settings.
    PDF Conversion:

    Convert your Word document to PDF and link to specific pages or headings.
    PDFs often retain links and formatting without the risk of unintended edits.
    Advanced Power BI Configurations:

    Explore advanced configurations in Power BI to align link behavior with your requirements.
    This might involve adjusting report settings or using alternative linking methods.
    Test these suggestions to find the best combination for your specific scenario. If issues persist, consider seeking assistance from Microsoft support or community forums.

    Best of luck! 😊

Share

Resources