Kullanıcı Kılavuzu

Open In Browser

Open In Browser

Kuika's Open In Browser action allows you to open a URL, such as a web page or email link (mailto:), from your application in the default web browser. This redirects the user to the specified link in a new tab or the current page.

However, when using the mailto: protocol, a browser-based Gmail or similar web email client may open instead of the email app; the device's local email app may not automatically launch. Therefore, the Open In Browser action is more suitable for web-based redirects. If you want to open the local email application on the device, we recommend using Kuika's Mail To action.

Technical Features

  • Protocol Support: Links such as http, https, and mailto are supported.
  • Opening Direction (Target): Allows you to specify whether the link should open in a new tab or on the current page.
  • File Support: Files such as PDFs or media can be viewed directly in the browser.
  • Web and Mobile App Support: Can be used in web and mobile apps.

Open In Browser Action Application Steps

1. Define the Action in UI Design

  • Open your project on the Kuika platform.
  • Go to the UI Design module and select the screen you want to link to.
  • Create a button such as ‘Open Link’.
  • Select the button and add the Device → Open In Browser action from the + ADD ACTION menu according to the trigger event you want (e.g. Initial Actions, OnClick, OnBlur).

2. Configure Action Parameters

  • URL: The web address or email link to be opened (e.g., https://www.kuika.com or mailto:support@kuika.com)
  • Open As (Optional): Specifies whether the link will open in a new tab (New Tab) or in the current page (Current Page).
  • These fields can be defined dynamically via the Symbol Picker or as fixed (Fixed).

Use Case: Opening the Terms & Conditions Page in a New Tab

In an application, users want to quickly access the ‘Terms & Conditions’ page when registering or making a purchase. When they click the ‘View Terms’ button, the relevant web page opens in a new tab.

Steps to Add the Open In Browser Action

  1. Enter the UI Design module and drag a Button element from the left panel and drop it where you want.
  2. Enter the following text in the Label section of the button: View Terms
  3. Select the button and add the following action from the + ADD ACTION menu: OnClick → Device → Open In Browser
  4. In the action configuration:
    • URL:https://www.yourdomain.com/terms-and-conditions
    • Open As: New Tab

When the user clicks the ‘View Terms’ button, the Terms & Conditions page opens in a new browser tab and the user can review the content without leaving the current page.

Open In Browser Action Advanced Customisations

  • Dynamic URL Usage: Links can be changed according to user selection.
  • Conditional Redirection: Users can be redirected to different pages based on their role or status.
  • Email Trigger: An email can be automatically sent to a person using mailto: (e.g., mailto:info@kuika.com).
  • File Opening: PDF, image, or other format documents can be opened directly in the browser.

Technical Risks

  • Browser Restrictions: Some browsers may prevent new tabs from opening.
  • mailto Compatibility Issues: mailto: links may not work if the user's device does not have an email application defined.
  • Incomplete URL Format: URLs entered without http://, https:// or mailto: may not work.

The ‘Open In Browser’ action is a practical and effective solution for redirecting users to external content, displaying help documents, or opening an email client in Kuika applications. It stands out as a fast method for link redirections that support the application experience.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar