<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://sharepointblog.virtosoftware.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Virto SharePoint Blog</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Debug Build: 40407.4157)</generator><item><title>How to terminate all faulting SharePoint workflows</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/03/11/how-to-terminate-all-faulting-sharepoint-workflows.aspx</link><pubDate>Thu, 11 Mar 2010 10:02:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:52</guid><dc:creator>Oleg [Virtosoftware]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=52</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/03/11/how-to-terminate-all-faulting-sharepoint-workflows.aspx#comments</comments><description>&lt;h2&gt;Business Challenge &lt;/h2&gt;
&lt;p&gt;This topic shows&lt;b&gt; how to terminate all faulting workflows in the current list.&lt;/b&gt;&lt;br /&gt;If an error occurs or a &lt;b&gt;workflow stops responding&lt;/b&gt;, you should open the workflow status page and select &amp;ldquo;Terminate this workflow now&amp;rdquo; link. This solution will not work if you have hundreds or thousands of list items. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7674.sharepoint_5F00_faulting_5F00_workflows01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7674.sharepoint_5F00_faulting_5F00_workflows01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We will describe the instructions on how to create a new SharePoint Designer workflow that terminates all faulting workflows in the current list, but first, let&amp;rsquo;s address some important points:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;b&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; What does &amp;ldquo;Terminate this workflow now&amp;rdquo; link do? &lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; How can you retrieve the collection of the workflow objects that represent the item&amp;#39;s workflows?&lt;br /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; How to execute a code from SharePoint Designer?&lt;/b&gt;&lt;/p&gt;
&lt;h2&gt;What does &amp;ldquo;Terminate this workflow now&amp;rdquo; link do? &lt;/h2&gt;
&lt;p&gt;It&amp;rsquo;s recommended to use brilliant .NET Reflector to get .NET source code. When a user clicks on &amp;ldquo;Terminate this workflow now&amp;rdquo; link, SharePoint calls the &amp;ldquo;WrkStatePage .OnClick_HtmlAnchorEnd&amp;rdquo; method (see the source code below).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0804.sharepoint_5F00_faulting_5F00_workflows02.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0804.sharepoint_5F00_faulting_5F00_workflows02.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can see that the code checks for the workflow status, calls &lt;b&gt;SPWorkflowManager.CancelWorkflow &lt;/b&gt;method and returns status to Web UI. &lt;br /&gt;&lt;br /&gt;We can get workflow status from SPWorkflow.InternalState property and cancel workflow with&lt;b&gt; SPWorkflowManager.CancelWorkflow&lt;/b&gt; method.&lt;/p&gt;
&lt;h2&gt;How can you retrieve the collection of the workflow objects that represent the item&amp;#39;s workflows?&lt;/h2&gt;
&lt;p&gt;&lt;b&gt;SPListItem.Workflows&lt;/b&gt; property will allow you to retrieve the collection of the workflow objects that represent the item&amp;#39;s workflows.&lt;/p&gt;
&lt;h2&gt;How to execute a code from SharePoint Designer?&lt;/h2&gt;
&lt;p&gt;Use &amp;ldquo;Execute custom code&amp;rdquo; activity from &lt;a target="_self" href="http://www.virtosoftware.com/extended-workflow-activities-for-sharepoint-designer.aspx"&gt;VirtoSoftware Workflow Actitivies Kit for SharePoint&lt;/a&gt;. The activity allows you to execute custom C# or VB.NET code from SharePoint Designer.&lt;/p&gt;
&lt;h2&gt;Instructions to create a new SharePoint Designer workflow that terminates all faulting workflows in the current list:&lt;/h2&gt;
&lt;h3&gt;1. Create a new SPD workflow, titled &amp;quot;Terminate all workflows&amp;quot;.&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5078.sharepoint_5F00_faulting_5F00_workflows03.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5078.sharepoint_5F00_faulting_5F00_workflows03.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;2. Add &amp;quot;Execute custom code&amp;quot; activity.&lt;/h3&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0247.sharepoint_5F00_faulting_5F00_workflows04.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0247.sharepoint_5F00_faulting_5F00_workflows04.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;3. Set code (bold) - the code enumerates all list items and cancels all running and faulting workflows.&lt;/h3&gt;
&lt;p&gt;&lt;br /&gt;using Microsoft.SharePoint;&lt;br /&gt;using Microsoft.SharePoint.Workflow;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Context.WorkflowContext.Web.AllowUnsafeUpdates = true;&lt;br /&gt;try&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (SPListItem listItem in Context.CurrentList.Items)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; foreach (SPWorkflow itemWorkflow in listItem.Workflows)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Terminate all Running &amp;amp; Faulting workflow&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ((itemWorkflow.InternalState &amp;amp; (SPWorkflowState.Running|SPWorkflowState.Faulting)) == (SPWorkflowState.Running|SPWorkflowState.Faulting))&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Terminating the workflow will set its status to Canceled and will delete all tasks created by the workflow. &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPWorkflowManager.CancelWorkflow(itemWorkflow);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;finally&lt;br /&gt;{&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Context.WorkflowContext.Web.AllowUnsafeUpdates = false;&lt;br /&gt;}&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5074.sharepoint_5F00_faulting_5F00_workflows05.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5074.sharepoint_5F00_faulting_5F00_workflows05.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Note:&lt;/b&gt; If you want to Cancel all running workflows, replace &amp;ldquo;if&amp;rdquo; condition with the line below:&lt;br /&gt;if &lt;b&gt;((itemWorkflow.InternalState &amp;amp; (SPWorkflowState.Running)) == (SPWorkflowState.Running))&lt;/b&gt;&lt;/p&gt;
&lt;h3&gt;4. Add a string output variable.&lt;/h3&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h3&gt;5. Save workflow.&lt;/h3&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;Now you can run &amp;quot;Terminate all workflows&amp;quot; workflow and all faulting workflows will be terminated.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2451.sharepoint_5F00_faulting_5F00_workflows06.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2451.sharepoint_5F00_faulting_5F00_workflows06.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=52" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/worfklow/default.aspx">worfklow</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/terminating+fauting+workflow/default.aspx">terminating fauting workflow</category></item><item><title>E-mail Routing in SharePoint with VirtoSoftware (HelpDesk with e-mail submissions)</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/03/03/e-mail-routing-in-sharepoint-with-virtosoftware-helpdesk-with-e-mail-submissions.aspx</link><pubDate>Wed, 03 Mar 2010 09:51:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:50</guid><dc:creator>Oleg [Virtosoftware]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=50</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/03/03/e-mail-routing-in-sharepoint-with-virtosoftware-helpdesk-with-e-mail-submissions.aspx#comments</comments><description>&lt;h2&gt;Introduction&lt;/h2&gt;
&lt;p&gt;Microsoft Windows SharePoint Services 3.0 is a Windows Server technology that provides integrated services for work sharing and messaging, and represents a platform for Internet business applications design. The platform is highly flexible and easy to adjust, however the flexibility is often limited by poor realization of standard components. Luckily there are a lot of external components that provides the user with more features for business tasks resolving. &lt;br /&gt;This article describes a &lt;b&gt;sample of automatic e-mail routing organization in SharePoint and redirecting e-mail messages on behalf of internal e-mail box.&lt;/b&gt; The e-mail messages will be &lt;b&gt;collected from several external e-mail boxes&lt;/b&gt; on different e-mail servers, for instance, Gmail or Hotmail. I&lt;b&gt;ncoming messages will be registered in a SharePoint list and redirected automatically&lt;/b&gt; on behalf of a single internal e-mail box to several recipients.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8741.sharepoint_2D00_email_2D00_routing01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8741.sharepoint_2D00_email_2D00_routing01.png" border="0" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This scenario &lt;b&gt;suits the task of HelpDesk systems&lt;/b&gt; when it&amp;rsquo;s required to &lt;b&gt;process incoming e-mails, create (register) Issues based on these e-mails and redirect original e-mails to a responsible user. &lt;br /&gt;&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2728.sharepoint_2D00_email_2D00_routing02.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2728.sharepoint_2D00_email_2D00_routing02.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If a specific ticket is added to an e-mail message subject before it is redirected to a responsible user, it will be possible to process the responsible user&amp;rsquo;s reply and relate it automatically to the Issue. In such a case, working with Issues will be more efficient by e-mailing clients and SharePoint will have the e-mails router&amp;rsquo;s role. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8156.sharepoint_2D00_email_2D00_routing03.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8156.sharepoint_2D00_email_2D00_routing03.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;i&gt;Two VirtoSoftware components will be used for realization:&lt;br /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Incoming E-mail Feature&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Workflow Activities Kit for SharePoint&lt;/i&gt;&lt;/p&gt;
&lt;h2&gt;Incoming E-mail Feature Review&lt;/h2&gt;
&lt;p&gt;SharePoint has a built-in mechanism for e-mail routing. However, it requires installation and adjustment of local SMTP service. Detailed instructions can be found at &lt;a target="_self" href="http://technet.microsoft.com/en-us/library/cc287879.aspx."&gt;http://technet.microsoft.com/en-us/library/cc287879.aspx.&lt;/a&gt; But what do you do when your &lt;b&gt;e-mail works on an external e-mail server such as Gmail or Hotmail&lt;/b&gt;, or you have more than one e-mail addresses? Your issue can be resolved with &lt;a target="_self" title="Virto Incoming Email for SharePoint" href="http://www.virtosoftware.com/incoming-email-pop3-for-sharepoint.aspx"&gt;Incoming E-mail Feature by VirtoSoftware&lt;/a&gt;. &lt;br /&gt;When the component is installed, you have the &lt;b&gt;opportunity to adjust the rule for collecting e-mails from unlimited amount of e-mail servers and select a place to store the e-mail messages.&lt;/b&gt; POP3 protocol is used for connection to the e-mail box. E-mails can be saved to a list, a file library, or a folder on the disc.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/1172.sharepoint_2D00_email_2D00_routing09.png"&gt;&lt;/a&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3223.sharepoint_2D00_email_2D00_routing05.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3223.sharepoint_2D00_email_2D00_routing05.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;As well as standard services, &lt;b&gt;Incoming E-mail Feature adds special fields to a list for saving detailed information about an e-mai&lt;/b&gt;l (EmailTo, EmailCc, EmailFrom, EmailSubject). The component also adds one more field EmailHtmlBody that allows getting text view of the message. Original e-mail (in the EML format) and all attachments are saved as attachments in a current item. Saving e-mails to a document library is also supported. Please see more detailed information on the component site &lt;a target="_self" title="Virto Incoming Email for SharePoint" href="http://www.virtosoftware.com/incoming-email-pop3-for-sharepoint.aspx"&gt;http://www.virtosoftware.com/incoming-email-pop3-for-sharepoint.aspx&lt;/a&gt;.&lt;/p&gt;
&lt;h2&gt;Workflow Activities Kit for SharePoint Review&lt;/h2&gt;
&lt;p&gt;VirtoSoftware expands the range of SharePoint activities, allowing the ability to create custom activity sets, and thus, more flexible customization of business processes. Virto SharePoint Workflow Activities Kit is a set of no-code blocks that you can easily add to SharePoint Designer and build your own custom workflow within minutes. Virto Workflow Activities Kit can be used as an add-on for MS SharePoint and includes extended activities for sending e-mails and SMS as well as messaging to Twitter, Jabber and Miranda. &lt;br /&gt;One activity is used as an example for our case &amp;mdash; &amp;ldquo;Forward Email&amp;rdquo;. This activity allows forwarding of the attached email file in EML format (EML file is a plain text file in MIME format, containing the e-mail header as well as the message contents and attachments) from the selected list item. The activity finds an email (file with .eml extension) in either list item attachments or in the file library. The activity modifies only the recipients, sender and subject headers. The email body and attachments are to remain in its original form; the activity does not add any modifications.&lt;/p&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
&lt;p&gt;Before you start working, you need to install:&lt;br /&gt;&lt;i&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Virto POP3 Incoming E-mail Feature&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; VirtoSoftware Workflow Activities Kit for SharePoint&lt;/i&gt;&lt;br /&gt;See the following for instructions to install the components:&lt;br /&gt;&lt;a target="_self" href="http://www.virtosoftware.com/wikis/sharepoint-incoming-email/installing-virto-incoming-e-mail-feature-for-sharepoint.aspx"&gt;http://www.virtosoftware.com/wikis/sharepoint-incoming-email/installing-virto-incoming-e-mail-feature-for-sharepoint.aspx&lt;/a&gt;&lt;br /&gt;&lt;a target="_self" href="http://www.virtosoftware.com/wikis/sharepoint-workflow-designer/installation-procedure.aspx"&gt;http://www.virtosoftware.com/wikis/sharepoint-workflow-designer/installation-procedure.aspx&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Email Routing Organization&lt;/h2&gt;
&lt;p&gt;First of all, let&amp;rsquo;s create a list where all incoming e-mail messages will be placed in. Go to Site Actions -&amp;gt; Create and select creating a list based on Virto Incoming E-Mail List template.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2772.sharepoint_2D00_email_2D00_routing06.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/2772.sharepoint_2D00_email_2D00_routing06.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Enter &amp;ldquo;Incoming Email&amp;rdquo; in the &amp;ldquo;Name&amp;rdquo; field and click &amp;ldquo;Create&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/1261.sharepoint_2D00_email_2D00_routing07.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/1261.sharepoint_2D00_email_2D00_routing07.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The list created from Virto Incoming E-Mail List template automatically has all Email fields. However, if you use your own template or existing list, all required fields will be added to the list only after you select it as the list for collecting e-mail.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7024.sharepoint_2D00_email_2D00_routing08.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7024.sharepoint_2D00_email_2D00_routing08.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Now we need to create a new e-mail box. Go to Site Actions -&amp;gt; Site Settings and select Virto Incoming E-Mail Settings in Site Administration.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3252.sharepoint_2D00_email_2D00_routing09.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3252.sharepoint_2D00_email_2D00_routing09.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The list of e-mail boxes is empty by default. Use &amp;ldquo;Click here to add a new POP3 box&amp;rdquo;. We&amp;rsquo;re going to use Gmail e-mail box as an example. Enter your connection parameters and select &amp;ldquo;Incoming Email&amp;rdquo; list to store e-mails. You can instantly check the connection settings. If you make this e-mail box active, it will start collecting e-mails and saving them in the list. Inactive e-mail boxes can be run with &amp;ldquo;Receive Email&amp;rdquo; button&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8764.sharepoint_2D00_email_2D00_routing10.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8764.sharepoint_2D00_email_2D00_routing10.png" border="0" alt="" /&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The adjustment is finished; click &amp;ldquo;Save&amp;rdquo; to save the settings. This way you can adjust the process of collecting e-mail messages from any amount of e-mail boxes.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5125.sharepoint_2D00_email_2D00_routing11.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5125.sharepoint_2D00_email_2D00_routing11.png" border="0" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;The example of saving e-mail messages is below. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8686.sharepoint_2D00_email_2D00_routing12.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8686.sharepoint_2D00_email_2D00_routing12.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;To organize e-mail routing with SharePoint Designer, let&amp;rsquo;s create a new business process that will start automatically when an e-mail message is added to &amp;ldquo;Incoming Email&amp;rdquo; list.&lt;br /&gt;Run SharePoint Designer and find File -&amp;gt; New -&amp;gt; Workflow. Select &amp;ldquo;Incoming Email&amp;rdquo; as a list, select the boxes for the business process to be run both manually and automatically when a new item is added to this list.&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8032.sharepoint_2D00_email_2D00_routing13.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/8032.sharepoint_2D00_email_2D00_routing13.png" border="0" alt="" /&gt;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Click &amp;ldquo;Next&amp;rdquo;. Add &amp;ldquo;Forward Email&amp;rdquo; activity to Workflow Actions.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6371.sharepoint_2D00_email_2D00_routing14.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6371.sharepoint_2D00_email_2D00_routing14.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;This activity automatically finds EML files and sends it to the new recipients without any modifications. The activity enables the message to be left the same or change both the sender and the e-mail subject. This can be useful for HelpDesk systems when it&amp;rsquo;s required to replace the sender with an email box and to insert a ticket that will relate the message in the system to the e-mail subject. We will use a fake ticket instead of a subject and add an original subject. Sender will be changed as well. &lt;br /&gt;Note: the text and attachments are not modified while routing. Sender, recipient and subject are changed. &lt;br /&gt;&amp;nbsp;&lt;br /&gt;&lt;b&gt;Note: &lt;/b&gt;activity &amp;ldquo;Forward Email&amp;rdquo; uses SharePoint SMTP settings by default. However, it supports email sending throughout any e-mail server with SMTP protocol. You just need to add &amp;quot;Set SMTP server settings&amp;quot; activity before this activity. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6052.sharepoint_2D00_email_2D00_routing15.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6052.sharepoint_2D00_email_2D00_routing15.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The activity with a full list of parameters looks as follows:&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3660.sharepoint_2D00_email_2D00_routing16.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3660.sharepoint_2D00_email_2D00_routing16.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;After this, we should save this business process.&lt;br /&gt;Now, when new e-mails are received, it will be saved to &amp;ldquo;Incoming Email&amp;rdquo; and automatically resent to external recipients on behalf of internal e-mail box with a ticket in the subject. Here is a sample of a processed e-mail message.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7245.sharepoint_2D00_email_2D00_routing17.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7245.sharepoint_2D00_email_2D00_routing17.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You can change the business process and add a new Issue based on the e-mail message before this e-mail message gets redirected.&lt;/p&gt;
&lt;h2&gt;Conclusion&lt;/h2&gt;
&lt;p&gt;This article has fully described how e-mail retrieval and routing can be organized in SharePoint with VirtoSoftware components: Virto POP3 Incoming E-mail Feature &amp;amp; VirtoSoftware Workflow Activities Kit for SharePoint. This opportunity can be used in Help Desk systems, since it allows you to organize registration of all incoming e-mail messages in the system. Using the ticket number in a message subject enables tracking of which Issue the e-mail message belongs to.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=50" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/e-mail/default.aspx">e-mail</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/issue/default.aspx">issue</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/routing/default.aspx">routing</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/incoming+email/default.aspx">incoming email</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/help+desk/default.aspx">help desk</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/pop3/default.aspx">pop3</category></item><item><title>Using and converting date, time and timezone in Microsoft Windows SharePoint Services 3.0</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/02/17/date-time-time-zones-and-ms-sharepoint.aspx</link><pubDate>Wed, 17 Feb 2010 09:50:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:45</guid><dc:creator>Oleg [Virtosoftware]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=45</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/02/17/date-time-time-zones-and-ms-sharepoint.aspx#comments</comments><description>&lt;p&gt;This topic includes many of the &amp;quot;how-to&amp;quot; and walk-through topics for time &lt;b&gt;using and time zone functions in Microsoft Windows SharePoint Services 3.0.&lt;/b&gt;&lt;/p&gt;
&lt;h3&gt;&lt;b&gt;Change the regional settings for a site&lt;br /&gt;Get current time in SharePoint Designer workflow&lt;br /&gt;Get the Coordinated Universal Time (UTC) in SharePoint Designer workflow&lt;br /&gt;Get the custom predefined time in SharePoint Designer workflow&lt;br /&gt;Convert Local Time to the Coordinated Universal Time (UTC) in SharePoint Designer workflow&lt;br /&gt;Convert the Coordinated Universal Time (UTC) to Local Time in SharePoint Designer workflow&lt;br /&gt;Get Current Time in Different Time Zones&lt;br /&gt;Get string from DateTime with Time Zone information.&lt;br /&gt;Get date time string with time zone information&lt;br /&gt;Daylight savings not working right for SPGridView&lt;br /&gt;Getting the type DateTime from SPListItemVersion&lt;br /&gt;Set correct time zone&lt;br /&gt;How to manually update the DST period for a time zone definition&lt;/b&gt;&lt;/h3&gt;
&lt;h2&gt;Change the regional settings for a site&lt;/h2&gt;
&lt;p&gt;Do the following on each SharePoint site on which you want to change the default regional settings:&lt;br /&gt;1.&amp;nbsp;&amp;nbsp; &amp;nbsp;Open the site on which you want to change the default regional settings.&lt;br /&gt;2.&amp;nbsp;&amp;nbsp; &amp;nbsp;Click Site Settings in the Site Actions menu &lt;br /&gt;&amp;nbsp;Note&amp;nbsp;&amp;nbsp; On a site for which the Site Actions menu is customized, point to Site Settings, and then click the settings that you want to view.&lt;br /&gt;3.&amp;nbsp;&amp;nbsp; &amp;nbsp;On the Site Settings page, under Site Administration, click Regional settings.&lt;br /&gt;4.&amp;nbsp;&amp;nbsp; &amp;nbsp;On the Regional Settings page, select the settings that you want for this site, and then click OK.&lt;br /&gt;&lt;b&gt;Links: &amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;a target="_self" href="http://office.microsoft.com/en-us/sharepointtechnology/HA101038101033.aspx%20"&gt;http://office.microsoft.com/en-us/sharepointtechnology/HA101038101033.aspx &lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Get current time in SharePoint Designer workflow&lt;/h2&gt;
&lt;p&gt;You will have trouble getting the current time in a SharePoint Designer workflow when testing against a date/time field of the current item, because SharePoint returns 12:00 AM as the time.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3755.current_2D00_time_2D00_sharepoint01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3755.current_2D00_time_2D00_sharepoint01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To get the current time, you can use &amp;ldquo;&lt;b&gt;Set DateTime constant&lt;/b&gt;&amp;rdquo; activity from &lt;a target="_self" title="SharePoint Workflow Acitvities" href="http://www.virtosoftware.com/sharepoint-workflow-activities-kit.aspx"&gt;&lt;b&gt;Virto SharePoint Workflow Activities Kit&lt;/b&gt;&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6648.current_2D00_time_2D00_sharepoint02.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6648.current_2D00_time_2D00_sharepoint02.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This activity allows setting DateTime constant Now to variable and you can use correct time in other workflow actions.&lt;/p&gt;
&lt;h2&gt;Get the Coordinated Universal Time (UTC) in SharePoint Designer workflow&lt;/h2&gt;
&lt;p&gt;SharePoint Designer workflow doesn&amp;rsquo;t allow getting the current date and time on this computer, expressed as the Coordinated Universal Time (UTC).&lt;br /&gt;To get the current time, you can use &amp;ldquo;Set DateTime constant&amp;rdquo; activity from &lt;a target="_self" title="SharePoint Workflow Acitvities" href="http://www.virtosoftware.com/sharepoint-workflow-activities-kit.aspx"&gt;&lt;b&gt;Virto
 SharePoint Workflow Activities Kit&lt;/b&gt;&lt;/a&gt;. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6332.utc_2D00_time_2D00_sharepoint01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6332.utc_2D00_time_2D00_sharepoint01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; This activity allows setting DateTime constant UtcNow to variable and you can use correct time in other workflow actions.&lt;/p&gt;
