mibuso.com

Microsoft Business Solutions online community
It is currently Sat May 18, 2013 7:24 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: How to prevent copy from pages
PostPosted: Sat Jul 28, 2012 9:17 am 
Offline

Joined: Tue Sep 07, 2010 7:46 pm
Posts: 21
Country: United Kingdom (uk)
Hello.

Now that we can copy from page lists it is time to re-awaken a discussion that has been going on for years. What happens if you don't trust your staff and don't want them to be able to copy and paste from (eg - as is most common) the customer list.

Yes, I know. Wouldn't it be better if everyone could be trusted and you didn't have to worry about this. It would also be nice if we had world peace and everyone ate mom's apple pie.

Yes, I know. A data thief will find away. Just let's not give him too much of a helping hand.

With forms we could do something like this http://www.mibuso.com/forum/viewtopic.php?f=5&t=18740

In 2009 we could deny permissions to the style sheets and put in a blank style sheet for the customer list.

So how do we stop copy and paste from NAV 2013? There is no property on the page or table object and no permission for it. I have had a couple of installations where the implementation would have bounced had this not been possible so we will need to tackle this issue.


Top
 Profile E-mail  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Mon Jul 30, 2012 1:01 pm 
Offline

Joined: Sat Oct 08, 2005 11:22 am
Posts: 499
Location: TURKEY
Country: Turkey (tr)
You can disable or clear clipboard before the required trigger or on a timely basis. In NAV, you can use following command with an appropriate trigger in page having a timer object or place it on single instance cdu and call it on appmgt codeunit :

Code: Select all
CREATE(WsShell);
WsShell.Run('cmd.exe /c echo. >NUL  | clip',0,TRUE);
CLEAR(WsShell);

_________________
Ufuk Asci
Pargesoft


Top
 Profile  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Mon Jul 30, 2012 6:39 pm 
Offline

Joined: Tue Sep 07, 2010 7:46 pm
Posts: 21
Country: United Kingdom (uk)
Interesting idea Ufuk but I think there are a few problems.

Firstly, if we are to use automations we have to allow the client to run them. The client has a chance to disable the automation.

Next there is the trouble of which trigger to run it from. There is no OnDeactivateForm trigger for pages :(

so I tried it in OnAfterGetRecord and OnAfterGetCurrRecord it mad the list really slow! Also, - and most importantly - it didn't work. :(

Nice idea but I'm not sure this one will fly.


Attachments:
File comment: Screenshot
Allow Automation.png
Allow Automation.png [ 33.5 KiB | Viewed 455 times ]
Top
 Profile E-mail  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Mon Jul 30, 2012 6:42 pm 
Offline

Joined: Tue Sep 07, 2010 7:46 pm
Posts: 21
Country: United Kingdom (uk)
Could I just say how happy I am to see the return of copy and paste? I really missed it in 2009 - the style sheets really don't do it for me. It is nice to know that MS really listen to feedback. It's a really nice feature except when you don't want it.


Top
 Profile E-mail  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Mon Jul 30, 2012 9:19 pm 
Offline
MVP Microsoft Dynamics NAV
NAV TechDays 2013 attendee

Joined: Tue Jul 19, 2005 4:49 pm
Posts: 3832
Location: Olst
Country: Netherlands (nl)
What about this?

http://answers.microsoft.com/en-us/wind ... 33b85cc031

_________________
Mark Brummel | Freelance Dynamics NAV (Navision) Developer
Author of the book : Microsoft Dynamics NAV 2009 Application Design

MY BLOG : http://www.brummelds.com


Top
 Profile E-mail WWW  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Tue Jul 31, 2012 8:38 am 
Offline

Joined: Sat Oct 08, 2005 11:22 am
Posts: 499
Location: TURKEY
Country: Turkey (tr)
james_cs wrote:
Interesting idea Ufuk but I think there are a few problems.

Firstly, if we are to use automations we have to allow the client to run them. The client has a chance to disable the automation.

Next there is the trouble of which trigger to run it from. There is no OnDeactivateForm trigger for pages :(

so I tried it in OnAfterGetRecord and OnAfterGetCurrRecord it mad the list really slow! Also, - and most importantly - it didn't work. :(

Nice idea but I'm not sure this one will fly.


In fact we've done this on Classic client and works properly. I haven't tested it on RTC but I suppose with some additional effort it can work on RTC. (Maybe using a timer automation for RTC will do this) Still, it is slow and not a favorable solution.

Mark Brummel wrote:


I'm not sure about this. So, RTC is part of RMS and we can handle this using policies?

_________________
Ufuk Asci
Pargesoft


Top
 Profile  
 
 Post subject: Re: How to prevent copy from pages
PostPosted: Tue Jul 31, 2012 11:20 pm 
Offline

Joined: Tue Sep 07, 2010 7:46 pm
Posts: 21
Country: United Kingdom (uk)
I think the RMS solution sounds right for this issue. I can't test it because I don't have a server and domain to test it on atm. It just sounds like the right solution for an environment where they are afraid of copy and paste. Thanks Mark.

If anyone gets a chance to confirm this works then it would be good to know.


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: