LK: Links API

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 type. SCREEN-MENU Contains the Template which may or may not contain variables of the format @@VARn@@.

Beginning 5/12/2019, the SCREEN-MENU may contain a file specification with wildcards, like U:\JIM\@@VAR1@@*.* .  

LK,02,nn,h

Modify the temporary link (previous LK,01 call).  

  • SCREEN-ALPHA-FIELD contains the type.  
  • nn = the variable number to replace
  • h = H means make the link bitmap red (hot).  
  • SCREEN-LITERAL contains the value for the specified variable.

This API can also work with Program links, for example, where the template can contain a file specification using variables.

LK,15

Validate the link; Screen-Answer will return "Y" if valid, else "N".

LK,91

Add a permanent link; otherwise, just like LK,01.

LK,92,nn

Add a permanent link; otherwise, just like LK,02,nn,h.

LK,99

Remove a permanent link created by LK,91 and LK,92.  SCREEN-ALPHA-FIELD contains the type.



    • Related Articles

    • Feature - Add Links Import to System Files Setup

      Release date: 5/8/2019 Version 8.5 and up Added a new menu option, System Utilities-> System File Setup-> Import-> Links. The menu has three options: Pre-Interface, Interface, and Layout. The Layout screen has the following columns: the Pre-interface ...
    • 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 ...
    • CV API

      Release Date: 10/31/2019 This API allows the programmer to determine whether or not thie current company's .DAT files have been converted to .BTR files. Screen-Parameters: CV Check the converted status for the current company. CV,nn Check the ...
    • Feature - Copy Notes, Attributes, and Links When Copying Item Through the New Item CSV Import

      Release Date: 5/1/19 Version: 8.5 and up When adding an item by using the F3=Copy Item function in Item File Maintenance, the user is prompted about copying notes, attributes and links based upon the setting in Global Setup -> Dist -> I/M Global ...
    • AP API

      AP API This API returns various values from the Shared Memory Area. For example: MOVE "AP" TO SCREEN-PARAMETERS MOVE "EDITOR" TO SCREEN-LITERAL PERFORM SCREEN-ROUTINE This returns the user’s preferred Editor in SCREEN-ALPHA-FIELD. The following ...