&lt;h2&gt;Get custom predefined time in SharePoint Designer workflow&lt;/h2&gt;
&lt;p&gt;SharePoint Designer workflow doesn&amp;rsquo;t allow getting the custom predefined time and time on this computer, expressed as the Coordinated Universal Time (UTC).&lt;br /&gt;To get the custom predefined time, you can use &amp;ldquo;&lt;b&gt;Set DateTime constant&lt;/b&gt;&amp;rdquo; activity from &lt;a target="_self" title="Virto Workflow Acitvities Kit" href="http://www.virtosoftware.com/sharepoint-workflow-activities-kit.aspx"&gt;Virto SharePoint Workflow Activities Kit&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;This activity allows setting Date Time constant: &lt;i&gt;Now, Utc Now, Today, Yesterday, Tomorrow, Begin of this Week, End of this Week &lt;/i&gt;and etc. to variable.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7673.custom_2D00_predefined_2D00_time_2D00_sharepoint01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7673.custom_2D00_predefined_2D00_time_2D00_sharepoint01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; The activity stores time constant to variable and you &lt;b&gt;can use correct time in other workflow actions.&lt;/b&gt; The tables below shows all constant, description and sample result if current time is 12 February 2010 16:20 (UTC+2:00).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
.style1 {
	border: 1px solid #666666;
}
&lt;/p&gt;
&lt;table style="width:100%;" class="style1" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;&lt;b&gt;Name&lt;/b&gt;&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Example&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Now&lt;/td&gt;
&lt;td class="style1"&gt;The current date and time on this computer, expressed 
		as the local time.&lt;/td&gt;
