Feature - Validating Links to Web Pages

Feature - Validating Links to Web Pages

Release Date: 2/10/2025
Versions: V8.5 and Higher
Beginning with this release, a program link (blue link image) that contains the string "://," which indicates that it is a URL of a web page, can be validated before being shown in the list of links.  If this validation option is selected for a link, before the list of links is shown, the URL will be validated on the web:
  1. If the link quickly fails validation, it will not be shown in the list of links.
  2. If the validation is successful, it will be shown in the list with the number of seconds it took to validate it.
  3. If the validation times out after 2 seconds, it will appear in the list with the number of seconds at timeout, followed by the word "timeout."
Here is an example of two program links that are not validated:
There is nothing in Date or Time for these two links.

Now, highlight the second link and press the Types... button.  You will be able to edit the definition of this link type:

Now, check the Validate on Web checkbox, as seen above, and save the record.  Exit back to the Item Inquiry screen, and re-enter the same item number.

When you view the links (Ctrl-L), the list will look like this: 

The yellow warning icon on the left and the word "timeout" in the Date or Time column both indicate that the validity of this link was tested, but it neither succeeded nor failed before it timed out.

Now let's edit the link type associated with the first link.  Highlight the first link and press the Types... button.  As before, check the Validate on Web checkbox, save the type record, escape back to the Item Inquiry screen and enter the same item number.   Press Ctrl-L again to view the list of links:

The first link no longer appears in the list.  That is because it quickly failed validation on the web.
Not all web links can be validated.  Only Program links (not User or System links) can be validated, and only those that have a non-blank For This File Only: entry, like "IMITMFIL" below:

Performance Considerations

When you select any record during Elliott processing that has Amigos (Notes, Attributes, Contacts, Links, and Events), it will prepare the lists of Amigos after specifying the identifier of the record and before displaying the record's information.  When there are no links that validate on the web, there should not be any lag.   If there is a noticeable delay, it probably means that one or more of the validations is taking a bit of time.  You can see how long each validation takes in the Date or Time column in the list of links -- except that failed links do not show up in the list.  You may want to change which links get validated to reduce some lag.  You should strike a balance between accuracy (why show a link that doesn't work?) and responsiveness.
Netcellent is developing some new, web-based functionality that requires two new default link types, IMAGEL for a standard link to an item's image and SPECL for a standard link to an item's specification document.  When your version of Elliott v8.5 or v8.6 is updated, these two new types will be added with Validate on Web checked, so they will not appear in the list of links unless they resolve to a valid link.  These new default links will fail quickly because, as installed, they point to a fictitious domain and that causes an almost instant failure.  As installed, these two new links should not cause any lag after you enter a record's identifier.

Author: JEG
Files: EL850EM, ELEMAIL, SYLNKLST



    • Related Articles

    • A Case to Optimize PSQL Query Performance with INNER JOIN SYCONTCT & SYCONREL Tables

      Release Date: 11/29/2023 Version: 7.x & Up Q - With our custom web application, we attempt to find an existing customer and associated contact when creating new customers via the Elliott web services. We are finding the customer just fine, but when I ...
    • A Case to Diagnose Elliott SOAP Web Services Errors with Log Files

      'Release Date: 08/15/2024 Modified Date: 08/23/2024 Version: 8.5 & Up When a web developer calls Elliott SOAP web services, he/she should place a try catch block so if there is an error with the web services call, the error can be caught at the ...
    • Elliott API (JSON REST Web Service)

      Introduction In the past, Elliott web services is based on SOAP standard since that is the first web services standard created for the industry. Since then, RESTful APIs (Representational State Transfer) have become the backbone of modern web ...
    • A Support Case of Investigating Elliott Database Performance Problem

      Release Date: 08/14/2018 A user reported that their shipping verification process has become slow. They noticed that the scanning has become slow over time, and are wondering if there is a purge or rebuild or something they could do to speed things ...
    • LK: Links API

      LK: Links Modified: 5/12/2019 Default links are established by the TB calls. The LK APIs provide additional links functionality. LK,00 Launch the Link whose type is in SCREEN-ALPHA-FIELD. LK,01 Add a temporary link. SCREEN-ALPHA-FIELD contains the ...