I am trying to get .net to generate calendar appointments to user’s outlook such that the recipient would get a meeting request.
All the examples on the web have a standard message/ email object with an .ics attachment that contains the meeting details.
This is not good because I require the inbound outlook interaction to not be a message in the inbox , but rather an appointment in their calendar.
Secondly, these appointments can contain attachments similar to standard messages/ emails.
Is this possible with native .net? how about third party libraries?
The format for publishing calendar data is iCalendar (its like smtp for calenders and is used in most Outlook style applications.
I tested DDay.iCal library for this and it worked fine for me.
http://sourceforge.net/projects/dday-ical/
It produces a stream formatted in iCalendar format which can be saved to disk, emailed, or returned from a web site. In your case if you are SMTP then attaching an iCalendar format file as an attachment should do the trick.
Related
My organisation is using Google Chat for internal communication. In one of the group in the app I am sending the report of daily automation test run using webhook. Currently the report consist of only text message containing the pass/ fail count.
But I want to send the html report as well with that. I could not found any source which tell the information about how to send the attachment in the bot messages in Google chat.
Please help me if someone knows how to send the attachment report using Google Chat Bot or Webhook.
Per documentation, Bots have limited message types they can send. (Only simple text, or Cards)
I would suggest sending a link to download the report, which is feasible with the bot. See Including links in message text
I have created 5 Reports for a specific service which I would like to send out by mail using the scheduled report function. I could send out one report easily to my mail, but sine the field for the reports is a single selection field I am afraid that I can only send out one report at max per mail.
Is there any way to group my reports or any other workaround?
Thank you in advance
To reduce report-related email volume, you can schedule multiple reports to be sent in a single email. Each report is included in the email as an attachment. Other than email attachment limitations, there is no limit to the number of reports that can be added to a single email.
To schedule multiple reports, use the 'Included in Email' related list to create additional scheduled reports.
To expand on the answer from Siri, it's a bit convoluted but can be done.
See these KBs
Fuji and earlier: https://wiki.servicenow.com/index.php?title=Scheduling_and_Publishing_Reports#Scheduling_Multiple_Reports
Genava: https://docs.servicenow.com/bundle/geneva-performance-analytics-and-reporting/page/use/advanced_reporting/task/t_ScheduleAReport.html
They are the same process, but from the Fuji example
To reduce report-related email volume, you can schedule multiple
reports to be sent in a single email. Each report is included in the
email as an attachment. Other than email attachment limitations, there
is no limit to the number of reports that can be added to a single
email.
To schedule multiple reports:
Navigate to Reports > Scheduled Reports.
Click New.
Define the report as described under Scheduling Reports.
Save the record.
Use the Included in Email related list to create additional scheduled reports.
Each report you add to the Included in Email related list must have its own schedule. This allows you to send different reports to one or more of the recipients of the previously identified reports, each with its own schedule.
Click Update.
I need to send fax through my web application.
after grooming all sites, i found that so many similar questions.
but still I'm confused.
My requirement is.. i want to send FAX with attachment using outlook, similar like sending an email with attachment using SMTP (by clicking on button).
I think by using SMTP we not able to send FAX.
Could you please suggest me, Can we send FAX using any open source API?
Anyone have experience with this?
please share sample code in this is highly appreciated.
You can send faxes via API using a service like InterFax, they have libraries for ASP.net as well as either SOAP or REST APIs. It appears to be free.
we're looking at integrating our in house (simple) CRM system with Exchange. I have worked with OWA in the past for email readers (so we can read emails in a mailbox and then process the contents if they have a set keyword and reference). I have not tried working with calendars though.
I have created .ics files and mailed them to the user for creating calendar entries before, but that is not idea. What we would like it to be able to add an entry to a users calendar. We would also like to update the OWA calendar entry if the details change in CRM. Lastly ( and I feel most unlikely) is update the CRM appointment if the OWA appointment changes. there are additional field and follow ups we have from an appointment int he CRM system so we do need a record in CRM.
is this possible?
can anyone point me at some documentation please?
i'm currently using https://exchangeserver/ews/exchange.asmx for the email reader.
we're
For Office 365, you can create/modify/delete/read calendar information that shows up in OWA, using Office 365 Calendar REST APIs. See here for getting started for .NET development.
If you need to support on-premises Exchange as well, you can use our older SOAP API - Exchange Web Services. This is what you are calling at present for your email reader. Best way to call EWS for .NET is using EWS Managed API (GitHub, Reference). You can also take a look at code samples for EWS Managed API to learn about accessing calendar.
I am working with Dynamics CRM 2011 on premise. I wanted to find out how we can open a particular contact using a URL by using a phone number.
The URL looks like this:
server/organization/main.aspx?etc=2&id=%7b203C4B46-5822-E211-B26E-000C295CF877%7d&pagetype=entityrecord
I wanted to know how this ID is created and whether using the search field like phone number this ID can be found/called.
I found a similar question posted to the Microsoft Dynamics CRM community forum. There was a useful response from a Microsoft CRM support engineer. I'll quote it below.
https://community.dynamics.com/crm/f/117/t/87837
In order to open a specific record in CRM you must provide the unique
identifier for that record type.
So for account records it would be accountId. You would not be able to
build a URL for an account edit form that provides some other value
for some other attribute and have it open a specific record.
The Microsoft Dynamics CRM SDK provides a section specifically for how
to open records by building a URL.
http://msdn.microsoft.com/en-us/library/gg328483.aspx
How you get to a specific record in CRM depends upon in what context
you are accessing CRM data.
If you are in the web client, you could use Advanced Find to look for
Accounts and add a filter condition to search for records with a
specific telephone number.
If you need to open a CRM account directly by only knowing the
telephone number for an account, again you would need to leverage the
CRM SDK.
You could create an HTML web resource and in the query string for the
HTML web resource provide the data to identify the account (in your
case some telephone number). On the HTML page you could have some
onload javascript that calls into the OrganizationData.svc ODATA
service and query for accounts based on the criteria you have provided
on the query string, then you could build up the URL for the account
(since now you have access to the accountId) and redirect from your
HTML web resource to the URL for the account.
The ID is assigned by CRM at creation. You will need to search for the ID first using web service methods (specifically a RetrieveMultiple), then you can just build up the url.
This thread has an example of doing this in CRM 4: Retrieving a single Guid in CRM 4.0.
Then you will just need to build a version using the CRM 2011 SDK (though you could use the CRM 4 methods as they are still supported).
Resources:
Build Queries with QueryExpression