For a while I have been looking for a way of using Data Validation drop downs in an embedded Google Sheet in Google Sites . Apparently in Classic sites you could configure the embedded site as a list ( although this didn't work for me at the time ) . However there doesn't seem to be a lot of control in an embedded sheet in the ‘New’ google sites .
Is there a way of allowing someone ( a domain user ) to select something from an embedded sheet in google sites . The sheet needs to be in a site rather than shared on its own.
Nb. i can use the rm=minimal option in an iframe and that works - but there is a loading / performance issue with that .
Many thanks in advance
Related
I have a google sheet with some data, say Roll Number and Name. Now I want to create UI for the google sheet with an text box name and have option search
When I enter name and click search, I should get all the records with that particular name.
How do I achieve this in google sheet? Any addons or scripts available?
Google Drive has a full featured API so you can consume its data from any application, in nearly any technology (Python, Javascript, PHP etc) using its Rest API.
I'm pretty sure no addons available from market to do it, so the solution would be to implement it yourself.
I want to create a custom google search for my site. My requirements are as follows:
I need a text box for search and two radio buttons(one for searching my site and other for searching web).
Depending on the radio button selected the results should be displayed.
I have a separate search results page ('/search').
I know how to create a simple google custom search. But this requirement of providing an option to search the site or web is a little tricky for me.
Please help
I was able to solve this issue.
I first created a search engine in https://cse.google.com/cse/ for my site and configured it to search the web in Basics tab-> Sites to Search option.
With this the search engine would search the entire web.
The code that I placed on the search results page had something this:
"gcse:searchresults-only as_sitesearch='site to search'"
This is a part of the code that google gives you.
Here the parameter 'as_sitesearch' will control which site is to be searched. When the radio button of Searching the web was selected I did not pass any value to 'as_sitesearch' and when the radio button of Searching my site was selected I passed the site url to 'as_sitesearch'.
This worked for me
So I've got a couple of different fusiontable visualizations in a google site:
https://sites.google.com/site/hlsbeta123123123123/
I am wondering if there is a way to link them so that when a pin in the map is selected the corresponding card is shown in the other iframe?
What I'd really like to be able to do is offer people a search over the fusion table via the google site, so that when somebody searched in the site search, they'd get back a list of hits in the map and cards, and have them all linked up together ... Any simple way to do this over paired visualizations or would this have to be custom site built on the fusiontables API?
I know fusion tables wizard:
http://fusion-tables-api-samples.googlecode.com/svn/trunk/FusionTablesLayerWizard/src/index.html
can provide something like this for a single visualization, but am unclear about linking multiple visualizations - maybe that's just completely impractical ...
Many thanks in advance
Cheers> SAM
p.s. Here's a current screenshot in case it the site changes :-)
It's possible, but instead of the iframe-map you must create the map on your own to be able to modify the default behaviour(opening of the infoWindow on click and load the filtered card instead).
It's not much difficult, the most of the src you will get with map->publish->get HTML and javascript
All you have to do is:
supress the infoWindows(set the suppressInfoWindows-option of the layer to true)
observe the click-event of the layer and load the card based on a unique col(Charity Number appears to be unique)
google.maps.event.addListener(layerl0, 'click',function(e){
document.getElementById('cards')//iframe-element
.src='https://www.google.com/fusiontables/embedviz?viz=CARD&q=select+*+from+1ZnLJPfdXgiD49s3JO9Vyhf0VPGgBnzs-985jT3s+where+col1+%3D+'+e.row['Charity Number'].value+'&tmplt=4&cpr=1';
});
Demo: http://jsfiddle.net/doktormolle/YVnus/
But actually showing the cards in an iframe forces a redundant request, instead you may fetch the contents of the infoWindow and insert them directly into the page.
I have website and added the google custom site search. It works fine and displays the results. The pages are stored in the database and allowed to edit by Administrator (as CMS solution)... How google search the content and displays from my database content? I would like to know the technique or method google follow?
Google does not have access to your database, only your web pages. It regularly crawls your web pages and indexes them, just like it would for its own search results. The only difference is it serves up results specific to your website to your website.
I want to create a search webpage which should display the Google results page as well as results from our intranet webpage. Can I design it using Google Custom Search Engine?
Not unless you expose your intranet to the public Internet for Google to index, which is probably not something you want to do.
They have services to index intranet content as well, but they might be a big costly.