&lt;td class="style1"&gt;12 February 2010 16:20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;UtcNow&lt;/td&gt;
&lt;td class="style1"&gt;The current date and time on this computer, expressed 
		as the Coordinated Universal Time (UTC).&lt;/td&gt;
&lt;td class="style1"&gt;12 February 2010 15:20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Today&lt;/td&gt;
&lt;td class="style1"&gt;Current date.&lt;/td&gt;
&lt;td class="style1"&gt;12 February 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Yesterday&lt;/td&gt;
&lt;td class="style1"&gt;Yesterday date. &lt;/td&gt;
&lt;td class="style1"&gt;11 February 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Tomorrow &lt;/td&gt;
&lt;td class="style1"&gt;Tomorrow date &lt;/td&gt;
&lt;td class="style1"&gt;13 February 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Begin of this week&lt;/td&gt;
&lt;td class="style1"&gt;Begin of this Week&lt;br /&gt;
		&lt;b&gt;Note&lt;/b&gt;: Sunday is the first day of the week.&lt;/td&gt;
&lt;td class="style1"&gt;7 February 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;End of this week&lt;/td&gt;
&lt;td class="style1"&gt;End of this Week&lt;br /&gt;
		&lt;b&gt;Note&lt;/b&gt;: Saturday is the last day of the week&lt;/td&gt;
