What are the urls to create new documents in google docs or google drive?
When Google Drive was launch some of the links that can be found on some blogs on the net are now invalid.
Here are the links that I've tested which works (As of June 1, 2012)
Create New Google Documents
https://docs.google.com/DocAction?action=newdoc
Create New Spreadsheet
http://spreadsheets.google.com/ccc?new
Create New Presentation
https://docs.google.com/DocAction?action=new_presentation
Create New Drawing
https://docs.google.com/drawings/create?hl=en
If you want to work with Google Docs programaticaly, you should use the GData API. Google provides clients in a number of different languages.
Related
Is there a way for Google Apps Script to open a password-protected Excel file if the password is supplied when getting the file? I don't see any DriveApp method that accepts a "password" parameter.
If not, then can this be implemented using the Google Drive API? Is there a "password" key I can use in an "options" object of a gapi.client.drive.files.get() or a similar method?
No, that is not possible with Apps Script or Google APIs at this time.
You can always file a feature request in Google's Issue Tracker with something along the lines of "Support Excel Password functionality in Drive / Sheets API". From what I could see, there are no existing feature requests for this isssue.
The latest news that I could find, that Google have published about password protected files is this blog post, which mentions that now you can preview password protected items in Drive.
The guides Google provide here and here regarding Microsoft Office files detail the functionality that is available. Yet none of it refers to Apps Script, APIs or passwords.
The only possible workaround I can think of is to un-protect them with VBA or other language before they are uploaded to Drive, or send them to an app that can deal with them and send them back (I know, that may be painful).
I am trying out the features of Knowledge connectors in Dialogflow Enterprise Edition. Where I have tried adding documents from storage-bucket with both CSV and HTML format and it works as expected.
But when I tried accessing documents from Google Docs or from Google Sheets it throws an error saying 'Fail to crawl'. I assume this is due to lack of permission, please let me know is there a way to read it from Docs or sheets directly if so how to do that.
Dialogflow currently does not support this. The workaround is to convert the Google Sheets into a CSV and importing into Dialogflow.
https://dialogflow.com/docs/agents/knowledge-connectors
I have a Azure logic app that looks up for new tweets with an specific hashtag, but I can't figure out how to insert that tweets into a Excel file. I have seen a Google Sheets option, but I want to do it Excel Online.
There is no out of box excel online connector available as of now. You can always vote for the new features
https://feedback.azure.com/forums/287593-logic-apps/category/145803-connectors
We're doing a top-down redesign of an existing website.
Since there a number of years of great data we do not want to lose, should we remain within the same Property, move to a new one, or create a new profile within the same property?
Any help would be appreciated!
Use the same property as the old website and create an annotation for when you launch the new site. While you're in there, I'd create a new Universal Analytics property. Universal Analytucs is still in beta, but it's going to replace Google Analytics so you could get familiar with it by dual-tagging your website - https://support.google.com/analytics/answer/2817075?hl=en
If you're really feeling adventurous, you can check out Google Tag Manager to manage both your Google Analytics and Universal Analytics implementations - http://www.google.com/tagmanager/
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.