tag:blogger.com,1999:blog-34020393.post2163675981548963576..comments2024-03-27T10:59:38.307-07:00Comments on Jim's PeopleSoft Journal: JavaScript and PeopleCode Array ParametersJim Marionhttp://www.blogger.com/profile/12995110203807924786noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-34020393.post-3254533726015449972016-07-18T11:19:31.564-07:002016-07-18T11:19:31.564-07:00@Shiva, you are correct. You could write JavaScrip...@Shiva, you are correct. You could write JavaScript to hide buttons, but the problem is that anyone can use their browser to unhide or activate buttons, etc. It would just be cosmetic, not secure.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-8426578607011396382016-07-17T23:48:06.237-07:002016-07-17T23:48:06.237-07:00Hi Jim,
I thought you may come across this situati...Hi Jim,<br />I thought you may come across this situation so just needed your guidance.<br />We were using 8.5 tools and old application 8.4.<br />Question is, i want to hide the PeopleSoft delivered buttons(save, Next,previous) on each page of component for particular customers depending on their status. How can we do this?<br /><br />Tried Option: I just tried a blind script on page activate through #ICSAVE Id through hidden property but not worked.I suppose the script is executing before the page formation. <br /><br />If I uncheck the component property it will affect all customers.<br /><br />Any Idea on how to achieve this req?<br /><br />Thanks,<br />Shiva<br />Shivahttps://www.blogger.com/profile/13071613512114970964noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-41588275337125586182016-06-01T15:59:29.721-07:002016-06-01T15:59:29.721-07:00@Nalini, iScripts have no security concerns by the...@Nalini, iScripts have no security concerns by themselves. iScripts use role/permission list security just like anything else in PeopleSoft. It is really about the code within the iScript. It is important that the person writing the iScript keep security top of mind.Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-26275171265268869082016-06-01T08:27:41.046-07:002016-06-01T08:27:41.046-07:00Hi Jim,
This information is very helpful. Thank Yo...Hi Jim,<br />This information is very helpful. Thank You !!<br />On another note, I created an iscript for a form using javascript in PS Recruiting module for external candidates to enter their additional details when they encounter tech issues. We are on pt8.55 and hcm 9.2. I am hearing there are security concerns when using iscripts thru peoplesoft. Since you had created so many javascript related custom items and shared on this site. Could you please confirm the concerns or look abouts that I should be really aware of.<br /><br />Thank you for your help!!Nalinihttps://www.blogger.com/profile/11696766074340750891noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-67020333119495422962016-02-16T09:44:16.321-08:002016-02-16T09:44:16.321-08:00@Matt/Alissa, I complete agree and have been think...@Matt/Alissa, I complete agree and have been thinking the same thing. I'm sure you are familiar with project Avatar?Jim Marionhttps://www.blogger.com/profile/12995110203807924786noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-20502877523656720042016-02-16T04:50:16.299-08:002016-02-16T04:50:16.299-08:00I wonder when PeopleSoft will run on Java 8? We a...I wonder when PeopleSoft will run on Java 8? We are writing a ton of client side javascript using React, and would love to the Nashorn Javscript Engine to render them on the server side. See http://augustl.com/blog/2014/jdk8_react_rendering_on_server/ for an example of what I'm talking about.Matt and Alissahttps://www.blogger.com/profile/11702467773331556932noreply@blogger.comtag:blogger.com,1999:blog-34020393.post-38420485787157659062015-11-24T11:56:43.146-08:002015-11-24T11:56:43.146-08:00Hi Jim and Sasank,
At last i am able to complete ...Hi Jim and Sasank,<br /><br />At last i am able to complete this requirement!! Thanks a Lot for your guidance and support!<br /><br />i have used another class of Apache POI to create the large file as Packages.org.apache.poi.xssf.streaming.SXSSFWorkbook; and it works great and we can create really a large file with no Memory issues or anything like that. even i have created a generic class now in Peoplecode to create Excel reports through Application Engine, to avoid Microsoft OLE Automation issues, and to reduce the memory processing issues.<br /><br />var result = (function() { <br /> // import statements <br /> var SXSSFWorkbook = Packages.org.apache.poi.xssf.streaming.SXSSFWorkbook; <br /> var FileOutputStream = Packages.java.io.FileOutputStream;<br /> // variable declarations <br /> var workbook = new SXSSFWorkbook(); <br /> var sheet = workbook.createSheet("Countries"); <br /> var fileName = "/psoft/fs9devt/UserUpload/ap/real123.xlsx";<br /><br /> for (i = 0; i < 130000; i++) { <br />var row = sheet.createRow(i);<br /> for(t=0; t < 10; t++){<br />var cell = row.createCell(t);<br />cell.setCellValue(t+" in the "+i); <br />cell=null;<br />}<br />row=null;<br />}<br /> var fos = new FileOutputStream(fileName); <br /> workbook.write(fos); <br /> fos.close(); <br /> <br /> return "Created workbook " + fileName; <br /> <br />}());<br /><br /><br />Thanks<br />ManishAnonymoushttps://www.blogger.com/profile/15553516676951667794noreply@blogger.com