Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal Web Wizard

Status
Not open for further replies.

savi

Programmer
Oct 17, 2002
18
0
0
US
Hi,

Did anyone use "Crystal Web wizard" in Crystal enterprise 8.5. If it is could you please tell me
What are the CSP files in the project we have to change and what we have to change to work like eportfolio, ie, view and schedule the reports

Thanks

 
I have used the Crystal Web Wizard and find it quite simple and easy to use. Our new deisgn is simple and fits in with our Intranet design.

When starting off with the the Crystal Web Wizard, the decision must be taken as to whether you will authenticate against Enterprise Authentication or NT Authentication. (I use NT Authentication). This impacts upon some of the code in the CSP files. I also changed the coding, so that when users clicked on "Exit", they leave ePortfolio and returned to the homepage of our Intranet.

Files I changed were: default.csp; logonform.csp, logon.csp.

Default.csp:
var L_WELCOME="Welcome" – “Welcome to eReports”;
var L_PWR_BY_CD_="………." "eReports provided by MIS";
var L_LOGON="Log On"; remove the text between the " ";

If( secinfoObj.CheckAction(actionItem.ID) ) Response.Write(&quot; <a href=&quot;javascript:RunNow(&quot;+obj.ID+&quot;);'> [&quot; + L_SCHEDULE + &quot;</a> &quot;); remove text between <a> and</a>

If(secinfoObj.CheckAction(actionItem.ID) ) Response.Write(&quot; a href='javascript:ShowInstances(&quot;+Obj.ID+&quot;);'>{&quot; + L_HISTORY + &quot;]</a>&quot;); remove text between <a> and </a>

Response.Write(&quot;<IMG border=0 src=' &quot;+GetLinkPath( )+&quot;pb_blue_sml.gif’ alt=' &quot;+L_PWR_BY_CRD+' &quot; align='right'>&quot;); Where it says pb_blue_sml.gif – replace this with your own image.

Logonform.csp:
Var L_WELCOME change to &quot;Welcome to eReports
Var L_PWR_BY_CD=&quot;eReports provided by MIS&quot;
Where it says pb_blue_sml.gif – replace this with your own image.

Where it is mentioned anywhere in the text &quot; secEnterprise&quot;, (keep the same) change this to &quot;secWindowsNT&quot;. This authenticate the reports against WindowsNT.

Logon.csp:
If( Request.QueryString.Item(&quot;action&quot;) == &quot;exit&quot; ) {
LogoffUser();
Response.Redirect(&quot;logonform.csp&quot;);

change (&quot;logonform.csp&quot;) to
Response.Redirect(&quot; - the name of our intranet.

Obviously, the info I have given was applicable to our company only, just use your common sense and make the changes and keep on testing. Eventually you see the light.

Hope this helps.

Muwati
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top