EGL Development User Group

  • 1.  How to write to a file (log or my file) in EGL program

    Posted Fri November 06, 2020 03:40 PM
    Dear Experts,
    I am new in this list and in EGL. our RBD is of V9.5.1. 
    I have a Rich UI web application on Tomcat8. I want to write message to a file inside EGL Program.
    Could you please forward instruction for how to implement it?
    Any instruction will be welcome: Samples, documents, books, EGL Generation Guide for V9.5, etc.

    Thanks,
    Eric

    ------------------------------
    Eric Zuo
    ------------------------------


  • 2.  RE: How to write to a file (log or my file) in EGL program

    InnerCircle
    Posted Mon November 09, 2020 01:22 AM

    Hi Eric,

     

    Here is a tutorial about file IO in RBD knowledge center: https://www.ibm.com/support/knowledgecenter/en/SSMQ79_9.5.1/com.ibm.egl.pg.doc/topics/pegl_core_fileio_tsk.html

    You can get more docs by searching file in the KC.

     

    Notice that, RUI cannot access file directly due the restriction of JS. You'll need to do the file IO in the backend EGL service.

     

    Regards,

    JiYong Huang

    Senior Technical Specialist

    RBD, HCL Software, HCL Technologies Ltd.

    Cell: +86-13426427893

    EGL Development User Group

     

    ::DISCLAIMER::

    The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only. E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents (with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates. Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of authorized representative of HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately. Before opening any email and/or attachments, please check them for viruses and other defects.






  • 3.  RE: How to write to a file (log or my file) in EGL program

    Posted Mon November 09, 2020 12:12 PM
    I saw this instruction in the user guide 5.1. not worked, and doubt it was because the version is tool old. your message confirmed the approach, and finally I find the correct way in following
    "4. In the Outline view, right-click on the build file, then click Add Part."
    I got it now.
    Thanks,

    Eric

    ------------------------------
    Eric Zuo
    ------------------------------