I‘m want to look and edit a onedrive file where I have the share link to. I found microsoft graph, but there I only can access to my files. Is it possible to look/edit this files where I have the link without a login? I do everything with javascript
Add permission using azure ad
edit
user.read
app->>api permission->>add a permission->>microsoftgraph->>select the permission->>add
Related
I want to write php code to upload files to google drive and share link. I need to integrate this to my website. so users can upload files to google drive and once they uploaded I can receive file link.
is this possible? are there any github sources to start? I am seeking help to get right start. please advice if anyone has done this before?
I understand that you want to write a PHP code to get the file link from data uploaded to Drive. If that is true, then you should explore the Drive API PHP reference. You can see an example code in the Drive API quickstart and use it as a model.
To get the data from the uploaded file you can use get and read the variables webContentLink and/or webViewLink (for the download link and the view link, respectively). Please, remember to use * on the request parameter fields to receive all the data. Don't hesitate to ask me further questions to help you better.
I want to create a website to share files to a WhatsApp chat.
This should be possible in chrome by using the Web Share API https://developers.google.com/web/updates/2019/05/web-share-files The demo in the description works but only with files uploaded with the form. In my case, the files are already on the server.
Has anyone done this before and can help me with the code?
Thanks!
Daniel
I have been wondering for a while if there is a way to view (lets's say a *.pptx) file in a browser. Imagine Dropbox's feature. I'm making a Content Sharing System and it would be wonderful if a user could see his *.docx or *.pptx or whatever microsoft office file. I found this but it is paid.
Try out OneDrive.com or OneDrive for Business within Office 365. There you can view and edit files online. You can also use SharePoint to display files online.
If you want to embed the doc in your own website, try this Project on github, https://github.com/officedev/pnp-wopi.
HTH-Oliver
In outlook, there is a feature “Home page address” of folder through which we can view web site within the outlook. If we set http://app.abctest.com in the Home page address of a folder, then when we click this folder in the outlook, it will display that page.
I have a very specific requirement for enabling end user to browse a web site (in my case, it basically lists some archived emails) within from the Outlook. This can be easily done by setting the “Home page address” in the properties windows of any Folder of Outlook.
The user will see the page within outlook. He can search the old archived emails in the page. Then, the users should be able to download that email and save it to a folder in outlook. End users are basically searching the emails within outlook and downloading them from the server directly to their outlook folder. When user click the download\save link or button, then the outlook’s “Select Folder” dialog should appear where user can select the destination folder. When user click “OK” button, that email should be save to the selected folder in the outlook.
Currently, I have very few solutions but not sure if they can achieve the goal.
Solution 1: ActiveXObject
I tried to use Outlook ActiveXObject in javascript (used the following code in my test page) but I got the following Script error Popup message.
“Automation server cannot create the object”.
Javascript code:
var objO = new ActiveXObject('Outlook.Application');
Solution 2: Javascript API for Office
I have started to read the MSDN documentation https://msdn.microsoft.com/en-us/library/office/fp142185.aspx but have not got any sample code.
Could someone please sheds some light on it? Or what would be the best solution for this? Or any alternative solution.
Prakash,
Only one instance of Outlook can be run at the same time. Try to use the GetObject function instead to get the running Outlook instance instead. See How to programmatically create an Outlook home folder page in the Outlook Today style for more information. However, home page scripting is limited and secured to prevent malicious software. I'd suggest developing an add-in which can add a custom form instead.
The second solution listed above is for Mail Apps. See How to: Create your first mail app for Outlook by using Visual Studio for more information.
When your script runs inside a folder home page, window.external.OutlookApplication will point to an instance off the Outlook.Application object - your should be able to use it without creating a new object.
I have a website that uses twitter bootstrap and I would like to add a place for "shared files" (word docs, videos, etc) that each user who uses the application can upload their own files to and it can be shared among users of the entire website. Everyone can view each file. The first thing that came to mind is a youtube account, where you can upload a video and then see all of your uploaded videos and everyone else can view it. I need this, but for all types of files and any user of the application can edit it.
By myself, I'm not sure how to achieve this, so I was searching for a plugin. Obviously I'm not sure if something like this has a particular name so all of my google searches have so far come up empty. Does anyone have any suggestions? Does the functionality I want have a name?
Thanks!
Dropbox.com comes to mind.
They have an API chooser where users can upload through the web site:
https://www.dropbox.com/developers/dropins/chooser/js
How to share files and folders
https://www.dropbox.com/help/274/en
Look through their Sharing Q&A
https://www.dropbox.com/help/category/Sharing