Outlook 2010 Add-in - sharepoint

I am writing custom code in Outlook Add-in using SharePoint Web Services to create a meeting workspace in SharePoint. Then I add a meeting to the workspace created.
Basically I want to mimic the functionality provided by Outlook itself.
The problem is after a meeting is created, I can not set the MeetingWorkspaceUrl property in AppointmentItem using my custom code. It says the property is read only.
But when I create a workspace using default Outlook functionality, I can see that MeetingWorkspaceUrl is set to a valid URL.
Can I do the same thing through custom code?

MeetingWorkspaceUrl is readonly in the Outlook API, you need to use EWS (AppointmentItem.MeetingWorkspaceUrl) to assign its value.

Related

Unable to find a way to sync an existing Shared Calendar in outlook to Sharepoint Online site

is it possible to sync an existing shared calendar in outlook to Sharepoint online site? I am aware of the way to connect a Sharepoint calendar back to Outlook.
As of now there is no way to get this done, the sync is not supported for SharePoint online. Also the overlay calendar for Exchange doesn't work in SPO( Exchange calendar issue) All you can do is build AAD app use outlook/Graph APIs get the information from Outlook and display it in SharePoint (Check this blog). If you want to display it in Calendar view you will have to use plugins like Full calendar to do that.

How to get SharePoint Online List data from Outlook VSTO Addon

I've developed a VSTO add-on for Outlook that my company uses which connects to a SQL database to read/write data. I'd like to change the data source to SharePoint Online since all employees have M365 accounts. This will also allow the add-on to operate outside of the corporate network.
If I setup a SharePoint online site with a few lists, is there a way to have the Outlook VSTO Add-on read/write from the lists?
Also, since the Outlook client is already authenticated, is there a way to bypass any sort of authentication and use the already authenticated Outlook client when talking to SharePoint?
No, you need to consider your add-in as a standalone .Net based application. You can use the SharePoint client object model (CSOM) to retrieve, update, and manage data in SharePoint. Read more about that in the Complete basic operations using SharePoint client library code article.

Is there a way to get sharepoint 2013 to automatically copy emails from outlook into a blog or other master list?

In my org, there's a team who controls some of our policy and procedure. It's currently announced and tracked through a series of emails to the team, but that's less than ideal.
I'm going to set up a sharepoint page on our site where we can house these change emails and revisit them in a centralized location. Is there a way to automate the process of taking the content of the email and creating an entry on a sharepoint page of it?
Possible solution:
1. At Sharepoint, create "email enabled" document library. This will allow you send emails to library email address, email letter will be stored in this doc library.
2. For this doc library, create event receiver and handle onaitemadded(read email body and create or update corresponsing Sharepoint page)

SharePoint Online - How to modify "Send email when Ownership is changed" settings using csom?

In my project I have to change the list setting using CSOM. The setting which I need to modify is "Send email when Ownership is changed"
I was not able to find a property or method in CSOM to modify this settings.
Is there any option available to update this settings?

(Sharepoint 2007) Send email notification to the current user as well as manager?

I have created one custom list.
whenever user add entry to it then email should be triggerd to the manager and the user who has added new entry.
I am using Sharepoint 2007.
Please help.How to do this?
There is more than one way to send that email.
I'd recommend to create a EventReceiver or a workflow.
See How to: Create an Event Handler Feature, Sharepoint Workflow Development (2 part question) and Good online sources to learn Sharepoint Development?
You can override the item added event to capture the information about the item being added and use SMTP mail to send the mail to multiple users.Also, you can use the SPUtility.SendEmail function provided by Sharepoint.

Resources