I want to create new document from my client app , rather than from online is it possible to open word and excel client application when clicking New from Document library ?
Looking forward for your suggestion..thank you
As far as I know, there is no way to open word and excel client application when clicking New from Document library.
You could open the file in client only after it is created in online.
Related
I have a PowerApps application where I have a input form that stores data on a list on SharePoint.
That works great with "SubmitForm(form_1);" as it nicely creates a new record in the list on Sharepoint that is connected to that input form on the PowerApps apllication.
But now I have to do the same but instead of storing it on a list in Sharepoint I need to create a new record in a Document Library on Sharepoint.
When I connect that library to the application and try to do the same using "SubmitForm(form_1);" I recieve next error:"The requested operation is invalid. Server Response: Test: To add an item to a document library, use SPFileCollection.Add() clientRequestId: ...."
Is there a way to store a new record on a document library in Sharepoint using a input form on PowerApps?
Thanks in advance !
Kind regards,
Steven
I have developed an Office add-in. It contains an editor where users could type and save a text.
I want to realise a feature: 1) One option is, when a user closes a spreadsheet/document, I want to remind them of saving the text on the add-in (by simply clicking on a button of the add-in); 2) another option is, when a user closes a spreadsheet/document, the text on add-in is systematically saved.
In either case, we need to be able to listen to the event when a document is closed, or a browser tab is closed (if it is Office Online).
Does anyone know how to realize this?
There is no close document event API yet. You can make your API request here. The event to intercept document/tab/window close action is not possible consistently because the process itself could end and also JS APIs are asynchronous in nature.
The Word API offers save API that could be used to save the document. Word also offers document.saved (Boolean) API to check periodically and save the document if that matches the requirement. Excel also offers workbook.saved API (still in preview) but not the save() API.
i need to redirect the current user to a custom url after successfully uploading a document.
the user clicks "+ new document" in the document library
the user selects a local document
the document gets uploaded and in that moment after it is successfully uploaded and the item is created in the list, i want to redirect the user to a custom url
Normally after successfully uploading a document to a document library under SharePoint 2010, the user gets a modal dialog where he sees only the field "Name" with the filename.
I want to prevent this. How could i achieve this?
Update
Isn't it possible to redirect a User after Document uploading inside a Document Library to redirect from Upload Form to a custom page instead of Edit.aspx within ann EventReceiver?
I am really frustated! I am now trying for over 3 days to get it working.
Here is my sample solution:
http://www.bog1.de/downloads/errd01.zip
You must create a document library "doclib" to get it work.
But it does not work! I have used samples from several sites. I have added the logic inside the ItemAdded event. But nothing happens. I only want to redirect the user to another page after successfully adding a document to a library. Is this such a hard problem to get it work untder sp2010?
It seems, that it is not possible in SharePoint 2010 inside an EventReceiver to redirect to a SharePoint page withoug haveing a modal dialog as in CancelWithRedirectUrl.
We are having issues with word connecting to SharePoint to retrieve data even if we've downloaded a document from the site.
Here is how our process is setup
We work with documents and prepare them on the workspace
When done a publishing workflow copies the documents using SPFileCollection.Add(string urlOfFile, byte[] file, bool overwrite), http://msdn.microsoft.com/en-us/library/ms428630.aspx
The issue is when opening documents either directly from the published documents site collection or even if we download them to disk the word goes to the workspace site to fetch data (Word Phone Home).
This issue is related with the post linked below but I want to break the "phone home" behavior.
https://sharepoint.stackexchange.com/questions/19390/what-is-slowing-the-opening-of-office-documents
I am storing Infopath forms in a Sharepoint Document Library.
Because these forms are completed in a disconnected environment, the document library is used for storing the submitted forms (and other related documents). A web application also updates the Infopath documents.
The Infopath Template associated with the forms is installed on user's PCs as an msi.
I've noticed that if a user has one of the forms open from the document library (but not checked out),using the Copy web service to update the document returns a "DestinationCheckedOut" error. My question is, is there anything I can use to query Sharepoint to determine if a user has the file opened. I've used Lists web service and CheckoutUser but this only worked if document is checked out (not just open). I've also tried setting "Version Settings" to "Require documents to be checked out when edited" but doing so returns the error "Infopath cannot open the following file:.....The file is not a valid XML File" when the form by opened by a user.
I am going to handle the "DestinationCheckedOut" exception but wanted to have my code check for this scenario first before the update process is attempted.
Any help would be appreciated.
I don't know if there is any Web service that return the information you are looking for.
The server side object model calls are SPFile.CheckOutStatus and SPFile.CheckOutType ( http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfile_properties.aspx ). There are 2 types of "checked out" one when document is simply opened for editing and the other when it is explicitly checked out - you hitting the first one.