Template File: /var/www/html/wp-content/themes/livecloud2017/page-sidebar.php | Template Hierarchy

WP version: 4.9.3
PHP version 5.5.37-1+deprecated+dontuse+deb.sury.org~trusty+1


function cdb_lookUpValue(pInputA)


This function returns the value associated with a given key for a given cloud record.


  • pInputA (Array) – An array with the following format:
    • [“cdbTableName”] (String) – The specified table name.
    • [“cdbRecordID”] (String) – The record ID of the specified record.
    • [“cdbTarget”] (String) – The place to lookup the record, either “cloud” or “local”.
    • [“key”] (String) – The key to retrieve.


(String) – The value of the given key for the specified record.

Additional Requirements

This API call requires internet access to make cloud calls.

API Version

  • 0.3.1 – Introduced


local tInputA, tValue 

# Table name: clients
# Keys: firstName, lastName, age, income
# Record on the cloud in the clients table 
# with cdbRecordID "123456abcdef" and firstName "John"

put "clients" into tInputA["cdbTableName"]
put "123456abcdef" into tInputA["cdbRecordID"]
put "cloud" into tInputA["cdbTarget"]
put "firstName" into tInputA["key"]

put cdb_lookUpValue(tInputA) into tValue

# Output: "John"