Forums

Find answers, ask questions, and connect with our
community all around the world.

Home Forum Omnis General Forum Close/Exit/Kill Omnis

  • Close/Exit/Kill Omnis

    Posted by Obonye on August 26, 2024 at 10:41 am

    Hi Everyone,

    Which command can I pass to exit Omnis while entering data in a remote form? I have tried the following line of codes but none of them would close:

    1. Close library

    2. Do $libs.email_payslip.$close

    3. Do $tasks.Startup_Task.$close

    4. Do $cwind().$close()

    How do I kill Omnis web development with a Do command?

    Kind regards, Martin

    Deleted User replied 11 months ago 4 Members · 8 Replies
  • 8 Replies
  • Götz Krija

    Member
    August 26, 2024 at 11:58 am

    Hi Martin,

    add a new method to the Startup_Task of your library, e.g.: $quitomnis

    Add the following code to the method: Quit Omnis (Force quit)

    In your RemoteForm you can call the method as follows: Do $itasks.[$clib().$name].$quitomnis()

    Götz

  • Götz Krija

    Member
    August 26, 2024 at 12:41 pm

    It looks like it is not necessary to execute the command in the Startup_Task. Just execute the following directly in your RemoetForm: Quit Omnis (Force quit)

    Götz

    • Obonye

      Member
      August 26, 2024 at 1:19 pm

      I have done Quit Omnis (force quit) but still the remote form remains open. If I click on the button to quit Omnis, a server communication error is returns and the window remains open with the data showing. I have created a button that a user can click on and the remote form closes itself just like clicking on the ‘x’ close button on top-right-hand-corner of the browser closes the browser and omnis also closes.

      • Götz Krija

        Member
        August 26, 2024 at 1:52 pm

        <div>The ‘Quit Omnis’ command can be used to close Omnis (the Omnis server or development environment). It cannot be used to close the browser or the browser tab.</div>

        What you can do is to display a different RemoteForm, e.g.: Do $ctask.$changeform(‘jsLoggedOut’)

        • Obonye

          Member
          August 26, 2024 at 2:00 pm

          Correct! I simply open a blank remote form and problem solved. Smart thinking right here. Thank you, biggly!

  • Andreas Pfeiffer

    Administrator
    August 27, 2024 at 7:02 am

    Hi Martin,

    I wonder why you would want to close the Omnis server? That means someone would need to re-start it again when the next user wants to connect to your application.

    If you just want to log out from the application and your first form is the logon form why not simply refreshing the browser using a button? You could do the following in a $event method of a button: Make the $event method client executed (context menu) and use this code:

    On evClick

    JavaScript:location.reload();

    That would refresh the browser and hence it would go into the first form, which is hopefully the logon form.

    Best,

    Andreas

  • Deleted User

    Deleted User
    September 5, 2024 at 5:32 am

    Mobile app development in seattle?

    Mobile App Development in Seattle : Unleashing Innovation in the Emerald City

    Seattle, known for its iconic Space Needle, lush greenery, and vibrant tech scene, is also making waves in the world of mobile app development. As the city continues to grow as a technological hub, businesses and startups alike are discovering the myriad benefits of tapping into Seattle’s thriving app development ecosystem. Here’s why Seattle stands out as a premier destination for mobile app development and how ROI Apps can help you harness the city’s innovation for your next big project.

    Why Seattle?

    1. A Thriving Tech Ecosystem

    Seattle is home to tech giants like Amazon and Microsoft, which have transformed the city into a bustling tech epicenter. The city’s rich pool of talent, from seasoned developers to innovative engineers, ensures that mobile app projects benefit from cutting-edge technology and industry best practices. This tech-savvy environment fosters creativity and drives advancements in app development.

    2. A Hub for Innovation

    Seattle’s startup culture is renowned for its dynamic and forward-thinking approach. The city hosts numerous tech meetups, hackathons, and industry conferences, offering endless opportunities for networking and collaboration. This vibrant atmosphere fuels innovation, making Seattle an ideal location for developing groundbreaking mobile applications that can disrupt markets and capture user interest.

    3. Access to Top Talent

    The city’s renowned universities and coding bootcamps produce a steady stream of skilled professionals. Institutions like the University of Washington and Seattle University provide a pipeline of fresh talent, while established tech professionals bring years of experience to the table. Whether you’re looking for expert developers or creative designers, Seattle’s talent pool is both deep and diverse.

    4. Quality of Life

    Seattle’s exceptional quality of life is a significant draw for tech professionals. With its stunning natural beauty, diverse cultural offerings, and thriving food scene, the city provides an attractive lifestyle that helps retain top talent. This quality of life contributes to a motivated and dedicated workforce, which can positively impact your app development project.

    How ROI Apps Can Elevate Your Mobile App Development

    At ROI Apps, we understand the unique advantages Seattle offers for mobile app development. Here’s how we leverage the city’s strengths to deliver exceptional results:

    1. Tailored Solutions

    We take pride in our ability to offer custom solutions that align with your specific business needs. Whether you’re a startup seeking a Minimum Viable Product (MVP) or an established company looking to innovate, our team of experts in Seattle will work closely with you to craft a strategy that maximizes ROI and drives your app’s success.

    2. Cutting-Edge Technology

    Seattle’s tech scene is at the forefront of technological advancements. By staying updated with the latest trends and tools, ROI Apps ensures that your mobile app incorporates the most current technologies and best practices. From AI and machine learning to augmented reality, we utilize cutting-edge solutions to enhance user experiences and functionality.

    3. Agile Development Process

    We employ an agile development methodology that emphasizes flexibility, transparency, and continuous improvement. Our iterative approach allows for regular feedback and adjustments, ensuring that the final product meets your vision and adapts to evolving market demands.

    4. Local Expertise

    Being based in Seattle, we have a deep understanding of the local market and user preferences. This local expertise allows us to design and develop apps that resonate with Seattle’s diverse user base and integrate seamlessly with regional trends and technologies.

    Mobile app development in Houston combines innovation with a burgeoning tech scene to deliver cutting-edge solutions for businesses and startups alike.

    Success Stories

    Seattle’s mobile app development landscape is rich with success stories. From innovative health tech solutions to engaging entertainment apps, the city has been the birthplace of numerous impactful applications. Partnering with ROI Apps means tapping into this ecosystem and contributing to Seattle’s legacy of tech excellence.

    Conclusion

    Seattle’s dynamic tech environment, innovative culture, and access to top-tier talent make it a prime location for mobile app development. At ROI Apps, we harness the city’s strengths to deliver mobile solutions that drive business growth and user engagement. Whether you’re embarking on a new project or seeking to enhance an existing app, Seattle offers a wealth of opportunities, and ROI Apps is here to help you seize them. Let’s build something extraordinary together in the Emerald City.

    For more information on how we can assist with your mobile app development needs, visit ROI Apps and get in touch with our team today.

Log in to reply.