&lt;td class="style1"&gt;13 February 2010 23:59&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Begin on this month &lt;/td&gt;
&lt;td class="style1"&gt;Begin on the month&lt;/td&gt;
&lt;td class="style1"&gt;1 February 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;End on this month &lt;/td&gt;
&lt;td class="style1"&gt;End on this month.&lt;/td&gt;
&lt;td class="style1"&gt;28 February 2010 23:59&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Begin of this year&lt;/td&gt;
&lt;td class="style1"&gt;Begin of this year&lt;/td&gt;
&lt;td class="style1"&gt;1 January 2010 00:00&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;End of this year&lt;/td&gt;
&lt;td class="style1"&gt;End of this year&lt;/td&gt;
&lt;td class="style1"&gt;31 December 2010 23:59&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt; &lt;b&gt;SharePoint Workflow Designer Phrase&lt;/b&gt;&lt;br /&gt;Set DateTime constant Now to variable.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Parameter - Now&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Description&amp;nbsp; &lt;/b&gt;&lt;/p&gt;
&lt;p&gt;One of date time constant: &lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; UtcNow&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Today&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Yesterday&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tomorrow&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Begin of this Week&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; End of this Week&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Begin of this Month&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; End of this Month&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; Begin of this Year&lt;br /&gt;&amp;bull;&amp;nbsp;&amp;nbsp;&amp;nbsp; End of this Year&lt;/p&gt;
&lt;h2&gt;Convert Local Time to the Coordinated Universal Time (UTC) in SharePoint Designer workflow&lt;/h2&gt;
&lt;p&gt;To convert local time to the UTC, you can use &amp;ldquo;Converts Date from Local Time to UTC&amp;rdquo; activity from Virto SharePoint Workflow Activities Kit. &lt;br /&gt;This activity allows &lt;b&gt;converting the value of the current DateTime variable from local time in specified Time Zone to Coordinated Universal Time (UTC)&lt;/b&gt;. &lt;br /&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5277.local_2D00_time_2D00_sharepoint01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5277.local_2D00_time_2D00_sharepoint01.png" border="0" width="680" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; You can specify custom time zone or use time zone from current site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5277.local_2D00_time_2D00_sharepoint01.png"&gt;&lt;/a&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0181.local_2D00_time_2D00_sharepoint02.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/0181.local_2D00_time_2D00_sharepoint02.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; SharePoint Workflow Designer Phrase&lt;br /&gt;Converts local time from &lt;span style="text-decoration:underline;"&gt;Local Time &lt;/span&gt;in [&lt;span style="text-decoration:underline;"&gt;Current Site&lt;/span&gt;] time zone to UTC and store result in &lt;span style="text-decoration:underline;"&gt;utc_time&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;table style="width:100%;" border="1px" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;&lt;b&gt;Parameter&lt;/b&gt;&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Description &lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;local_time&lt;/td&gt;
&lt;td class="style1"&gt;Date Time variable. &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;[Current Site]&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Optional. &lt;/b&gt;Time zone. Default value 
		is current site time zone, but you can select you custom time zone.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;Convert the Coordinated Universal Time (UTC) to Local Time in SharePoint Designer workflow&lt;/h2&gt;
&lt;p&gt;To convert UTC time to the Local Time, you can use &amp;ldquo;Converts Date from UTC to Local Time&amp;rdquo; activity from Virto SharePoint Workflow Activities Kit. &lt;br /&gt;This activity allows &lt;b&gt;converting the value of the current DateTime variable from to Coordinated Universal Time (UTC) to local time in specified Time Zone&lt;/b&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6710.utc_2D00_local_2D00_time01.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6710.utc_2D00_local_2D00_time01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;You can specify custom time zone or use time zone from current site.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/6710.utc_2D00_local_2D00_time01.png"&gt;&lt;/a&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3730.utc_2D00_local_2D00_time02.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/3730.utc_2D00_local_2D00_time02.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SharePoint Workflow Designer Phrase&lt;br /&gt;Converts &lt;span style="text-decoration:underline;"&gt;utc time&lt;/span&gt; from UTC to time zone in [&lt;span style="text-decoration:underline;"&gt;Current Site&lt;/span&gt;] time zone and store result in &lt;span style="text-decoration:underline;"&gt;utc_time&lt;/span&gt;.&lt;br /&gt;Parameters&lt;/p&gt;
&lt;table style="width:100%;" border="1px" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;&lt;b&gt;Parameter&lt;/b&gt;&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Description &lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;local_time&lt;/td&gt;
&lt;td class="style1"&gt;Date Time variable. &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;[Current Site]&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Optional. &lt;/b&gt;Time zone. Default value 
		is current site time zone, but you can select you custom time zone.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;h2&gt; Get Current Time in Different Time Zones&lt;/h2&gt;
&lt;p&gt;To convert UTC time to the Local Time, you can use &amp;ldquo;Set Date constant&amp;rdquo; and &amp;ldquo;Converts DateTime from UTC to Local Time&amp;rdquo; activities from Virto SharePoint Workflow Activities Kit.&lt;br /&gt;You should call &amp;ldquo;Set DateTime constant&amp;rdquo; activity and store UTC time to variable, then call &amp;ldquo;Converts DateTime from UTC to Local Time&amp;rdquo; activity to convert UTC time to local time. See screenshot below.&lt;br /&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/7723.current_2D00_time_2D00_sharepoint01.png"&gt;&lt;/a&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5722.current_2D00_time_2D00_different_2D00_timezone_2D00_sharepoint.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Blogs.Components.WeblogFiles/virtoteam/5722.current_2D00_time_2D00_different_2D00_timezone_2D00_sharepoint.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Get string from DateTime with Time Zone information.&lt;/h2&gt;
&lt;p&gt;To get string from Date Time with Time Zone information you can use &amp;ldquo;Convert DateTime to Text&amp;rdquo; activity from Virto SharePoint Workflow Activities Kit.&lt;br /&gt;If pass &amp;ldquo;MM/dd/yyyy hh:mm:ss (zzz)&amp;rdquo; as format, activity will store &amp;ldquo;02.16.2010 02:33:34 (-05:00)&amp;rdquo; to text variable.&lt;/p&gt;
&lt;h2&gt;Useful links for describing time format strings:&lt;/h2&gt;
&lt;p&gt;Standard Date and Time Format Strings - &lt;a href="http://msdn.microsoft.com/en-us/library/az4se3k1.aspx"&gt;http://msdn.microsoft.com/en-us/library/az4se3k1.aspx &lt;br /&gt;&lt;/a&gt;Custom Date and Time Format Strings - &lt;a target="_self" href="http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx"&gt;http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx&lt;br /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Get date time string with time zone information&lt;/h2&gt;
&lt;p&gt;&lt;a target="_self" href="http://www.endusersharepoint.com/2010/01/15/sharepoint-workflow-time-zones/"&gt;http://www.endusersharepoint.com/2010/01/15/sharepoint-workflow-time-zones/&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Daylight savings not working right for SPGridView&lt;/h2&gt;
&lt;p&gt;&lt;a target="_self" href="http://wiki.bittercoder.com/%28S%28rmsmgt55gw13n4ixnd32kznj%29%29/Default.aspx?Page=DatesNotWorkingWithDSTInSPGridView&amp;amp;Code=1&amp;amp;AspxAutoDetectCookieSupport=1"&gt;http://wiki.bittercoder.com/%28S%28rmsmgt55gw13n4ixnd32kznj%29%29/Default.aspx?Page=DatesNotWorkingWithDSTInSPGridView&amp;amp;Code=1&amp;amp;AspxAutoDetectCookieSupport=1&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;Getting the type DateTime from SPListItemVersion&lt;/h2&gt;
&lt;p&gt;If you are using the Versions property of the SPListItem class to return the collection of versions for a list item, you should know that all time SPListItemVersion properties would be returned in UTC format. You should correctly convert them to the current time zone. To do this use SPTimeZone .UTCToLocalTime method to retrieve the current local date and time. The code shows how to compare two dates:&lt;br /&gt;&lt;i&gt;/ / First get the current SPTimeZone of SPWeb:&lt;br /&gt;SPTimeZone timeZone = web.RegionalSettings.TimeZone;&lt;br /&gt;/ / Convert date and time in local:&lt;br /&gt;DateTime localDT = timeZone.UTCToLocalTime (previousDate);&lt;br /&gt;if (newDate! = localDT)&lt;br /&gt;(&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;br /&gt;)&lt;/i&gt;&lt;br /&gt;Links:&lt;br /&gt;http://moss.blog.ru/52286211.html&lt;/p&gt;
&lt;h2&gt;Set correct time zone&lt;/h2&gt;
&lt;p&gt;The link below shows solution for requirement to staple a feature to site templates so that despite the server living in Perth, east coast users would have their time-zone set correctly for the site they were creating.&lt;br /&gt;&lt;a target="_self" href="http://www.sharepointdevwiki.com/display/public/TimeZones"&gt;http://www.sharepointdevwiki.com/display/public/TimeZones&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;How to update manually the DST period for a time zone definition&lt;/h2&gt;
&lt;p&gt;This link below describes how to update manually the daylight saving time (DST) period for a time zone definition in Microsoft Windows SharePoint Services 3.0 and in Microsoft Windows SharePoint Services 2.0 by modifying the Timezone.xml file. Windows SharePoint Services uses the Timezone.xml file to store time zone information. The Timezone.xml file includes the start date and time for daylight saving time and for standard time for a specific time zone.&lt;br /&gt;&lt;a target="_self" href="http://support.microsoft.com/default.aspx/kb/888253%20"&gt;http://support.microsoft.com/default.aspx/kb/888253 &lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=45" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/worfklow/default.aspx">worfklow</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/time/default.aspx">time</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/date/default.aspx">date</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/time+zone/default.aspx">time zone</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/utc/default.aspx">utc</category></item><item><title>Creating HTML Reports with Virto Workflow Activities Kit for SharePoint</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/02/15/creating-html-reports-with-virto-workflow-activities-kit-for-sharepoint.aspx</link><pubDate>Mon, 15 Feb 2010 08:11:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:42</guid><dc:creator>Oleg [Virtosoftware]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=42</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2010/02/15/creating-html-reports-with-virto-workflow-activities-kit-for-sharepoint.aspx#comments</comments><description>&lt;p&gt;

&lt;/p&gt;
&lt;h2&gt; Introduction &lt;/h2&gt;
&lt;p&gt;
The necessity of data receiving from a certain list and generating a report 
often appears when &lt;b&gt;sending e-mail alerts or creating a document&lt;/b&gt;. For instance, a 
user needs to display the list of his active tasks, administrator needs 
information about new users in the system, a client wants to see his active 
issues, etc. In other words, it&amp;rsquo;s highly important and effective to create a 
report based on data list. &lt;br /&gt;
&lt;br /&gt;
Activities of business process automation are often implemented with Microsoft 
Office SharePoint Designer, which is easy to use and suitable for quick 
implementation. But unfortunately, generating reports is not available with 
Microsoft Office SharePoint Designer.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;This article describes how to create a report with VirtoSoftware Workflow 
Activities Kit for SharePoint and prepare it for sending/processing. &lt;/b&gt;&lt;/p&gt;
&lt;h2&gt;Installation&lt;/h2&gt;
&lt;p&gt;
Install and activate 
&lt;a href="http://www.virtosoftware.com/extended-workflow-activities-for-sharepoint-designer.aspx"&gt;VirtoSoftware Workflow Activities Kit for SharePoint 
&lt;/a&gt;on 
your site. Detailed instructions can be found at 
&lt;a href="http://www.virtosoftware.com/wikis/sharepoint-workflow-designer/installation-procedure.aspx."&gt;http://www.virtosoftware.com/wikis/sharepoint-workflow-designer/installation-procedure.aspx.&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt; Case Example &lt;/h2&gt;
&lt;p&gt;
&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint01.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Then add fields.&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint02.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;table style="width:100%;" class="style1" border="1" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td style="height:21px;" class="style1"&gt;&lt;b&gt;ame&lt;/b&gt;&lt;/td&gt;
&lt;td style="height:21px;" class="style1"&gt;&lt;b&gt;Type&lt;/b&gt;&lt;/td&gt;
&lt;td style="height:21px;" class="style1"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;IssueOwnerEmail&lt;/td&gt;
&lt;td class="style1"&gt;Single line of text&lt;/td&gt;
&lt;td class="style1"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Responsible&lt;/td&gt;
&lt;td class="style1"&gt;Person or Group &lt;/td&gt;
&lt;td class="style1"&gt;&amp;nbsp;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Description&lt;/td&gt;
&lt;td class="style1"&gt;Multiple lines of text &lt;/td&gt;
&lt;td class="style1"&gt;Enhanced rich text (Rich text with pictures, tables, 
		and hyperlinks)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Priority &lt;/td&gt;
&lt;td class="style1"&gt;Choice (menu to choose from)&lt;/td&gt;
&lt;td class="style1"&gt;Choice: &lt;br /&gt;
		Low&lt;br /&gt;
		Normal&lt;br /&gt;
		High&lt;br /&gt;
		&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;IssueStatus&lt;/td&gt;
&lt;td class="style1"&gt;Choice (menu to choose from)&lt;/td&gt;
&lt;td class="style1"&gt;Choice:&lt;br /&gt;
		Active &lt;br /&gt;
		Closed &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;Resolution&lt;/td&gt;
&lt;td class="style1"&gt;Multiple lines of text &lt;/td&gt;
&lt;td class="style1"&gt;Enhanced rich text (Rich text with pictures, tables, 
		and hyperlinks)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&lt;br /&gt;
After completing that, add several issues to this list where Issues with 
different responsible users are contained and whether they are active or closed 
Issues. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint03.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;h3&gt;Creating a Report &lt;/h3&gt;
&lt;p&gt;
Let&amp;rsquo;s run Microsoft Office SharePoint Designer 2007, connect to the site and 
select File/New/Workflow in the menu. Then enter name &amp;ldquo;Create report for 
Responsible&amp;ldquo; in the displayed window, and select list &amp;rdquo;Company Issues&amp;rdquo; that was 
created before. Since we need to generate a report, both while creation and 
modification of a list, we should check all the boxes in &amp;ldquo;Select workflow start 
options for items in &amp;hellip;&amp;rdquo; block.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint04.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
After checking all the boxes, c&lt;b&gt;lick Next to create activities&lt;/b&gt;.
&lt;br /&gt;
&lt;br /&gt;
To create a report, you only need to create one activity - &amp;ldquo;&lt;b&gt;Generate 
report&lt;/b&gt;&amp;rdquo;. &amp;ldquo;Generate report&amp;rdquo; activity produces the report template 
parameters and parameters of collecting items from a list. The generated report 
is stored to a string variable. You can even describe the data source, filters 
and data sorting on the activity level. You should also describe the view 
structure of your report with the help of header, footer and list item 
templates. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Scheme of the report:&lt;/b&gt;&lt;br /&gt;
[Header]&lt;br /&gt;
[Row for List Item 1]&lt;br /&gt;
[Row for List Item 2]&lt;br /&gt;
&amp;hellip;&lt;br /&gt;
[Row for List Item N]&lt;br /&gt;
[Footer]&lt;br /&gt;
&lt;br /&gt;
Since &amp;ldquo;Generate report&amp;rdquo; activities work with rows, we can generate the report in 
any text format: simple text, XML, HTML, etc.&lt;br /&gt;
&lt;br /&gt;
To add new activity, click Actions and select More Actions in the drop down. In 
the displayed window select Virto Actions category and select &amp;ldquo;Generate report&amp;rdquo; 
action. Then click &amp;ldquo;Add&amp;rdquo;. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint05.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
You will see the new activity in the list as a result. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint06.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&amp;ldquo;Generate report&amp;rdquo; activity contains the following parameters:&lt;/p&gt;
&lt;table style="width:100%;" class="style1" border="1" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;&lt;b&gt;Parameter&lt;/b&gt;&lt;/td&gt;
&lt;td class="style1"&gt;&lt;b&gt;Description&lt;/b&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;this header&lt;/td&gt;
&lt;td class="style1"&gt;Optional. The template for the heading section of the 
		report. &lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;this row template &lt;/td&gt;
&lt;td class="style1"&gt;Optional. The template for the report rows. Use 
		string [%FieldName%] construction to resolve field value from current 
		list item. FieldName can be field display name, field id (GUID) or field 
		index (int).&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;this footer &lt;/td&gt;
&lt;td class="style1"&gt;Optional. The template for the footer section of the 
		report&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;all&lt;/td&gt;
&lt;td class="style1"&gt;Optional. List item filter. The filter string 
		supports View Name, View ID and CAML string (&amp;lt;Where&amp;gt;...&amp;lt;/Where&amp;gt;). Empty 
		filter returns all items. &lt;br /&gt;
		Use &amp;lt;OrderBy&amp;gt;&amp;hellip;&amp;lt;/OrderBy&amp;gt; element to sort list items.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1" style="width:262px;"&gt;current list &lt;/td&gt;
&lt;td class="style1"&gt;Optional. Source list. Default value is current list.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&lt;br /&gt;
We will leave&lt;b&gt; Current list&lt;/b&gt; field without any modifications 
since we are going to select data from the current list. In your projects you 
can select any available list as a data source. &lt;br /&gt;
&lt;br /&gt;
We should point &lt;b&gt;CAML request instead of all&lt;/b&gt;. CAML request will 
select open Issues for a current responsible user and sort them by priority. &lt;br /&gt;
&lt;br /&gt;
CAML request which selects all Issues sorted by priority for user ID #123 looks 
as follows.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint07.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
We should insert the text highlighted with &lt;b&gt;bold instead of &amp;ldquo;all&amp;rdquo; valu&lt;/b&gt;e. 
This means that we will not insert Query tags and replace user ID with 
Responsible value from the current row. Unfortunately, if we add direct link to 
the value of Responsible field, Workflow will replace it to the row of 
DOMAIN\user type while implementation. To receive user&amp;rsquo;s ID we need to use one 
more activity from Virto Activities Kit &amp;ndash; &amp;ldquo;Lookup site user property&amp;rdquo;. This 
activity stores the value of select user profile in the variable. Let&amp;rsquo;s &lt;b&gt;
add this activity before report generating.&lt;/b&gt; &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint08.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
Insert responsible variable to CAML request. &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint09.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
Instead of CAML request description, you can use &lt;b&gt;Web interface to create 
new view&lt;/b&gt;, filter and sort required rows, and enter name or its ID in 
the activity. &lt;br /&gt;
&lt;br /&gt;
For simplifying reasons, the report will not contain too much HTML. Use the 
following values instead of &lt;b&gt;this header, this footer and this row
&lt;/b&gt;template values.&lt;/p&gt;
&lt;table style="width:100%;" class="style1" border="1" cellpadding="5" cellspacing="0"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;this header&lt;/td&gt;
&lt;td class="style1"&gt;&amp;lt;b&amp;gt;Active issues:&amp;lt;/b&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
		&amp;lt;table cellspacing=&amp;quot;0&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; width=&amp;quot;100%&amp;quot; 
		style=&amp;quot;background-color: white;&amp;quot;&amp;gt;&lt;br /&gt;
		&amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Title&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Priority&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Created&amp;lt;/th&amp;gt;&lt;br /&gt;
		&amp;lt;th&amp;gt;Description&amp;lt;th&amp;gt;&lt;br /&gt;
		&amp;lt;/tr&amp;gt;&lt;br /&gt;
		&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;this row&lt;/td&gt;
