I am trying to update a bunch of items in a shared Exchange calendar, using WebDav.
What I want to do is rename events, similar to what I would do in SQL:
UPDATE appointments SET subject = 'New Name' WHERE subject = 'Old Name'
Is there a way to do this in a WebDav query?
Thanks.
you can use the BPROPPATCH method for this
Related
I'm trying to get the distribution list of people/members inside the Outlook add-in.
That distribution/contact list is not the "group" as it was created inside the "Outlook People" section using the option to create "New contact list" as described on the image below:
I can see that list is created and listed at "Your contact lists" like on the following image:
And it can be added as the recipient in the mail as can be seen on the next image:
But I couldn't find a proper API for getting that data neither using the OfficeJS nor the Graph API. I saw some suggestions to fetch the "groups" using the Graph API endpoint: https://graph.microsoft.com/v1.0/groups, but once again, this is only a (distribution) list of contacts, not a group.
I'd appreciate it if someone from the MSFT team has a suggestion on how to solve this by providing a solution for getting 3 things:
Get the list of distribution/contact lists
Get the members of a specific contact list
Check if the recipient has a mail or is just a contact list without a mail
Thanks 😊
I up your question as I'm also looking for the answer to your question, unfortunately I do not have enough reputation to increase the up value. Not sure if you have come to a solution?
I understand that you mentioned that the 'groups' here does not imply 'Memberships' in Outlook. Just wondering if you have tested the API and come to this conclusion? I tried this Graph Explorer, however I have permission issues so I could not verify.
Get the members of a specific contact list
https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http
Get the list of distribution/contact lists
https://learn.microsoft.com/en-us/graph/api/user-list-memberof?view=graph-rest-1.0&tabs=http
If 'distribution list' is 'contacts' under contacts folder as suggested by MSFT, will the following API work? https://learn.microsoft.com/en-us/graph/api/user-list-contacts?view=graph-rest-1.0&tabs=http
Thanks!
I've been tasked with creating a workflow in Dynamics 365 which can send emails (the easy bit). However, the email has a link to the record (also easy using the Record URL(Dynamic) attribute). However, we use Apps in our Dynamics instance and the link generated by the workflow using Record URL(Dynamic) doesn't include the app id and so when users click the link they are taken to Dynamics but are now outside the app.
My question is, is there a supported way to appending the App Id to the Record URL(Dynamic) attribute?
I've already searched for answers to this and cant find any. My solution was to create an Action which takes as input the Record and app ID, appends them and outputs them as an output parameter. This works to be honest, but I'm wondering if I'm reinventing the wheel and there is an easier way to achieve this.
Thanks and hope this helps anyone else with the same issue.
We can get the Application ID from Xrm.Utility.getGlobalContext();
The application ID is one of the properties that returned
var globalContext = Xrm.Utility.getGlobalContext();
globalContext.getCurrentAppProperties().then(
function success(app) { console.log(app.appId); }, function errorCallback() { console.log("Error"); });
For more details refer to Here
While we are waiting for MS to give the OOB option to choose Model driven app Id & embed in Record url of WF, I recommend you to follow Andrew Butenko’s workaround using Ultimate Workflow Toolkit to achieve it with no code.
This is basically using UWT custom step to append App Id with Record url on the fly.
Can I configure an alert when a TFS Label is created ? I don't find that option in the current predefined alerts. These are the ones I found:
And I want when a label is created:
Send an email notification.
No, this is not possible using the standard Alert features.
I created my own solution! I don't know how much access you have to your on-premise TFS instance, but you need to be able to execute t-sql scripts against the TFS mssql database. My solution is here: https://github.com/Antebios/tfs-label-notification
And when anyone creates a TFSVC label I get an email alert that looks like this:
Basically, I created a database trigger to populate a table. I query that table and send an email out, then mark the label as sent. I also have a trigger to delete form that table just in case the label gets deleted. I wrote the service in .NET Core just in case anyone wants to convert it to run within a container. Let me know if this helps or not.
I am working on mailchimp integration.
I need to pull campaign stats (opens and clicks) and put it in my local database.
Using mailchimp api i am getting the list of all the users with their action taken.
But my issue is how to keep data sync at all time.
Is there any way to skip that data from mailchimp api that i had synced already.
The problem is the entire data set can change between calls and there is no 'since' parameter... The only way to get an updated picture is to query all records and update....
Keeping stat "data synced at all times" really would just depend on your solution (have it query for updates when you/your users access that section...)
You could expidite the update process by keeping track of previous calls/updates with the timestamp (keep track of the timestamp and only update/add records that are newer than the last sync... )
As I said, there is currently no "since" command for the campaignEmailStatsAIMAll method (and no direct equivelent in the export API...)
A 'since' parameter would actually be a good feature... So if coding your own solution to track updates via the timestamp is undesirable, you may want to ask the question in the google group or post a feature request in the google code project:
http://code.google.com/p/mailchimp-api/
EDIT: I just opened the feature request as it may solve a similar issue for an upcomming project:
http://code.google.com/p/mailchimp-api/issues/detail?id=60
I'm trying to create a new entity and have it appear in the 'My Finances' and 'Personal Assets' areas.
I am able to create the entity without problems using CreateEntityRequest.
If I create the entity manually I get a list of the variuos areas where I can display the entity.
How can I do the same thing programmatically?
Thanks,
David
You'd have to manipulate the SiteMap to do that; that's not something that's done in the metadata of the entity itself.
I was able do get this to work using the Microsoft.Crm.Sdk.IsvReadiness.SupportingItems.SiteMap class that comes with the SDK in conjunction with ExportXmlRequest and ImportXmlRequest.
Thanks,
David