these threads do not give instructions on how to use this solution.
What i need is instruction on how to use this file. I am on SD5.0P2 on HP UX, i have the createservicecall.jsp with attachements. this is wat i did:- 1. stopped apache and tomcat services 2. Replaced the original createservicecall with the new one 3. Restarted the apache and tomcat.
still my service page doesnt reflect the change, i know i am missing something here.
i have the detaield solution document for 4.5 SP with attachments which explains how to go about do it. but 4.5 install directory is different from 5.0 and am not able to match the instructions with 5.0.
I am wandering if anyone has done this on 5.0 and if anyone has any solution document which i could use...and am not a java/jsp guys so i defnetly need help here.
any help on this will be greatly appreciated and ofcourse points too..
1)I have only replaced the createservicecall.jsp file with the one with attachement but i ened up seeing the same old page. Then i deleted the works folder, restarted tomcat and apache, this time it gave me all the java errors when i click on new service call.
2) i followed the 4.5 solution for the 5.0, where i need to do couple fo things like download the jspsmartupload and adding folder classes in to the service pages folder in the install directory and then replacing the the createservicecall.jsp file . here again i get errors
i am actually lost now, can u give me some pointers. as to how i should go and wat i am missing
May be the createservicecall.jsp i am using is for 4.5. Can i use the same jsp for 5.0 if not can anyone gimme the jsp for 5.0 and tel me how and where to use in order to have the attachement funtionality.
May be the createservicecall.jsp i am using is for meant for 4.5 only. Can i use the same jsp for 5.0 if not can anyone gimme the jsp for 5.0 and tel me how and where to use in order to have the attachement funtionality.
Hi Nirad, I replaced the createservicecall.jsp with wat u ve sent. and it generated the attached error.
the error comes up when i select New service call. SO the serivce pages is opening, i can login, it gives me the menu items, then i select service call, it gives me views and and create new item, when i select new service call it throws te attached error.
Hi Nirad, As per your instruction i replaced 'cdm' to 'sd' in the code which was colored in red and then restarted the services, deleted the works folders and then started ServicePages and still have error, kindly find the error snapshot attached.
Further when i had doneattachments in 4.5SP, i had to add some folder called 'classes' from the JSPSMARTUPLOAD in to the install directory. Is it not required to do that here 5.x ??
Also the install directory structure in 5.x is different compared to 4.5 (please find attached screen shot of the install directory structure )
Thanks for the advice, i have downloaded eclipse, but i aint no java/jsp guy so i do not understand how to use this ??.. if you could help me with this or give me any pointers that will greatly apppreciated,
I am back after long time. I was not able to open attachment sent by you.
Now i am able to see the attachment with 5 errors.
i think that we are very near to the solution.
Out of 5 errors 3 erros are same as shown below
cannot resolve symbol symbol : method sd_session () location: class com.hp.ov.sd.sp.beans.SdClientBean
You have to find out the correct method from javadoc to get session of servicecall home.
Try using getSession() instead of sd_session()
See the explanation for remaining two errors.
1. symbol : variable sc_oid location: class org.apache.jsp.CreateServiceCall_jsp item = scHome.openServicecall(sc_oid); ^ Please check that sc_oid variable is declared into your page and initialize or not.
2. cannot resolve symbol symbol : method addAttachedItem (com.hp.ov.webapi.obs.IAttachedItem) location: interface com.hp.ov.webapi.obs.IAttachment att.addAttachedItem(nItem);
same again. Check the correct method name from javadoc as it is not recognizing addAttachedItem ()
A bit late on this topic.Iam not a Jsp/java person & struggling with SP attachments. We are using SD 5.1 version & the CreateServicecall.jsp posted here is working fine for attachments on SD app server.However,i want to know what modifications do i need to make to CreateServicecall.jsp & saveservicecall.jsp in order to accept attachments from user end.