What Is Webify?
Webify allows you to display web-formatted content in-app when plain text is not enough. Webify can also be used with contextual variables for customizing the response an app user sees after a scan.
You can show HTML directly using standard W3C HTML tags. CodeREADr will render your HTML within the application just like a web page. If you are using an on-device database, you can load a full HTML page from a URL using the cURL tag. However, the cURL tag is not supported for online database services or postback services at this time.
How Does Webify Work?
The basic syntax of a Webify URL can contain one or multiple of the following:
- One cURL tag containing one URL
- And/or one HTML tag
- And/or plain text anywhere outside of the cURL and HTML tags
How Does Webify Look?
Webify in Service Description
<html> <head> <meta name="viewport" content="initial-scale=1" /> </head> <body style="background:#f3cd60;font-family:Lato, sans-serif;color:#373737"> <h1> <center> IMPORTANT <center> </h1> <p style="border:thin solid black;border-radius:25px;background:#efebe5;padding:15px;font-size:20px;padding-left:15px;margin-left:25px;margin-right:25px">This is a demo service that simply records scans. Visit the <a style="color:#00B1FF" href="https://www.codereadr.com">codeREADr</a> website to:<br><br>1. Create your own no-code, low code Services.<br><br>2. Prompt app users to collect supplemental data (photos, location, etc.).<br><br>3. View, filter and export your scans.<br><br>4. Integrate with other platforms or send scans to your servers.</p> </body> </html>
App Result: Description
Webify in Response Text (via Validation Pattern)
App Result: Scan Response
Webify in Response Text (via Database)
App Result: Response Text (as shown in Lookup)
Full-Screen In-App Window or Browser
If you want the app user to have the option to tap a button to view web content, the URL can open in its own full-screen window from a webify container if you include a prefix. In both cases, the app user can seamlessly continue scanning after closing the window or browser.
The codereadr:_blank: prefix will attempt to open it in-app but in a full view window.
The codereadr:browser: prefix will open it in the device’s default browser app (i.e. Chrome or Safari).
Combination and Hierarchy of Syntax
In the event you provide more than one format ( cURL tag, HTML tag and plain text), the app will only display one of the three based on the following precedence:
- cURL – the first choice when present
- HTML – the second choice when present
- Plain text – the third choice is plain text and is displayed when curl and HTML are both not available
Templates for HTML Response Screen
You can include the full HTML code in every field of a database or you can use a template. Using a template will substantially cut down the size of your database and make it easier to implement/change while achieving the same results.
Customize Response Labels and Colors
An added feature to customize the response to a scan, on the Advanced step you can customize the screen’s labels and colors (scan response) to best fit your intended response to the app user.
Web Content as a Service
In addition to the typical recording and validation Services offered, you can also create a Web-View-Only Service with our Webify feature. Webify will present to the app user an image (such as your logo) or Web page or a specific image or Web page if using contextual variables. Any of these contextual variables can be used: