Google docs : does it exist some models in HTML or other webformat to publish a spreadsheet? - google-docs

I've tested the API of Google to interact with Google doc (Calendar, Spreadsheet, etc) and everything runs correctly. However, I wonder if there is a framework that implements some model in HTML or an other web format to publish/visualize a calendar or a spreadsheet within a web page. My goal is to integrate a spreadsheet/calendar into a web page and then a user can modify the values of this spreadsheet/calendar.
Does it exist something similar to my request?

For spreadsheets, the Google answer Publishing: Embedding a spreadsheet in your blog or webpage explains what you have to do. Especially the last sentence is important:
If you want to embed a form in a
website or blog, click the More
Actions button at the top of the
editor, and select the 'Embed' option
from the drop-down menu.
But don't forget all the steps listed above this.
For Google Calendar, there's Embed on your Website - Google Calendar, another answer from Google, that even contains a slideshow that shows what you have to do.

Related

SharePoint online - intercept document request when document clicked

I am working on this project where it includes hosted app with SharePoint online and a dozen of other things.
When they built the project, they implemented a functionality that does this :
When a user goes to a document library, and clicks on the name of a document of specific type, the user gets redirected to the hosted app where there is a logic to do something on the document.
What I am not able to figure out is :
How are they implementing the part of "when user clicks on document, user will be redirected to app" ?
I checked httpmodules and couldn't find anything, I also checked remote event receivers and couldn't find anything..maybe I am not searching properly in the large C# solutions they have, or maybe there is another way to implement this..I need help to figure that out.
You would typically add JavaScript to the library page that finds the <a> tags for the documents with your file extensions, and then replaces the "onclick" with your custom code.
You could also intercept the JavaScript function used by SharePoint and add your additional logic. (do a web search for "SharePoint coreinvoke")
Disclaimer: most of what you will find is for the "Classic experience". The SharePoint Online "modern experience" changes all of the rules!

Passing Parameters into Google Site Iframe Gadget

I'm trying to embed multiple items into a (new version) google site that take a parameter from another embed.
Is there any way to do this in new (not classic) google sites?
For more background:
We have one Tableau workbook that includes parameters the user can select. These selected parameters drive a handful of other unrelated Tableau workbooks and SSRS reports, all of which need to be on the same page.
It doesn't matter whether the user can select their parameters on the first page and then get driven to a second page with all the additional workbooks or whether the workbooks are all on the same page.
New Google Sites insert content from other site feature requires a URL but at this time there is no way to take a parameter from another inserted content.
As usual there is no official documentation on the official help about not available features. The related help article is Add text, images, & other content.

Want to put a button on a sharepoint page to sign document. I don't want users to go to the library

Just downloaded the docusign app for Sharepoint online. It's on an HR publishing site and the page is for all new hire documentation. I want to put a button on the page to associate with the specific document that needs to be signed. I don't want users to have to go into the library and use the docusign tab. Is there a way to do this?
I can't quite see how this will work.
The ribbon command will have some code behind it. Presumably it uses the Docusign API so if you can find the code, you will be able to see what to do. Or review the API docs.
On your page, you would need to trigger the same code on each icon but I assume that the icon already triggers an action (e.g. downloading the file or something), so you would likely need a second icon or link to trigger the docusign action instead.
Not trivial. And I couldn't find another similar issue on Google.

Writing to Google Docs Spreadsheets using Apps Script

I'm trying to integrate Apps Script into my website's (not a Google Site) order page so that a user's order can be written to a Google Doc spreadsheet. I don't know how to go about this because the Apps Script documentation says Apps Script can only be developed and embedded in Google Sites Pages. Is there a way I can achieve this even though my site isn't a Google Site?
I'll appreciate any help at all very much, thanks in advance.
You can write a regular HTML form (not in Apps Script) and set method='post' action='the script url'. That will invoke your script with the data from the form passed into the doGet as parameters.
You can create a data capture spreadsheet, and create a Form for it. You can "clone" the form (field names and form action) into your web site.
Your spreadsheet can have an onFormSubmit action (https://developers.google.com/apps-script/understanding_events) which does whatever you need with the submitted data.

How do I insert a Google Document into a Google Site using Google Apps Script

Using Google Apps Script, how can I accomplish the same as "Insert" -> "Document" within the Google Sites Editor?
Using GAS, I can obtain the URL and/or the ID of a document, but I cannot create the equivalent of an embedded Google Document within a Google Site Page.
I have been able to insert an <iframe>, but that assumes that the document has been published as a web-document.
I can copy the html from an existing page and using replace() substitute a different ID, but that only appears to work if the original page gadget has borders and title turned on.
I think the approach you mentioned should work. Have a 'template' page with a dummy Google Document inserted in it and then use Apps Script to replace the dummy with your document. Can you put in some code around the replace you have.

Resources