We have an alert set-up for sharepoint list, but I want to add some custom text to the alert email. We do not have any access to SPD or sharepoint server and can make changes to sharepoint client only.
Can anyone please advice?
The code that sends out emails runs on the SharePoint server via the Timer Job. Since you have no access to do anything with the server you've got absolutely no chance of modifying the built in alert emails.
Could you do this with javascript?
You can't send emails with JavaScript directly. You can open up a draft email in a users default email client using a mailto link but this won't achieve what you want as a user will still have to edit it.
You could, I suppose, put some javascript onto an edit page using a content editor web part (which you can do without SPD) to on changes make an AJAX call to a separate web server to do the actual sending.
Related
I am working on an Outlook mail app, which will be available to user on web only (not of outlook desktop).
A file need to be uploaded from app to azure via custom control in compose form of App, meanwhile the file is uploaded to Azure user should not be able to close the mail. If they try to do so, a warning should be given to them.
Adding to #Slava's answer, I would suggest using addAsync API for notification messages. You can add a notification of type progress indicator until your task is complete and replace it with a notification of type informational message.
Click here for reference
Unfortunately Office.js API does not have the feature you are inquiring. You will not be able to disallow user interaction, as such closing the compose window or closing your add-in. As the API doesn't have "OnSend" or "OnClose" events you will not be able to display any warning either. If this is the new feature you would like to add you may try to send request via Office Developers User Voice.
As the work around you should clearly indicate for the users that they need to wait and do not interup operation. You should display activity indicator, indeed. And finally you should be prepare user still interupt the operation in the middle and work properly with the error occur.
Hope this helps.
I have an xpage without any data source being used to compile a report. Now I want to send link of this page to different people at 04:00 PM everyday. I am using lotusScript agent to send an email. It's running perfectly fine for web link to open an xpage but notes client link its not opening the page. I am using IBM Notes 9.0.1. Below is the sample code from agent.
Call mailRT.AppendText(" For Web Link ")
Call mailRT.AppendText("http://172.17.5.36/sar.nsf/DailySummaryReport.xsp")
Call mailRt.AddNewline(2)
Call mailRT.AppendText("IBM Notes Client Link --->>> ")
Call mailRT.AppendDocLink(db,"Click to Open Daily Sales Activity System")
Call mailRt.AddNewline(3)
Call mailRT.AppendText("Best Regards, ")
Call mailRt.AddNewline(1)
Call mailRT.AppendText("notes://172.17.5.36/sar.nsf/DailySummaryReport.xsp")
I don't know what is appropriate way to open a an xpages from an email. if i use
Call mailRT.AppendText("notes://172.17.5.36/sar.nsf than it's open launching page of the application otherwise open view last viewed by the user( Call mailRT.AppendText("notes://172.17.5.36/sar.nsf/DailySummaryReport.xsp") ).
Kindly guide me the way forward.
Thanks,
Qaiser
I would send messages always a MIME. It gives you more flexibility in formatting and layout. Stick to the link approach since embedded forms are a security hazard. Start with the eMail bean (you can adopt it to an agent).
When your XPage opens with all the fields you need in edit mode, that's the URL you want to use. if you use http it would open in the browser, use notes it opens in the client.
Is it possible to send a text message or email automatically from a chrome extension triggered by an event on a web page? This is for notification within a company, it's not meant to be used by third parties so it's not a privacy issue.
One possible way that you could do this (if you have a webserver) is sending the user to a page that is hosted somewhere online, and run a PHP script that emails the user. You would have to use this method because:
You can't easily use PHP in a chrome extension
You can't send emails through Javascript/jQuery
I have a flash program sitting in SharePoint 2007, and I'd like to trigger a workflow (to send an email to the logged in user), but I don't really have any hooks to do that.
Can I reliably start a workflow by opening up a (fixed) URL?
Yes you can if you write a HTTP Handler that checks the request and starts the workflow. This article http://msdn.microsoft.com/en-us/library/bb457204(v=office.12).aspx can get you started.
When I make a meeting in Outlook, the recipient gets a approve/reject button in the top of the email. I'd like to do a similar thing with SharePoint: when a task is created, an email is sent to the person the task is assigned to, and the email asks the recipient to either accept or reject the task. I've seen demos of people doing this with a custom ASPx page, but I'd like to make it directly in the email. How should I go about doing that?
I'm used to making workflows in Visual Studio, so I'm happy with code examples for setting up an email and/or parsing the response
Cheers
Nik
The approve/reject buttons in Outlook shows up because the email is in the iCalendar format. I dont know if this is the best way, but you can send out your own iCalendar emails using C# code and set the response email to a mail server you control. From that mail server you can process the email and use the SharePoint WebService API to approve the item in SharePoint.
I like JMD's suggestion but I don't know how you'd interact with SharePoint from the mail server.
It might be a easier to send an HTML-formatted email with two links (...) for the Accept and Reject buttons. You could use CSS to format them so that they look like real buttons.
You could then create an ASPX page (or better an IHttpHandler implementation) to perform an action based on parameters passed to it via a URL. You'd want to pass in the site, web and list details and the list item ID along with a value to indicate whether the item is approved or rejected.
Then set the URLs of your "buttons" in the email to call your handler and pass in the appropriate parameter values.
The downside to this is that the "buttons" would be part of the message body and not part of the Outlook chrome but, on the other hand, they would be usable from any email client.