Viewing 1 replies (of 1 total)
  • Plugin Author Meitar

    (@meitar)

    Use the gdoc_query plugin filter hook. From the Other Notes page under the Filters heading:

    • gdoc_query – Filters the Google Visualization API query language query. The first argument is the string supplied to the query attribute, or false if no query was supplied. The second argument is an array of all the attributes and their values passed to the current invocation of the shortcode.
    • A common use case for this filter is to query a Google Spreadsheet using dynamically generated content, such as the email address or username of a logged-in user.

    Also, as you are trying to retrieve rows based on a string, you should quote the string in your where clause. See the Google Query Language Reference page for details about the correct syntax for a querystring.

Viewing 1 replies (of 1 total)
  • The topic ‘Using User Meta Data to return rows’ is closed to new replies.