How to make "Read Only" status visible in a word document opened as an interaction attachment
MegaMike
Member Posts: 2
Dear Navisioneers.
I am using mibuso.com for years and have found many many usefull tips and tricks and insider knowledge. Thanks to all of you for this great help you give to users and developers! But for my current problem I could not find any suggestions:
A logged interaction is for NAV a posted Information and therefor is not editable.
The same rule is valid for interaction attachments. When you have used a static word document as an attachment, then Word will start in Read Only mode, the user can see this mode in the window title and is not able to modify this document.
But when the word document contains merge fields, then Word starts in a normal mode, it seems the user can modify the document. And he does. But when closing Word, no Message "Do you want to Import" or "Do you want to save" or anything else appears, no particular message, and the changes are gone.
We are searching for a possibility to show the user, that also this type of document is shown in a read only mode.
Does anyone have any idea?
Thanks in advance.
In this case we are talking about NAV2013R2 together with Word2016, but I am afraid it is a General issue, not depending the Version, is it?
I am using mibuso.com for years and have found many many usefull tips and tricks and insider knowledge. Thanks to all of you for this great help you give to users and developers! But for my current problem I could not find any suggestions:
A logged interaction is for NAV a posted Information and therefor is not editable.
The same rule is valid for interaction attachments. When you have used a static word document as an attachment, then Word will start in Read Only mode, the user can see this mode in the window title and is not able to modify this document.
But when the word document contains merge fields, then Word starts in a normal mode, it seems the user can modify the document. And he does. But when closing Word, no Message "Do you want to Import" or "Do you want to save" or anything else appears, no particular message, and the changes are gone.
We are searching for a possibility to show the user, that also this type of document is shown in a read only mode.
Does anyone have any idea?
Thanks in advance.
In this case we are talking about NAV2013R2 together with Word2016, but I am afraid it is a General issue, not depending the Version, is it?
Kind regards from western EastWestphalia.
Michael
Michael
0
Answers
-
In Addition: We are talking about the "ShowMergedDocument" Trigger in Codeunit 5054 "WordManagement": In this section a Parameter "read only" is given to the WordHelper.CallOpen prcedure in two different ways: For static documents the attachment."read only" flag is used, for document with merge fields the System uses FALSE as a konstant. I think this is the reason for the written behavior, but I don't know why, and I don't know a Workaround.Kind regards from western EastWestphalia.
Michael0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 326 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions