As a software developer, I want to write app ( whether that is a desktop app, a library, a web app, an Outlook AddIn, a mobile app ) that is notified about any changes at SharePoint.
These changes could be a file was added to a folder or library, or a file might be updated, deleted, a folder was added or deleted or renamed etc, etc
Is there a way for clients to register for certain push notifications so that the app does not have to do pulls every set time interval (i.e every 5 minutes or so) in order to update its UI.
If so, what versions of SharePoint support this?
After spending few hours researching this, all I keep finding is push notifications to windows phone like this link
https://learn.microsoft.com/en-us/sharepoint/dev/general-development/how-to-configure-and-use-push-notifications-in-sharepoint-apps-for-windows
UPDATE
Targets are:
SharePoint 2010 and higher
Outlook 2010 and higher
App type: Outlook AddIn, so it is app running on a client (Outlook),
not a SharePoint app
App is running on same network, not an external network
App has SharePoint permissions that are same as whatever permissions
user has, nothing different than that
If you app can receive emails, then all versions of SharePoint support list and library Alerts. An Alert can be triggered on adds and edits of documents and list items. Alerts can be sent almost immediately, or in on a schedule in summary form.
https://msdn.microsoft.com/en-us/library/office/bb802949(v=office.14).aspx
Related
I am working on an application where I need to enable user to follow/subscribe to the documents. So, the user will get notified whenever there is a change in the file or folder that user is subscribed to. I am considering to consume SharePoint Rest API endpoint '_api/web/alerts' (Ref) to create document/folder level alerts within SharePoint 2016 environment. The abovementioned endpoint seem to work in SharePoint 2019/ Online (to at least get the alerts that user is subscribed to) but when I try to consume this endpoint for SharePoint 2016, It throws a 404 error:
Is this endpoint available in Rest API's for SharePoint 2016 or am I missing something? Or is there any other endpoint to create alerts in SP 2016 environments?
Is it possible to use Microsoft Graph in order to create subscriptions (and therefore - notifications) for changes in documents libraries across all SharePoint sites of certain tenant?
I need to be notified when a change is made to a SharePoint site of a tenant (e.g. a file was uploaded to the site document library).
Up until now, I was able to create subscription for changes in the default TeamSite by creating subscription with resource: drive/root.
But that's not enough, if I create another TeamSite then I can't find a way to receive notifications for its changes as well.
The same is true for communication sites - I can't find a way to get notifications for changes in them.
Currently, my AAD App is asking only for Sites.Manage.All permission, but if asking for more permissions can help then it's not a problem.
Is doing what I want possible? Or notifications are only supported for the default SharePoint TeamSite?
If receiving changes in push by subscribing to notifications isn't possible, then I guess I'll have to poll for changes by using delta links.. that should work for any SharePoint site, right?
This is not supported by the graph today. If you'd like to advocate for such a feature, please post it on uservoice. The alternative would be to subscribe to each drive individually.
We have created a customization to our site that needs approvals. When we go to the mobile application and the Approvals section, we see the item that needs approved but when we go to select the approval item, the following error pops up "Unsupported Protocol: The communication protocol used by the Acumatica ERP server to which you are trying to connect is not supported by the application. Make sure you use the latest version of Acumatica application." Our current site is running 17.206.0030. We can go to the approvals page thru the site and it works fine for the same custom approval. This error only occurs in the mobile application.
Mobile App Error Screen Shot
Last time I received the same error message in Acumatica mobile app, there was an issue with the changes, that I made in Mobile Site Map. Let me suggest to delete all Mobile Site Map customization files from the local website, restart the mobile app and try to open the Approvals screen on a mobile device.
If there will be no issues with the Approvals screen after you remove all Mobile Site Map customization files, you might consider applying different parts of your Mobile Site Map customization to determine what particular changes are causing this error. And in case of a Mobile Site Map customization built using MSDL, there is also a built-in option to enable MSDL interpreter logs, which are usually quite helpful to verify no errors have been produced by the MSDL interpreter.
I want to build a web api to deploy to Azure so that I can call it from a few separate web apps to collect user input.
The users wont be logged in, but I want to ensure that only the web applications can call the api. Thus I need some kind of authentication, and I am trying to understand my options.
In Visual Studio 15.5.4 I selected New Project-> Web-> Asp.Net Core Web Application->Web API
I am wondering how ensure that only my web applications can call the web api.
I tried clicking Individual User Accounts and was surprised to find a combo box with only one option/
Have I missed a setting somewhere for there to be a combo with only one option?
If I choose Work or School Accounts instead then there is another single option combo
The combo population for the Domain combo depends on my being logged in to Microsoft, and consequently the Active Directory domains that Azure can find associated with me.
Then using the Web Application template and work or school accounts then there is a choice of Cloud-Single Organization and Cloud-Multiple Organizations.
If I am using the Web Api template then only Cloud-Single Organization is available.
Is it possible to create an activity explorer in Sharepoint 2010?
By activity explorer I refer to the functionality of logging emails, phone calls, documents accessed (and time and who accessed/edited them) to specific entries in a database.
For example, I intend to export my current Access Claims Management database top a Sharepoint sever.
With each claim entered into the database:
I wish to log all relevant emails sent, and the user logs all relevant calls. This would require sending emails through the sharepoint front end I pressume?
For each claim a directory is created, where the user can store relevant documents to each claim. Is it possible to log / version control these documents?
Thanks in advance for any assistance or advice.
Noel
Quick answers:
-I wish to log all relevant emails sent, and the user logs all relevant calls. This would require sending emails through the sharepoint front end I pressume?
Yes, otherwise you would not be able to track them.
-For each claim a directory is created, where the user can store relevant documents to each claim. Is it possible to log / version control these documents?
Yes, you could employ a document library that creates folders automatically when an email arrives. Or you can pre-create and then any email sent to the document library will be displayed as a SharePoint item. You can enable versioning on any SharePoint list/document library.
You could then build an custom activity explorer that will display all these actions.