If you have access to the user name, then you should be able to add it to
the query.
On Sunday, August 31, 2014 12:57:12 PM UTC-4, Craig Pearce wrote:
>
> Sorry, was editing title but then got distracted.
>
> Should be something like "Can queries be specific to the logged in user?"
>
>
>
>
> On Sunday, August 31, 2014 10:56:17 AM UTC-6, Craig Pearce wrote:
>>
>> If all my data is stored in a google spreadsheet and specific users need
>> access to their own data, is there a way to build this into the query? I
>> could switch the data so that each user had their own spreadsheet, and
>> therefore a specific URL could be used, could this be built in (if the
>> above can't)?
>>
>>
>> google.visualization.drawChart({
>> "containerId": "visualization_div",
>> "dataSourceUrl": "spread sheet URL",
>> "query":"select G, count(H) group by G", Can a user name somehow
>> be built into the SQL query?
>> "refreshInterval": 5,
>> "chartType": "PieChart",
>> "options": {
>> "alternatingRowStyle": true,
>> "showRowNumber" : false,
>>
>
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.