<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Cloud Lab</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/carloshm/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/carloshm/feed.xml</link>
    <description>Azure | Office | SharePoint | Search | Architecture | Stuff</description>
    <lastBuildDate>Tue, 16 Apr 2019 04:51:18 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Get productive in your vacations, when something important happens</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/get-productive-in-your-vacations-when-something-important-happens</link>
      <pubDate>Mon, 08 Aug 2016 10:38:24 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/?p=4065</guid>
      <description><![CDATA[Hi,

Today I received an email from one of my colleagues as an OOO message:
I'm OOO on vacation...]]></description>
      <content:encoded><![CDATA[Hi,

Today I received an email from one of my colleagues as an <a href="https://en.wiktionary.org/wiki/ooo">OOO</a> message:
<blockquote>I'm OOO on vacation with bad internet connectivity, I will check the mail occasionally, if this is important please mark it as urgent.</blockquote>
I thought, will the important flag make any difference? will he review only an Outlook view with marked as important? anything else?

This brought to my mind a pretty simple scenario that you can test in your vacations (However, I recommend just to NOT check mail in your vacations ;)):
<h4>How to use <a href="https://flow.microsoft.com">Microsoft Flow</a> to manage very critical mails in my vacations</h4>
Imagine you don't want to check your mail during your vacations, but there is some important information triggered while you are out and you would like to be notified. It could be a manager mail flag as important, a pending task with a specific subject, etc..

There are <a href="https://flow.microsoft.com/en-us/blog/mobile-ios-launch/">many examples </a>to create and build your own <a href="https://flow.microsoft.com/en-us/galleries/public/templates/78a65bdbbc8c45b1be216252be2deabe/get-a-push-notification-for-important-emails/">productivity flow</a>.

You could use Microsoft Flow to automate checking your inbox for important messages, and then be notified with a SMS. To do so follow these steps:
<ol>
 	<li>Login into Microsoft Flow and <a href="https://flow.microsoft.com/en-us/galleries/public/templates/f2b8e5f4-b40a-447f-8d8e-29bc90d4c7d4/get-a-text-notification-when-you-receive-an-email-from-your-manager/">start from a template</a> (you can play later to build your own)</li>
 	<li>You  will need a <a href="https://www.twilio.com">Twilio account </a>to send a message. <a href="https://github.com/MSFTMan">@Deon Herbert</a> added in the <a href="https://azure.microsoft.com/en-us/documentation/articles/connectors-create-api-twilio/#prerequisites">prerequisites of his article</a> a good summary</li>
 	<li>At this point you will need to add your own settings:
<ol>
 	<li>On <strong>New Email</strong>, click <em>Show advanced options </em>and change Importance to High</li>
 	<li>On <strong>Send Message</strong>, add your Twilio phone number, and the phone number you want to be notified. You can change the text of the SMS as well.</li>
</ol>
</li>
</ol>
<a href="https://msdnshared.blob.core.windows.net/media/2016/08/twilio_sms_office365.png"><img width="683" height="385" class=" wp-image-4075 aligncenter" alt="twilio_sms_office365" src="https://msdnshared.blob.core.windows.net/media/2016/08/twilio_sms_office365-1024x577.png" /></a><a href="https://msdnshared.blob.core.windows.net/media/2016/08/twilio_sms_office365.png"></a>

<a href="https://msdnshared.blob.core.windows.net/media/2016/08/mail_to_sms.png"><img width="693" height="228" class="wp-image-4085 aligncenter" alt="mail_to_sms" src="https://msdnshared.blob.core.windows.net/media/2016/08/mail_to_sms-1024x337.png" /></a>Voilà, you will be notified when the rules get a match!!

Bye!]]></content:encoded>
    </item>
    <item>
      <title>How to send a New Message using SMTP in Office365</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/how-to-send-a-new-message-using-smtp-in-office365</link>
      <pubDate>Tue, 10 May 2016 00:03:54 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/?p=4055</guid>
      <description><![CDATA[Hi,

I found this question coming too often :) so, I thought it would be interesting to share it...]]></description>
      <content:encoded><![CDATA[Hi,

I found this question coming too often :) so, I thought it would be interesting to share it here!

First you can check and review <a title="How to set up a multifunction device or application to send email using Office 365" href="https://technet.microsoft.com/en-us/library/dn554323(v=exchg.150).aspx" target="_blank">How to set up a multifunction device or application to send email using Office 365</a>, as it will guide you through the possible options:
<ol>
	<li>SMTP submission</li>
	<li>Direct send</li>
	<li>SMTP relay</li>
</ol>
I will describe a showcase a quick example for the first one.
<h3>SMTP Client Submission</h3>
If your device or application can authenticate and send email using an Office 365 mailbox account, this is the recommended method. The device or application sends mail using SMTP client submission. In the following diagram, the application or device in your organization’s network uses SMTP client submission and authenticates with a mailbox in Office 365.

<a href="https://msdnshared.blob.core.windows.net/media/2016/05/IC8002351.png"><img class="  aligncenter wp-image-4057 size-full" src="https://msdnshared.blob.core.windows.net/media/2016/05/IC8002351.png" alt="IC800235[1]" width="611" height="420" /></a>

&nbsp;
<h3>Requirements</h3>
<ul>
	<li><strong>Authentication: </strong>You must be able to configure a user name and password to send email on the device.</li>
	<li><strong>Mailbox:</strong> You must have a licensed Office 365 mailbox to send email from.</li>
	<li><strong>Transport Layer Security (TLS):</strong> Your device must be able to use TLS version 1.0 and above.</li>
	<li><strong>Port: </strong>Port 587 (recommended) or port 25 is required and must be unblocked on your network. Some network firewalls or ISPs block ports—especially port 25.</li>
</ul>
<h3><span style="line-height: 1.5">Limitations</span></h3>
You can only send from one email address unless your device can store login credentials for multiple Office 365 mailboxes. Office 365 imposes a limit of 30 messages sent per minute, and a limit of 10,000 recipients per day.
<h3>Example</h3>
<strong>Windows Key -&gt; PowerShell (hit enter) -&gt; Type</strong>
<p style="padding-left: 30px">$mail = New-Object System.Net.Mail.MailMessage( "mailfrom@domain.com" , "mailto@domain.com" )
$mail.Subject = "Correo enviado desde powershell"
$mail.IsBodyHtml = $true
$mail.Body = @"
How to send an email using SMTP Office365 and PowerShell&lt;br&gt;
Check technet for details.
"@</p>
<p style="padding-left: 30px">$client = New-Object System.Net.Mail.SmtpClient( "smtp.office365.com" , 587 )
$client.EnableSsl = $true
$client.Credentials = New-Object System.Net.NetworkCredential( "user@tenant.com", "password" )
$client.Send( $mail )</p>
Namaste!]]></content:encoded>
    </item>
    <item>
      <title>Troubleshooting and Fix bluetooth in Surface Pro</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/troubleshooting-and-fix-bluetooth-in-surface-pro</link>
      <pubDate>Fri, 25 Mar 2016 11:37:27 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/?p=3903</guid>
      <description><![CDATA[Good Day!

As this has happened some times now, I would like to share resources for all of you...]]></description>
      <content:encoded><![CDATA[Good Day!

As this has happened some times now, I would like to share resources for all of you (focus Windows 10, although you may find useful information for other versions.

<span style="text-decoration: underline"><strong>Scenario</strong></span>

You have made some change to your system, or have recently done some modifications to your network; and you may hibernate frequently. Somehow, you ended in a situation where you don't have bluetooth working and indeed, you are not able to connect your bluetooth mouse, keyboard, surface pen or phone.
<ul>
	<li>You open Notifications (Windows key + A) and there is no Bluetooth icon</li>
	<li>You Settings &gt; Devices and there is no Bluetooth option</li>
</ul>
<span style="text-decoration: underline"><strong>Troubleshooting steps</strong></span>

(1) Check that your wireless adapter is enabled. Look into Control Panel &gt; Network and Internet &gt;&gt; Network adapters

If it is disabled, enable it (right-click mouse on adapter and enable it). If you want to disable WIFI, do it through Notifications Pane Shortcut (Windows key + A &gt; Click WIFI)

<img class=" wp-image-3913  alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/03/Control_Panel_WIFI_Enabled-1024x403.png" alt="Control_Panel_WIFI_Enabled" width="640" height="252" />

This in 99% of the times brought up bluetooth options in the notification pane (and WIFI)

<a href="https://msdnshared.blob.core.windows.net/media/2016/03/No_Bluetooth_Icon.png"><img class=" size-medium wp-image-3923 alignnone" src="https://msdnshared.blob.core.windows.net/media/2016/03/No_Bluetooth_Icon-300x257.png" alt="No_Bluetooth_Icon" width="300" height="257" /></a>

(2) If your Surface Pro is in a docking station, take out from it and re-enable the WIFI (previous steps), and check Bluetooth services are started (Windows key + R &gt; services.msc). Generic <a title="Enable Bluetooth Devices in Control Panel for your mouse or keyboard" href="https://support.microsoft.com/en-us/kb/894035" target="_blank">KB Article</a>

(3) For other Windows 10 devices, you may review your drivers, and check and reinstall drivers from <a title="Bluetooth Software Updates &amp; Support" href="https://www.broadcom.com/support/?gid=2" target="_blank">Broadcom</a>, <a title="Drivers &amp; Software &gt; Bluetooth" href="https://downloadcenter.intel.com/search?keyword=bluetooth" target="_blank">Intel</a> or whatever vendor you have

Hopefully, you will be able after this to use your mouse and to be more productive! :)

See you!

P.S.

By the way, it is worth sharing <a title="Troubleshooting in Windows" href="http://windows.microsoft.com/en-us/windows/troubleshooting-windows#troubleshooting-windows=windows-10" target="_blank">Troubleshooter available</a> tools and <a title="Troubleshoot Bluetooth devices" href="https://www.microsoft.com/surface/en-us/support/hardware-and-drivers/troubleshoot-bluetooth-devices?os=windows-10" target="_blank">checklist</a>]]></content:encoded>
    </item>
    <item>
      <title>How to compose a New Message or Event and Populate fields in Office365</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/how-to-compose-a-new-message-or-event-and-populate-fields-in-office365</link>
      <pubDate>Sat, 16 Jan 2016 05:31:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2016/01/16/how-to-compose-a-new-message-or-event-and-populate-fields-in-office365/</guid>
      <description><![CDATA[Hi there,

I have seen many examples at customers where they have used Outlook Web Access (OWA) to...]]></description>
      <content:encoded><![CDATA[Hi there,

I have seen many examples at customers where they have used <a href="https://en.wikipedia.org/wiki/Outlook_on_the_web" title="Outlook Web Access (OWA)">Outlook Web Access (OWA)</a> to integrate (un)structured processes through zero-development effort, such as:
<ul>
 	<li>Open a new message from the user to send a question from the Employee Intranet</li>
 	<li>Populate mail with workflow information and use builtin user capabilities to add attachment files or policies</li>
 	<li>Automate Meetings or events in the user calendar</li>
</ul>
Recently one of our customers, moving to the cloud, ask for this functionality in Office365. As I didn't find any reference about it, I'm sharing for your benefit.

Special thanks to <a href="https://channel9.msdn.com/Events/Speakers/eduardo-melo" title="@EduardoMelo">@EduardoMelo</a> and <a href="https://channel9.msdn.com/Events/Speakers/venkat-ayyadevara" title="@VenkatAyyadevara">@VenkatAyyadevara</a> to get detailed information.

As commented, there is support available to programmatically invoke OWA mail and calendar event compose form. Because this is based on URL params, there are a number of limitations, including the limit on URL length of around 2048 chars which essentially makes it not adequate for 'reply' scenarios (where you are likely going to want to append significant amount of content in the message body).

<span style="text-decoration: underline"><strong>Compose new Message (Mail):</strong></span>

You need to append parameters to the Office365 OWA URL
<table border="0">
<tbody>
<tr>
<td><strong>Parameter</strong></td>
<td><strong>Value</strong></td>
</tr>
<tr>
<td>path</td>
<td> <em>/mail/action/compose</em></td>
</tr>
<tr>
<td>subject</td>
<td>Customer Service Request</td>
</tr>
<tr>
<td>body</td>
<td>Add your request here</td>
</tr>
<tr>
<td>to</td>
<td>service@domain.com</td>
</tr>
</tbody>
</table>
cc is not supported at this point.

For example:

<a href="https://outlook.office.com/owa/?path=/mail/action/compose">https://outlook.office.com/owa/?path=/mail/action/compose</a>

<a href="https://outlook.office.com/owa/?path=/mail/action/compose&amp;to=service@domain.com&amp;subject=Customer+Service+Request&amp;body=Add+Your+Request+here">https://outlook.office.com/owa/?path=/mail/action/compose&amp;to=service@domain.com&amp;subject=Customer Service Request&amp;body=Add+Your+Request+here</a>

<span style="text-decoration: underline"><strong>Compose a new appointment (Calendar):</strong></span>

You need to append parameters to the Office365 OWA URL
<table border="0">
<tbody>
<tr>
<td><strong>Parameter</strong></td>
<td><strong>Value</strong></td>
</tr>
<tr>
<td>path</td>
<td><em>/calendar/action/compose</em></td>
</tr>
<tr>
<td>subject</td>
<td>Sushi Training</td>
</tr>
<tr>
<td>body</td>
<td>Remember to bring your force!</td>
</tr>
<tr>
<td>location</td>
<td>Convention Center</td>
</tr>
<tr>
<td>startdt</td>
<td>2016-02-29T19:00:00</td>
</tr>
<tr>
<td>enddt</td>
<td>2016-03-01T00:00:05</td>
</tr>
</tbody>
</table>
For example:

<a href="https://outlook.office.com/owa/?path=/calendar/action/compose">https://outlook.office.com/owa/?path=/calendar/action/compose</a>

<a href="https://outlook.office.com/owa/?path=/calendar/action/compose&amp;subject=Sushi%20Training&amp;location=Convention%20Center&amp;startdt=2016-02-29T19%3A00%3A00&amp;enddt=2016-03-01T00%3A00%3A05&amp;body=Remember+to+bring+your+force!">https://outlook.office.com/owa/?path=/calendar/action/compose&amp;subject=Sushi%20Training&amp;location=Convention%20Center&amp;startdt=2016-02-29T19%3A00%3A00&amp;enddt=2016-03-01T00%3A00%3A05&amp;body=Remember+to+bring+your+force!</a>

Remember that for more complex scenarios, you have available <a href="https://dev.outlook.com/" title="Outlook API">Outlook API</a>, <a href="https://msdn.microsoft.com/office/office365/APi/mail-rest-operations" title="mail">mail</a>, <a href="https://msdn.microsoft.com/office/office365/APi/calendar-rest-operations" title="calendar ">calendar</a> and <a href="https://dev.outlook.com/RestGettingStarted" title="more">more</a>

<span style="text-decoration: underline"><strong>Experience:</strong></span>

The user experience when accessing the previous URLs is immersed in outlook web app (after login if required), and the user has the ability to open the mail or event through the right upper icon

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/3386.open_new_window.png"><img width="113" height="70" style="vertical-align: middle" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/3386.open_new_window.png" /></a>

Some screenshots to show the experience (Desktop - Firefox, Chrome, Explorer, Edge).

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/1563.compose_with_parameters_view_calendar.png"><img width="869" height="519" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/1563.compose_with_parameters_view_calendar.png" border="0" /></a>

<em>image for the Calendar event example</em>

<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/6428.compose_with_parameters_view_mail.png"><img width="874" height="522" alt="" src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/6428.compose_with_parameters_view_mail.png" border="0" /></a>

<em>image for the mail example</em>

Updated: 05/18/2017
<ol>
 	<li><span><span style="margin: 0px;color: black;font-family: 'Calibri',sans-serif;font-size: 12pt">URL for mail has added a /owa/ section</span></span></li>
 	<li><span>All the parameters should be in URL encoded(Hex value of the UTF-8 bytes), and</span></li>
 	<li style="margin: 0px;color: black;font-family: 'Calibri',sans-serif;font-size: 12pt;font-style: normal;font-weight: normal"><span>Outlook domain could be <a href="https://outlook.office.com/"><span style="color: #0000ff">https://outlook.office.com/</span></a> or <a href="https://outlook.live.com/"><span style="color: #0000ff">https://outlook.live.com</span></a></span></li>
</ol>
Thanks @Lynnette Zhong

Bye!

P.S.

If your are migrating from Exchange OnPremise, review it as the process is different from those versions.

The message created, based on the options configured by the user, will be saved as draft.

There is an issue with to parameter not being populated. <del>It will be resolved in following weeks.</del> Update is now deployed.]]></content:encoded>
    </item>
    <item>
      <title>Office 365 Import Service - Made Easy (and faster) the migration of your things to OneDrive and SharePoint</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/office-365-import-service-made-easy-and-faster-the-migration-of-your-things-to-onedrive-and-sharepoint</link>
      <pubDate>Wed, 16 Sep 2015 16:47:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2015/09/16/office-365-import-service-made-easy-and-faster-the-migration-of-your-things-to-onedrive-and-sharepoint/</guid>
      <description><![CDATA[Hi,
Yesterday was published a preview service that you may have been waiting for. Would you like to...]]></description>
      <content:encoded><![CDATA[<p>Hi,</p>
<p>Yesterday was published a preview service that you may have been waiting for. Would you like to move data faster to your awesome OneDrive for Business?</p>
<p>Would it be great to find out a quicker way to migrate content that you have on premise or that you have sanitized from your fileshares?</p>
<p>Take a look at <a title="Office 365 Import Service" href="https://blogs.office.com/2015/09/16/office-365-import-service-migration-to-sharepoint-online-and-onedrive-for-business-just-became-easier/">Office 365 Import Service</a>&nbsp;if your are in the described regions you can use this preview service.</p>
<p>From there you can check the steps to set it up https://technet.microsoft.com/en-us/library/mt210445.aspx</p>
<p>:)</p>
<p>Namaste!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>From Office UI Fabric to Office IT Scripts</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/from-office-ui-fabric-to-office-it-scripts</link>
      <pubDate>Fri, 04 Sep 2015 09:43:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2015/09/04/from-office-ui-fabric-to-office-it-scripts/</guid>
      <description><![CDATA[Hi,
This is the right time to start blogging again about Office and Windows. Just with the recent...]]></description>
      <content:encoded><![CDATA[<p>Hi,</p>
<p>This is the right time to start blogging again about Office and Windows. Just with the recent announcement of <a title="SharePoint Server 2016 Preview" href="https://blogs.office.com/2015/08/24/announcing-availability-of-sharepoint-server-2016-it-preview-and-cloud-hybrid-search/" target="_blank">SharePoint Server 2016 Preview</a>, and all things rolling out from <a title="Office 365" href="https://blogs.office.com">Office 365</a>, plus <a title="Windows 10 innovation" href="https://twitter.com/windows">Windows 10 innovation</a>&nbsp;next year will be awesome :). I wanted to highlight two initiatives that came out this summer:</p>
<p><strong>Office UI Fabric</strong> is a responsive, mobile-first, front-end framework for developers, designed to make it simple to quickly create web experiences using the Office Design Language. Think about it as <a title="your framework to build Office Add-ins and Apps" href="https://blogs.office.com/2015/08/31/introducing-office-ui-fabric-your-key-to-designing-add-ins-for-office/">your framework to build Office Add-ins and Apps</a>, no matter your platform. (remember coming cross-platform add-ins were announced at \\build). This will bring you:</p>
<ul>
<li>Common Style in your solutions aligned with Office across platforms</li>
<li>Reusable components to use and bind (a nice list is at https://github.com/OfficeDev/Office-UI-Fabric/blob/master/ghdocs/COMPONENTS.md )</li>
</ul>
<div>Check the resources available!</div>
<ol>
<li><a title="Design guidelines for Office Add-ins" href="https://msdn.microsoft.com/EN-US/library/mt484317.aspx">Design guidelines for Office Add-ins</a></li>
<li><a title="GitHub Repo with SourceCode and Documentation" href="https://github.com/OfficeDev/Office-UI-Fabric">GitHub Repo Office UI Fabric&nbsp;with SourceCode and Documentation</a></li>
<li><a title="Office 365 JavaScript controls" href="https://msdn.microsoft.com/en-us/office/office365/howto/javascript-controls">Office 365 JavaScript controls</a></li>
</ol>
<p>For the management/devops part :), the</p>
<p><strong>Office IT Pro Deployment Script project</strong>, is a <a title="new driven community GitHub project  " href="https://blogs.office.com/2015/08/19/introducing-the-office-it-pro-deployment-script-project/">new driven community GitHub project</a> were you can contribute in&nbsp;a collection of PowerShell scripts focus on simplifying IT activities. A gem there is<a title="  Office Click-To-Run Configuration XML Editor  " href="http://officedev.github.io/Office-IT-Pro-Deployment-Scripts/XmlEditor.html"> Office Click-To-Run Configuration XML Editor</a> a web based editor&nbsp;that allows you to graphically generate and edit the configuration file used with Office Click-To-Run deployments.&nbsp;Of Course this is an extension to the existing <a title="Powershell Repository  " href="http://powershell.office.com/">Powershell Repository</a> that you should chek out as well&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>So <a title="check the repo" href="https://github.com/OfficeDev/Office-IT-Pro-Deployment-Scripts">check the repo</a>, use it, give feedback and contribute!</p>
<p>Bye!</p>]]></content:encoded>
    </item>
    <item>
      <title>The importance of Cross Domain</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/the-importance-of-cross-domain</link>
      <pubDate>Sun, 08 Sep 2013 13:52:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2013/09/08/the-importance-of-cross-domain/</guid>
      <description><![CDATA[Just today I came across some information related to cross-domain scenarios I shared in the past,...]]></description>
      <content:encoded><![CDATA[<p>Just today I came across some information related to cross-domain scenarios I shared in the past, and some hints for SharePoint 2013, so I decided to write a note ;)<br />Today, cross-domain is certainly one of the first class scenarios in web development. <br />One of our customers wanted to understand how to solve it in their solutions and then we talked about the <a title="cross-domain pattern" href="http://ajaxpatterns.org/Cross-Domain_Proxy">cross-domain pattern</a>, and how there are <a title="several  " href="http://crossdomainproxy.codeplex.com/">several</a> <a title="projects  " href="http://sharepointproxypage.codeplex.com/">projects</a> that implement it.<br />Although in the past we have detailed information about it. From <a title="Using the Client to Bridge to External Services" href="http://msdn.microsoft.com/en-us/library/ff798363.aspx">Using the Client to Bridge to External Services</a>:</p>
<p style="padding-left: 30px;"><em>When you implement your client-side logic in a Silverlight application, there are two approaches you can use to access services in other domains from the client. The first approach<br />is to deploy a service facade, or proxy, to the domain that hosts your SharePoint server. This allows your Silverlight application to access the service within its own domain and avoids any cross-domain issues.</em></p>
<p style="padding-left: 30px;"><em>You can also use this approach for JavaScript clients. The principal advantage is that the services facade can reuse the credentials associated with the browser session in order to<br />authenticate the consumer of the service. However, there are various disadvantages. The approach adds an additional "hop" to the service interactions. It can be complicated to preserve the identity of a user across a double hop to the service; for example, NTLM authentication cannot be used over a double hop. This approach also requires that you develop and deploy a services facade. If you are constrained to the sandbox execution environment,<br />you may also be unable to deploy this kind of server-side component. Therefore, the reference implementation does not demonstrate this approach.</em></p>
<p style="padding-left: 30px;"><em>The second approach is to use the Silverlight application to access the external service directly. As described in <a href="http://msdn.microsoft.com/en-us/library/ff798413.aspx">RIA Technologies: Benefits, Tradeoffs, and Considerations</a>, the domain that hosts the service must define a client access policy (clientaccesspolicy.xml) file that permits access from Silverlight clients across domain boundaries. The Silverlight External Service interface in the reference implementation demonstrates this by deploying a service to a different port (which constitutes a different domain) on the SharePoint server.</em></p>
<p>This pattern was/is very important in the new apps for SharePoint, where we leverage this functionality with the <a title="cross domain library" href="http://msdn.microsoft.com/en-us/library/fp161183.aspx">cross domain library</a>&nbsp;and indeed you can find it at all levels:<a title="SPWebApplication<span>.</span>CrossDomainPhotosEnabled  " href="http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.spwebapplication.crossdomainphotosenabled.aspx">SPWebApplication<span>.</span>CrossDomainPhotosEnabled</a>&nbsp;just <a title="SharePoint 2013: Enabling cross domain profile pictures" href="http://www.wictorwilen.se/sharepoint-2013-enabling-cross-domain-profile-pictures">check out Wictor post</a>!</p>
<p>Bye!.</p>
<p>By the way,&nbsp;one of the articles I&nbsp;found was <a title="the Secure Cross-Domain Communication in the Browser&amp;nbsp;" href="http://msdn.microsoft.com/en-us/library/bb735305.aspx">the Secure Cross-Domain Communication in the Browser</a>&nbsp;written by <a href="http://dannythorpe.com/about/">http://dannythorpe.com/about/</a>&nbsp;involved in the past in the &nbsp;cross-domain in-browser communication channel API for Windows Live.&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>How to use Query rules and display templates to detect the intent of your users</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/how-to-use-query-rules-and-display-templates-to-detect-the-intent-of-your-users</link>
      <pubDate>Sat, 15 Dec 2012 15:17:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2012/12/15/how-to-use-query-rules-and-display-templates-to-detect-the-intent-of-your-users/</guid>
      <description><![CDATA[Hi,
I'm pretty sure you have tried to search in Google or Bing the answer to a math operation, and...]]></description>
      <content:encoded><![CDATA[<p>Hi,</p>
<p>I'm pretty sure you have tried to search in Google or Bing the answer to a math operation, and you got an instant result that matches exactly that.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/0601.Bing_Google.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/0601.Bing_5F00_Google.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/0601.Bing_Google.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/0601.Bing_5F00_Google.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>When you read about this scenario,talking <a title="about new search features in SharePoint 2013" href="http://technet.microsoft.com/en-us/library/ee667266(v=office.15)#itpro_WhatsNewEntSrch_RelevanceNew">about SharePoint 2013</a>, "<em>A search result, suggestion, or recommendation is more relevant when it better satisfies the intent of the person who issues the query</em>", you can see how powerful can be to "understand" what your users are trying&nbsp;to find, and as a result give them that specific answer.</p>
<p>I will show you how to include that behavior in SharePoint 2013 using the new features. Specifically <a title="Query Rules" href="http://blogs.technet.com/b/speschka/archive/tags/Query+Rules/">Query Rules</a> and <a title="Custom Display Templates" href="http://blogs.technet.com/b/speschka/archive/tags/Display+Templates/">Custom Display Templates</a>. I will not cover here what are those features, you have great info in Steve Peschka blog (well may be next year I will talk about just a little bit ;)).</p>
<p>Let's show the result and then go through the steps:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/2844.SharePoint_Instant_Answer.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/2844.SharePoint_5F00_Instant_5F00_Answer.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/2844.SharePoint_Instant_Answer.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/2844.SharePoint_5F00_Instant_5F00_Answer.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Here the user has asked for the result of 12*5, this was a match for the configured condition (Query Rule)&nbsp;and then a specific "relevant" result was shown (Result Block) with a custom visualization (Display Template). You can just start imagine different examples where you can add Instant answers to your users in your organization:</p>
<ol>
<li>Translate content with action words, "Translate some_fancy_word to spanish"</li>
<li>Integrate Line of Business applications, "Create a new support case" "Projects with Customer X"</li>
<li>Get specific information, "Last report for Customer Y"</li>
</ol>
<p>to mention some examples.</p>
<p>So to set up the scenario with the math operation, the following elements will need to be created and deployed,</p>
<p><strong>Item_Calculator.html (and a file associated with it named Item_Calculator.js)</strong></p>
<p>This will display the calculator and will manage the math operations. A summary of the most relevant parts (Item_Calculator.html):</p>
<p><span style="text-decoration: underline;">Head tag</span></p>
<p>General properties (ex. display template name), design view styles and the necessary properties from the search service. In the scenario chosen none specific managed property will be used as&nbsp; the result is based on&nbsp;just the&nbsp;query.</p>
<p><span style="text-decoration: underline;">Body tag</span></p>
<p>Before calculators' container (div) the styles and JavaScript code will be referenced, in order to add the functionality and visualization code.</p>
<pre class="scroll"><code class="js">&lt;script&gt;<br /> $includeCSS(this.url, "~sitecollection/Style Library/calc/style.css");<br /> $includeLanguageScript(this.url, "~sitecollection/Style Library/calc/script.js");<br /> &lt;/script&gt;</code>&nbsp;</pre>
<p>then all the specific HTML code that will be rendered will be inside the &lt;div id="Item_Calculator"&gt;.Here a callback to the final calculation, after control rendering, will be executed with the user's query.</p>
<pre class="scroll"><code class="js">&lt;!--#_<br /> AddPostRenderCallback(ctx, function()<br /> { <br /> calculate(document.getElementById('box').value);<br /> });<br /> <br /> if(!$isNull(ctx.DataProvider)){<br /> var calValue = ctx.DataProvider.get_currentQueryState().k;<br /> _#--&gt;<br /> </code></pre>
<p>the user's query will be put in the calculator's box with its value</p>
<pre class="scroll"><code class="html">&lt;input id="box" type="text" value="_#= $htmlEncode(calValue) =#_"&gt;</code></pre>
<p>Item_Calculator.html and Item_Calculator.js should be placed in "/_catalogs/masterpage/display templates" OOB folder</p>
<p>script.js and style.css should be placed in "/Style Library/calc/" custom folder</p>
<p><strong>Query Rule</strong></p>
<p>On the other hand, a rule will need to be configured matching this query and using the result.</p>
<p>You need to go to <em>Site Settings-&gt;Query Rules</em> and create a new Rule based on a source (in my case Local SharePoint Results), with the following information: a name, the condition (Advanced Query Match as we want to include a regular expression that matches the operations: [^d]*[/*/+][^d]*) and the result block; with defaults, one result and our Calculator Item Display Template.</p>
<p>&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/6318.Query_Rule_Calculator.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/6318.Query_5F00_Rule_5F00_Calculator.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/6318.Query_Rule_Calculator.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/6318.Query_5F00_Rule_5F00_Calculator.png" alt="" border="0" /></a></p>
<p>This will allow the system to detect when a math operation is requested and display the result block previously configured.</p>
<p>You can download the source code from <a title="codeplex" href="http://searchextensions.codeplex.com/releases/view/99151">codeplex</a>.</p>
<p>&nbsp;There were some things that came out doing this, that I will talk about in next posts: <em>eval is evil, browser support of JSON</em>, <em>debugging display templates</em>, <em>display templates pipeline and circular references</em></p>
<p>Ciao!</p>]]></content:encoded>
    </item>
    <item>
      <title>SharePoint Network Monitor Parsers - Office 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/sharepoint-network-monitor-parsers-office-2013</link>
      <pubDate>Thu, 08 Nov 2012 07:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2012/11/08/sharepoint-network-monitor-parsers-office-2013/</guid>
      <description><![CDATA[Ciao!
Do you remember this post? :) I do. Really nice to see that you can use Netmon with...]]></description>
      <content:encoded><![CDATA[<p>Ciao!</p>
<p>Do you remember <a title="NetWork Monitor SharePoint Parsers" href="http://blogs.msdn.com/b/carloshm/archive/2010/01/05/sharepoint-labs-network-monitor-sharepoint-parsers.aspx">this post</a>? :) I do. Really nice to see that you can use <a title="Netmon with SharePoint" href="http://www.microsoft.com/en-us/download/details.aspx?id=22419">Netmon with SharePoint</a>, just one year after my "prediction" :)</p>
<p>Although the original place was <a title="Netmon parsers" href="http://nmparsers.codeplex.com">codeplex</a>, latest versions had moved to <a title="Microsoft Connect  Netmon Parsers" href="https://connect.microsoft.com/site216/Network%20Monitor%20Parsers">Microsoft Connect</a> (Windows and SQL).</p>
<p>So how will it look like? You will need to install netmon, the specific SharePoint parsers...and have an installation of SharePoint.</p>
<p>You have a great article about <a title="Using Network Monitor with the Microsoft Office and SharePoint Products Parsers" href="http://msdn.microsoft.com/en-us/library/hh372964.aspx">Using Network Monitor with the Microsoft Office and SharePoint Products Parsers</a>, so I will just share a quick scenario with SharePoint 2013.</p>
<p>There are many filters available, although from the two samples list I put, just the first one exists: MS-SITEDATS.npl.(I would say that due the fact of the evolution in the search space with SharePoint 2013, for search,filters&nbsp;will come in the future).</p>
<p>This will be my scenario: Windows Server 2012, SharePoint Server 2013 and Office 2013. The installation of Microsoft Network Monitor&nbsp;3.4 went like a charm, although Windows 8 is not listed as supported. Then the Network Monitor Parsers <span style="text-decoration: line-through;">3.4.2590</span> 3.4.2774&nbsp;and SharePoint parsers.</p>
<p>You will need to install version 3.4.2774 instead of the suggested in downloads section, as the latest will give you a "<strong>The parser dotnetremotinghttpchannel.npl installed by the NetWorkMonitor_Parsers package is not compatible with this package. Please visit <a href="http://nmparsers.codeplex.com/releases">http://nmparsers.codeplex.com/releases</a> for more information</strong>" error in the SharePoint parsers installation.</p>
<p>&nbsp;We have the environment available, so:</p>
<ol>
<li>Open Network monitor-&gt;parser profiles-&gt;Parser profiles options-&gt;[right click Office]-&gt;Set As Active</li>
<ol>
<li>This will make available the SharePoint parsers</li>
</ol>
<li>New Capture -&gt; Start</li>
<li>Open Word 2013 -&gt; new Halloween template</li>
<li>Save into a SharePoint Site</li>
</ol>
<p>you can see the use of <a title="MSFSSHTTP" href="http://technet.microsoft.com/en-us/library/gg441256.aspx#section3MSFSSHTTP">MSFSSHTTP</a>.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/5543.msfsshttp_parser_filters.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/5543.msfsshttp_5F00_parser_5F00_filters.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/5543.msfsshttp_parser_filters.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/5543.msfsshttp_5F00_parser_5F00_filters.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Bye!</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Windows 8 snapped view and SharePoint 2013</title>
      <link>https://docs.microsoft.com/archive/blogs/carloshm/windows-8-snapped-view-and-sharepoint-2013</link>
      <pubDate>Mon, 05 Nov 2012 06:46:00 GMT</pubDate>
      <dc:creator><![CDATA[Carlos hm]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.msdn.microsoft.com/carloshm/2012/11/05/windows-8-snapped-view-and-sharepoint-2013/</guid>
      <description><![CDATA[Hi everyone!,
I'm just returning back to share with you 1 year of ideas :) It is the right time,...]]></description>
      <content:encoded><![CDATA[<p>Hi everyone!,</p>
<p>I'm just returning back to share with you 1 year of ideas :) It is the right time, just with SharePoint Server 2013,Windows Phone 8&nbsp;and Windows 8 out there (and many many new things).</p>
<p>As I was working&nbsp;in SharePoint Server 2013&nbsp;using the <a title="IE App" href="http://windows.microsoft.com/en-US/windows-8/internet-explorer">IE App</a> on Windows 8, I realized that <a title="snapped view" href="http://msdn.microsoft.com/es-es/library/ie/hh708740(v=vs.85).aspx">snapped view</a> is really useful to interact between apps or to do some multithreaded work ;). Just to mention the most common, in order to drag and drop files &iexcl;you need it!. I<span class="hps">f</span> <span class="hps">you test</span> <span class="hps">it</span><span>, you will discover</span> <span class="hps">that its use</span> <span class="hps">is cumbersome</span><span>, as the full page is auto-scaled. You can read more info in the IE Blog: <a title="Adapting Your Site to Different Window Sizes" href="http://blogs.msdn.com/b/ie/archive/2012/06/19/adapting-your-site-to-different-window-sizes.aspx">Adapting Your Site to Different Window Sizes</a>, and an example is shown in the screenshot below:</span></p>
<p><span><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/1440.sharepoint_2013_snapped_view.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/1440.sharepoint_5F00_2013_5F00_snapped_5F00_view.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/1440.sharepoint_2013_snapped_view.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/1440.sharepoint_5F00_2013_5F00_snapped_5F00_view.png" alt="" width="537" height="298" border="0" /></a></span></p>
<p>Reviewing one of my posts about <a title="media queries" href="http://blogs.msdn.com/b/carloshm/archive/2011/03/22/media-queries-with-your-favorite-platform.aspx">media queries</a>, I did a quick test, in order to improve the experience with snapped view mode. I added a reference to a custom css, with</p>
<pre class="scroll"><code class="css">@media screen and (max-width: 400px) {<br /> <br /> @-ms-viewport {width: 400px;} <br /> <br /> #sideNavBox {display:none;}<br /> <br /> #mysite-titlerow {display:none;}<br /> <br /> #contentBox {margin-left:10px;min-width:200px;}<br /> <br /> #fullscreenmodebox {display:none;}<br /> <br /> #onetidDoclibViewTbl0 th:nth-child(5){display:none;}<br /> <br /> #onetidDoclibViewTbl0 th:nth-child(6){display:none;}<br /> <br /> #onetidDoclibViewTbl0 th:nth-child(7){display:none;}<br /> <br /> #onetidDoclibViewTbl0 td:nth-child(5){display:none;}<br /> <br /> #onetidDoclibViewTbl0 td:nth-child(6){display:none;}<br /> <br /> #onetidDoclibViewTbl0 td:nth-child(7){display:none;}<br /> <br /> }<br /> </code></pre>
<p>&nbsp;to remove title, leftnav and OOB columns in the list view (this test was done with a document library and default behaviour). Then you can see the experience is a bit different :)</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/0407.sharepoint_2013_snapped_view_media_query.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/0407.sharepoint_5F00_2013_5F00_snapped_5F00_view_5F00_media_5F00_query.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/0407.sharepoint_2013_snapped_view_media_query.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/0407.sharepoint_5F00_2013_5F00_snapped_5F00_view_5F00_media_5F00_query.png" alt="" border="0" /></a></p>
<p>&nbsp;a large image to see differences:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/5582.auto-scaled_vs_media_query_snapped_view.png" original-url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/5582.auto_2D00_scaled_5F00_vs_5F00_media_5F00_query_5F00_snapped_5F00_view.png"><img src="https://msdnshared.blob.core.windows.net/media/MSDNBlogsFS/prod.evol.blogs.msdn.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/54/00/5582.auto-scaled_vs_media_query_snapped_view.png" original-url="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-54-00/5582.auto_2D00_scaled_5F00_vs_5F00_media_5F00_query_5F00_snapped_5F00_view.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Maybe in the future we have this sort of behaviour OOB in SharePoint, but you should think about it when you customize, configure&nbsp;or build your Apps.</p>
<p>Namaste!&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>