Home
|
Forums
|
Contact
|
Search
|
Syndication
[login]
[create account]
Thursday, November 28, 2024
slxdeveloper.com
Home
Search
Contact us
About slxdeveloper
Syndication
Community
Forums
(NEW!)
Newsletter Archive
Members
Your Profile
Submit Article
General
Administration
(6)
OLE DB Provider
Miscellaneous
(2)
Architect
VBScript
(9)
ActiveX Controls
(6)
How To's
(14)
.NET Extensions
(3)
External
OLE DB Provider
(12)
SLAPI (SlgxApi.dll)
SalesLogix COM
(1)
Web
ASP/ASP.NET
(2)
Web Services
Web Client
Downloads
Samples
(17)
Documentation
(7)
Utilities
(18)
Resources
SalesLogix
(3)
Programming
(1)
11/28/2024 6:26:47 PM
slxdeveloper.com Community Forums
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
Reporting & Notification Forums - Reporting
Forum to discuss reports for SalesLogix including Crystal, SQL Reports, etc. View the
code of conduct
for posting guidelines.
Forums RSS Feed
Back to Forum List
|
Back to Reporting
|
New Thread
View:
Dynamic
Flat
Tree
Search:
Author
Thread: Restrain Print and Export functions ?
Janick FROUIN
Posts: 3
Restrain Print and Export functions ?
Posted: 26 Nov 07 5:16 AM
One customer wants to provide some information to remote saleslogix users by viewing reports, but he would like to forbid printing and exporting those reports.
Other reports for the same persons can be printed and exported.
Saleslogis version is 6.2
I thought of 2 ways :
- modify something in the Slx environment ( but I don't see how )
- making the report itself unprintable ( but I have never heard of such possibility )
Does anyone knows about such a possibility ?
Thank you.
Janick
[
Reply
][
Quote
]
David Henry
Posts: 207
Re: Restrain Print and Export functions ?
Posted: 26 Nov 07 2:51 PM
The export and print features in the crystal viewer are controlled by locally registered dlls.
Here is a list of all the dlls that are used by the crystal viewer. The ones beginning with 'u2' control the different 'export' functiionalities.
C:\Winnt\system32\sscsdk80.dll
c:\winnt\crystal\craxdrt.dll
c:\winnt\crystal\crtslv.dll
c:\winnt\crystal\crviewer.dll
c:\winnt\crystal\crxf_pdf.dll
c:\winnt\crystal\crxf_rtf.dll
c:\winnt\crystal\crxlat32.dll
c:\winnt\crystal\exportmodeller.dll
c:\winnt\crystal\p2soledb.dll
c:\winnt\crystal\u2dapp.dll
c:\winnt\crystal\u2ddisk.dll
c:\winnt\crystal\u2dmapi.dll
c:\winnt\crystal\u2dnotes.dll
c:\winnt\crystal\u2dpost.dll
c:\winnt\crystal\u2dvim.dll
c:\winnt\crystal\u2fcr.dll
c:\winnt\crystal\u2fdif.dll
c:\winnt\crystal\u2fhtml.dll
c:\winnt\crystal\u2fodbc.dll
c:\winnt\crystal\u2frdef.dll
c:\winnt\crystal\u2frec.dll
c:\winnt\crystal\u2fsepv.dll
c:\winnt\crystal\u2ftext.dll
c:\winnt\crystal\u2fwks.dll
c:\winnt\crystal\u2fwordw.dll
c:\winnt\crystal\u2fxls.dll
c:\winnt\crystal\u2fxml.dll
c:\winnt\crystal\u2l2000.dll
c:\winnt\crystal\u2lcom.dll
c:\winnt\crystal\u2ldtdif.dll
c:\winnt\crystal\u2ldts.dll
c:\winnt\crystal\u2lexch.dll
c:\winnt\crystal\u2lfinra.dll
c:\winnt\crystal\u2lsamp1.dll
c:\winnt\crystal\u25dts.dll
c:\winnt\crystal\u252000.dll
I have never been faced with what you have on your plate. Someone else may have a better suggestion...
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Restrain Print and Export functions ?
Posted: 28 Nov 07 11:30 PM
David's suggestion isn't too bad, removing the export function DLLs should get rid of those export options. However, once you upgrade to v7 this will be an easy task to simply get rid of the export functionality from teh report viewer (I've done that for a client before in v7 and it worked great)
[
Reply
][
Quote
]
Janick FROUIN
Posts: 3
Re: Restrain Print and Export functions ?
Posted: 01 Dec 07 6:01 AM
Thank you David and Ryan.
For the time being this solution will be perfect.
Here in France, V7 is still not released by Sage !
The good side is that we naver have to wait for the first service packs, as we get new versions so late.
[
Reply
][
Quote
]
Daryl Probetts
Posts: 45
Re: Restrain Print and Export functions ?
Posted: 28 Jan 10 10:21 PM
Ryan,
Would you mind sharing where Export within the SalesLogix Crystal Report Viewer can be turned off. I have a customer that wants users to only be able to print reports.
Thank you.
[
Reply
][
Quote
]
Raul A. Chavez
Posts: 1300
Re: Restrain Print and Export functions ?
Posted: 28 Jan 10 11:08 PM
I haven't tried this on my own, but this is what I have found out:
The slxwebrpt.aspx page has a CrystalReportViewer control on it, which is where the Report is displayed.
The Markup is as follows:
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" EnableDatabaseLogonPrompt="False"
CssFilename="/crystalreportviewers115/css/default.css"
GroupTreeImagesFolderUrl="/crystalreportviewers115/images/tree/"
ToolbarImagesFolderUrl="/crystalreportviewers115/images/toolbar/" />
I opened the CrystalViewer using a Reflection tool, and found out that it has a Property called "HasExportButton". So, in theory it appears that you could modify the Code shown above and add the HasExportButton with a value of False:
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" EnableDatabaseLogonPrompt="False"
CssFilename="/crystalreportviewers115/css/default.css"
GroupTreeImagesFolderUrl="/crystalreportviewers115/images/tree/"
ToolbarImagesFolderUrl="/crystalreportviewers115/images/toolbar/"
HasExportButton="false"
/>
[
Reply
][
Quote
]
Daryl Probetts
Posts: 45
Re: Restrain Print and Export functions ?
Posted: 29 Jan 10 6:29 AM
Thanks Raul. After more checking, it appears the option to restrict the Export button is limited to the web. The LAN client would require the removal of the dll's as described above.
[
Reply
][
Quote
]
Ryan Farley
Posts: 2265
Re: Restrain Print and Export functions ?
Posted: 30 Jan 10 10:54 AM
Quote:
Originally posted by Daryl Probetts
Ryan,
Would you mind sharing where Export within the SalesLogix Crystal Report Viewer can be turned off. I have a customer that wants users to only be able to print reports.
Thank you.
For the LAN client (it's been a very long time since I've looked at this so hopefully I am remembering it right), you can open the "System:SLX Crystal Report Viewer" form plugin. This form hosts the Crystal Report Viewer ActiveX control. Select the viewer control and in the property editor locate the "EnableExportButton" property and set it to False.
[
Reply
][
Quote
]
Page 1 of 1
You can subscribe to receive a daily forum digest in your
user profile
. View the site
code of conduct
for posting guidelines.
Forum RSS Feed
-
Subscribe to the forum RSS feed to keep on top of the latest forum activity!
slxdeveloper.com is brought to you courtesy of
Ryan Farley
&
Customer FX Corporation
.
This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.
code of conduct
|
page cache (param): 11/28/2024 7:23:43 PM