&lt;td class="style1"&gt;&amp;lt;tr&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;[%Title%]&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;[%Priority%]&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt;[%Created%]&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;td&amp;gt; [%Description%]&amp;lt;/td&amp;gt;&lt;br /&gt;
		&amp;lt;/tr&amp;gt;&lt;br /&gt;
		&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="style1"&gt;this footer &lt;/td&gt;
&lt;td class="style1"&gt;&amp;lt;/table&amp;gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;
&lt;br /&gt;
&lt;br /&gt;
If we leave at least one of these values without any modifications, empty row 
will be used while report generating. The most significant in these rows is the 
fact that you can use both Workflow Lookup and links to field values in row 
template description. To do this you should use [%Field name%] constructions. 
They will be replaced with real values while report generating. &lt;br /&gt;
&lt;br /&gt;
The description of &amp;ldquo;Generate report&amp;rdquo; activity parameters is completed. Now, 
while creating or modifying of a current Responsible in the Issue, the report 
will be generated.&lt;br /&gt;
&lt;br /&gt;
So after completing all that, send this report by e-mail. In order to do this, 
let&amp;rsquo;s add Send Email activity after report creating. We can use standard 
activity or one of the Virto Activities Kit. In this case you will have an 
opportunity to attach files, add sender, or adjust SMTP server which you want to 
use for e-mail sending.&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint10.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
The full scheme of the business process looks as follows:&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint12.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;
&lt;br /&gt;
Save this business process. Then go to your site, add a new Issue or close 
(edit) the existing one. The responsible user will receive an e-mail 
notification to his e-mail address with the list of active Issues. &lt;/p&gt;
&lt;p&gt;&lt;img alt="Creating Html reports in SharePoint" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/reports/html_2D00_reports_2D00_sharepoint11.png" style="max-width:680px;border:0;" border="0" /&gt;&lt;/p&gt;
&lt;h2&gt;Conclusion &lt;/h2&gt;
&lt;p&gt;
With the help of 
&lt;a href="http://www.virtosoftware.com/extended-workflow-activities-for-sharepoint-designer.aspx"&gt;Virto Software Workflow Activities Kit for SharePoint&lt;/a&gt;, we
&lt;b&gt;have 
found the solution for business tasks regarding HTML report generating based on 
SharePoint list data.&lt;/b&gt; Further versions may include table display improvement and 
adding HTML links on objects. This is helpful to navigate to objects from the 
e-mail message directly.&lt;br /&gt;
&lt;br /&gt;
You can find more detailed information about Virto Software Workflow Activities 
Kit usage and the full list of activities on the component site 
&lt;a href="http://www.virtosoftware.com/extended-workflow-activities-for-sharepoint-designer.aspx"&gt;http://www.virtosoftware.com/extended-workflow-activities-for-sharepoint-designer.aspx&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=42" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/activities/default.aspx">activities</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/reporting.+reports/default.aspx">reporting. reports</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/worfklow/default.aspx">worfklow</category></item><item><title>Use Case: Resetting and Recovering Forgotten AD Password Passwords in SharePoint</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2009/12/01/use-case-resetting-and-recovering-forgotten-ad-password-passwords-in-sharepoint.aspx</link><pubDate>Tue, 01 Dec 2009 10:04:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:11</guid><dc:creator>Edwin</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=11</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2009/12/01/use-case-resetting-and-recovering-forgotten-ad-password-passwords-in-sharepoint.aspx#comments</comments><description>&lt;h2&gt;Use Case: Resetting and Recovering Forgotten AD Passwords in SharePoint&lt;/h2&gt;
&lt;p&gt;For any organization with more than 10 employees and security policies that require users to have complex passwords that are subject to regular change, there is a &lt;b&gt;common problem when users forget their passwords.&lt;/b&gt; Usually, only contact administrator can restore or reset a forgotten password.&lt;/p&gt;
&lt;p&gt;Virtosoftware offers an alternative solution for SharePoint users with its web part Virto Passowrd Reset and Virto Active Directory User Service. These two applications, being integrated,&lt;b&gt; allow users to reset their passwords by themselves after correctly answering to a pre-defined security question.&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;h2&gt;What Is Virto Password Reset and Virto AD Service?&lt;/h2&gt;
&lt;p&gt;&lt;a target="_self" href="http://www.virtosoftware.com/Sharepoint-active-directory-user-services.aspx"&gt;&lt;b&gt;Virto AD Service is a web part for Microsoft SharePoint&lt;/b&gt;&lt;/a&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;that &lt;b&gt;allows authorized SharePoint users to easily manage their AD profiles&lt;/b&gt;. With Virto Active Directory User Service a user could easily change information on his mobile phone number, date of birth or any other parameter of his profile without contacting system administrator. &lt;br /&gt;&lt;b&gt;&lt;a target="_self" href="http://www.virtosoftware.com/sharepoint-password-reset-webpart.aspx"&gt;Virto Password Reset&lt;/a&gt; is a powerful and extremely simple tool for helping SharePoint users who forget their passwords &lt;/b&gt;or let them expire due to a password security policy. The web part allows such users to easily reset the password via SharePoint interface without contacting system administrator. With the special code, that is available with Virto Password Reset, the web part can be integrated to any web site or intranet, not just SharePoint.&lt;/p&gt;
&lt;h2&gt;How Does This Work?&lt;/h2&gt;
&lt;p&gt;Generally, the integrated web parts allow a user to &lt;b&gt;define an answer to a security question&lt;/b&gt;, filling a special field in his profile. W&lt;b&gt;hen user tries to reset his password, an answer to the question is required, verified, and if it is correct, the password is reset. &lt;/b&gt;&lt;/p&gt;
&lt;h2&gt;How to Implement This?&lt;/h2&gt;
&lt;p&gt;To implement the solution one needs to do four simple steps:&lt;br /&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp; Install Virto Active Directory Self User Service&lt;br /&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp; Add a field to AD user profile for an answer to a security question&lt;br /&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp; Install Virto Password Reset Web Part&lt;br /&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp; Select the added field in the Password Reset Web Part settings as an answer for security question&lt;/p&gt;
&lt;h2&gt;What Administrator Shoud Do?&lt;/h2&gt;
&lt;p&gt;Install Virto Active Directory User Service. Then go to &amp;ldquo;Site Actions &amp;ndash; Site Settings&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/passwordreset01.png" width="550" border="0" height="230" alt="" /&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;Follow the link &amp;ldquo;Virto Active Directory Service Settings&amp;rdquo;. &lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/passwordreset02.png" width="550" border="0" height="230" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Click &amp;ldquo;Manage Fields&amp;rdquo; and use &amp;ldquo;Add Field&amp;rdquo; to add a new field to the list.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/passwordreset03.png" width="550" border="0" height="230" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset04.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset04.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Enter required data and pay attention to the field &amp;ldquo;AD Name&amp;rdquo; (corresponding field from Active Directory). Then click &amp;ldquo;OK&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset01.png"&gt;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/680x0/__key/CommunityServer.Components.SiteFiles/passwordreset05.png" width="550" border="0" height="230" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset06.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset06.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The field will appear in the Active Directory Self User Service Web Part.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset07.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset07.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Go to the site where Virto Password Reset Web Part is installed. Use &amp;ldquo;Modify Shared Web Part&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset08.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset08.png" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Adjust web part for security question (see User Guide). Define the field (created with the Active Directory User Service) as a field with an answer to security question&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset09.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset09.png" alt="" /&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset10.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset10.png" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;What a User Shoud Do Before His Password Is Forgotten?&lt;/h2&gt;
&lt;p&gt;Go to SharePoint site where the Active Directory User Service is installed. Fill out the field &amp;ldquo;Secure Answer (Pet&amp;rsquo;s Name)&amp;rdquo;. Click &amp;ldquo;Save&amp;rdquo;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset11.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset11.png" alt="" /&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;h2&gt;What a User Shoud Do When Has His Password Forgotten?&lt;/h2&gt;
&lt;p&gt;Go to the site with anonymous access.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset12.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset12.png" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;br /&gt;Enter answer to the security question. Click &amp;ldquo;Submit&amp;rdquo;. If the answer is incorrect, a message will appear.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset13.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset13.png" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;When the answer is correct, password will be displayed and sent by e-mail&lt;/p&gt;
&lt;p&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/passwordreset15.png"&gt;&lt;img border="0" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/passwordreset15.png" alt="" /&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=11" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/active+directory/default.aspx">active directory</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/forgotten+password/default.aspx">forgotten password</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/password+reset/default.aspx">password reset</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/password+recover/default.aspx">password recover</category></item><item><title>Sending SMS Alerts in SharePoint 2010 over Office Mobile Service Protocol (OMS)</title><link>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2009/11/12/sending-sms-alerts-in-sharepoint-2010-over-office-mobile-service-protocol-oms.aspx</link><pubDate>Thu, 12 Nov 2009 12:30:00 GMT</pubDate><guid isPermaLink="false">e99c9df8-9212-4200-a8ba-19cefd3f5d83:1</guid><dc:creator>Oleg [Virtosoftware]</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://sharepointblog.virtosoftware.com/blogs/virtoteam/rsscomments.aspx?PostID=1</wfw:commentRss><comments>http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/2009/11/12/sending-sms-alerts-in-sharepoint-2010-over-office-mobile-service-protocol-oms.aspx#comments</comments><description>&lt;h2&gt;SMS Alerts in SharePoint 2010 over Office Mobile Service Protocol (OMS)&lt;br /&gt;&lt;/h2&gt;
&lt;h3&gt;The Service Overview&amp;nbsp;&lt;br /&gt;&lt;/h3&gt;
&lt;p&gt;In this post, I want to share the exciting news of &lt;strong&gt;SharePoint&amp;#39;s 2010 new featur&lt;/strong&gt;&lt;strong&gt;e&lt;/strong&gt;. Finally it&amp;#39;s possible to &lt;strong&gt;send SMS directly from SharePoint to mobile phones&lt;/strong&gt;. This feature was only available in some add-on components before (e.g. we applied this feature in Virto Extended Workflow Activity Kit and going to add it to our &lt;a target="_self" href="http://www.virtosoftware.com/alert-notification-webpart-for-sharepoint.aspx"&gt;Virto Alerts Web Part&lt;/a&gt; ). The advantages of sending SMS instead of Email messages are obvious: SMS alerts or reminders that are received on mobile phones are more preferred than Email messages that can be lost in the mass of spam. &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;strong&gt;Here&amp;#39;s what SharePoint 2010 offers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/oms.sharepoint01.png" border="0" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;The &lt;strong&gt;interface is standard as it&amp;#39;s very similar to previous versions&lt;/strong&gt; of the product. Adjustments are easy to do, simply enter the address of the&lt;strong&gt; Office Mobile Service (OMS) web-service&lt;/strong&gt; which you want to use for sending messages, then specify the connection parameters. Further details on Office Mobile Service is available below. The Test Service button checks if OMS web-service is accessible using provided URL (user name and password are not verified). This check is needed because OMS web-service URL depends on the mobile operator and country. &lt;br /&gt;&amp;nbsp; &lt;br /&gt;It&amp;#39;s now possible to &lt;strong&gt;select the method of sending alerts in alerts settings&lt;/strong&gt;. Email option is selected by default.&lt;/p&gt;
&lt;p&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/oms.sharepoint01.png" border="0" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Alerts &lt;strong&gt;delivery method&lt;/strong&gt; is displayed in the list of existing alerts.&lt;/p&gt;
&lt;h3&gt;&amp;nbsp;&lt;img style="border:0;" src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/oms.sharepoint03.png" border="0" alt="" /&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/h3&gt;
&lt;h2&gt;Office Mobile Service (OMS)&amp;nbsp;&lt;br /&gt;&lt;/h2&gt;
&lt;p&gt;SharePoint 2010 uses &lt;strong&gt;exterior servers similar to SMTP servers for sending SMS alerts&lt;/strong&gt;. However, &lt;strong&gt;Microsoft &lt;/strong&gt;started development and &lt;strong&gt;promotion of their own protocol instead of using existing ones&lt;/strong&gt;. That is how &lt;strong&gt;Office Mobile Service (OMS) appeared.&amp;nbsp;&lt;/strong&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;This open protocol enables clients to&lt;strong&gt; send text and multimedia messages (mobile messages) remotely to the serve&lt;/strong&gt;r which processes these messages and delivers them to mobile phones.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;Typical scenario of utilizing this protocol is data transfer between computer application and mobile phone. &lt;strong&gt;The recipient can answer messages and the server in return will deliver the answer by SMTP protocol&lt;/strong&gt;, i.e. by email.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;Key quality of this protocol is that it&amp;#39;s built on base of &lt;strong&gt;HTPP(S) and SOAP protocols&lt;/strong&gt;. &amp;nbsp; &amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;This means that in fact &lt;strong&gt;SMS gateway must support typified web-service&lt;/strong&gt;. What do you get from web-service? What you get is the ability to send SMS from any platform you want.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;The protocol is being developed at the moment and version 0.2 from 08/28/2009 was available when the article was published. &amp;nbsp;For promotion of their protocol and simplifying server search, Microsoft represented web-service &lt;a target="_self" href="http://messaging.office.microsoft.com/HostingProviders.aspx"&gt;http://messaging.office.microsoft.com/HostingProviders.aspx&lt;/a&gt; that helps to receive the list of providers, which supports OMS protocol and message delivery to your operator.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://sharepointblog.virtosoftware.com/cfs-file.ashx/__key/CommunityServer.Components.SiteFiles/oms.sharepoint05.png"&gt;&lt;img src="http://sharepointblog.virtosoftware.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Components.SiteFiles/oms.sharepoint05.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;All you need to do is &lt;strong&gt;decide which provider to use, complete the agreement, then adjust the SharePoint connection parameters&lt;/strong&gt; and start working.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;Some &lt;strong&gt;providers advertise themselves&lt;/strong&gt; not only for clients but for mobile operators as well. They offer automatic adding to the list of the Office Mobile Service Providers.&amp;nbsp;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&lt;br /&gt;To view the &lt;strong&gt;full specifications of OMS&lt;/strong&gt;, please go to: &lt;a target="_self" href="http://msdn.microsoft.com/en-us/library/dd774103.aspx%20"&gt;http://msdn.microsoft.com/en-us/library/dd774103.aspx&amp;nbsp;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://sharepointblog.virtosoftware.com/aggbug.aspx?PostID=1" width="1" height="1"&gt;</description><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/oms/default.aspx">oms</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/sms/default.aspx">sms</category><category domain="http://sharepointblog.virtosoftware.com/blogs/virtoteam/archive/tags/alerts/default.aspx">alerts</category></item></channel></rss>