{"id":403,"date":"2018-06-22T14:28:00","date_gmt":"2018-06-22T12:28:00","guid":{"rendered":"https:\/\/junarnoalg.wordpress.com\/?p=403"},"modified":"2024-04-16T17:47:46","modified_gmt":"2024-04-16T15:47:46","slug":"onenotemeeting","status":"publish","type":"post","link":"https:\/\/blog.teamy.be\/index.php\/2018\/06\/22\/onenotemeeting\/","title":{"rendered":"Cr\u00e9ation de pages OneNote pour les meeting"},"content":{"rendered":"<p>Environnement technique : Microsoft Flow, Office 365, OneDrive Entreprise, Exchange Online<\/p>\n<p>La plateforme Microsoft Flow propose de nombreux mod\u00e8les de flux tout fait.<\/p>\n<p>Parmi ces mod\u00e8les, il y en a un qui est vraiment utile pour le suivi de vos r\u00e9unions.<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image001.png\"><img fetchpriority=\"high\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image001\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image001_thumb.png\" alt=\"clip_image001\" width=\"364\" height=\"182\" border=\"0\" \/><\/a><\/p>\n<p>Le mod\u00e8le par d\u00e9faut propos\u00e9 par Flow, cr\u00e9e un page OneNote vierge 15 minutes avant chacune de vos r\u00e9unions.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nOutlook et OneNote<\/strong><\/p>\n<p>Dans Outlook, vous avez la possibilit\u00e9 de cr\u00e9er une page OneNote li\u00e9e \u00e0 un rendez-vous.<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image002.png\"><img decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image002\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image002_thumb.png\" alt=\"clip_image002\" width=\"364\" height=\"232\" border=\"0\" \/><\/a><\/p>\n<p>Le r\u00e9sultat est int\u00e9ressant, mais le flux Microsoft par d\u00e9faut est loin de donner le m\u00eame r\u00e9sultat, on est m\u00eame tr\u00e8s loin d&rsquo;avoir quelque chose d&rsquo;exploitable.<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image003.png\"><img decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image003\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image003_thumb.png\" alt=\"clip_image003\" width=\"364\" height=\"126\" border=\"0\" \/><\/a><\/p>\n<p>La page cr\u00e9\u00e9e n&rsquo;a pas de titre et ne contient aucune information sur le meeting !<\/p>\n<p>Assez d\u00e9cevant comme r\u00e9sultat en d\u00e9finitif.<\/p>\n<p>Nous allons donc partir sur ce flux basique pour en faire quelque chose de plus int\u00e9ressant en terme de suivi.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nCr\u00e9ation du flux<\/strong><\/p>\n<p>Le bloc-notes doit se trouver imp\u00e9rativement dans un OneDrive Entreprise !<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image004.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image004\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image004_thumb.png\" alt=\"clip_image004\" width=\"364\" height=\"248\" border=\"0\" \/><\/a><\/p>\n<p>Au moment de la cr\u00e9ation du flux, il est pr\u00e9f\u00e9rable de passer en mode \u00e9dition avanc\u00e9 !<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image005.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image005\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image005_thumb.png\" alt=\"clip_image005\" width=\"364\" height=\"199\" border=\"0\" \/><\/a><\/p>\n<p>Bien que ce flux soit int\u00e9ressant, la note cr\u00e9\u00e9e n&rsquo;est pas satisfaisante, car elle ne reprend pas d&rsquo;informations utiles concernant vos r\u00e9unions.<\/p>\n<p>L&rsquo;objectif ici est de cr\u00e9er une note qui reprenne les informations suivantes des r\u00e9unions :<\/p>\n<ul>\n<li>Sujet de la r\u00e9union<\/li>\n<li>Participants de la r\u00e9union<\/li>\n<li>Lieu de la r\u00e9union<\/li>\n<li>Date et heure de la r\u00e9union<\/li>\n<li>Contenu de la r\u00e9union<\/li>\n<li>Organisateur de la r\u00e9union<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nFormat d&rsquo;une page OneNote<\/strong><\/p>\n<p>Une page OneNote r\u00e9pond \u00e0 une structure HTML standard et simpliste.<\/p>\n<p><em>&lt;html&gt;<\/em><\/p>\n<p><em>&lt;head&gt;<\/em><\/p>\n<p><em>&lt;title&gt;Subject from Dynamic Content&lt;\/title&gt;<\/em><\/p>\n<p><em>&lt;\/head&gt;<\/em><\/p>\n<p><em>&lt;body&gt;Body from Dynamic Content&lt;\/body&gt;<\/em><\/p>\n<p><em>&lt;\/html&gt;<\/em><\/p>\n<p>Nous allons donc profiter de cette structure pour construire un contenu de page plus riche que ce qui est propos\u00e9 par d\u00e9faut.<\/p>\n<p>Voici la structure HTML que nous allons impl\u00e9menter :<\/p>\n<p><em>&lt;html&gt;<\/em><\/p>\n<p><em>&lt;head&gt;&lt;title&gt;\u200b&lt;\/title&gt;&lt;\/head&gt;<\/em><\/p>\n<p><em>&lt;body&gt;<\/em><\/p>\n<p><em>D\u00e9but de r\u00e9union : \u200b&lt;br&gt;<\/em><\/p>\n<p><em>Lieu : &lt;br&gt;<\/em><\/p>\n<p><em>Organisateur : &lt;br&gt;<\/em><\/p>\n<p><em>Participants : &lt;br&gt;&lt;br&gt;<\/em><\/p>\n<p><em>Message : &lt;br&gt;<\/em><\/p>\n<p><em>Note :&lt;br&gt; <\/em><\/p>\n<p><em>&lt;\/body&gt;<\/em><\/p>\n<p><em>&lt;\/html&gt;<\/em><\/p>\n<p>Il faudra juste ins\u00e9rer les bons objets aux endroits souhait\u00e9s<\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nCr\u00e9ation d&rsquo;une page OneNote<\/strong><\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image006.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image006\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image006_thumb.png\" alt=\"clip_image006\" width=\"364\" height=\"185\" border=\"0\" \/><\/a><\/p>\n<p>La plupart des objets ins\u00e9r\u00e9s peuvent \u00eatre utilis\u00e9s tel quel :<\/p>\n<ul>\n<li>Object : Sujet de la r\u00e9union<\/li>\n<li>DisplayName : Lieu de la r\u00e9union<\/li>\n<li>Content : Message de la r\u00e9union<\/li>\n<\/ul>\n<p>Mais d&rsquo;autres doivent \u00eatre format\u00e9s correctement<\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nD\u00e9but de la r\u00e9union <\/strong><\/p>\n<p>Attention que la date de la r\u00e9union est format\u00e9e UTC, et donc dans mon cas je pr\u00e9f\u00e8re la convertir au format Europe de l&rsquo;ouest !<\/p>\n<p><em>convertTimeZone(triggerBody()?[&lsquo;Start&rsquo;],&rsquo;UTC&rsquo;,&rsquo;W. Europe Standard Time&rsquo;,&rsquo;dd\/MM\/yyyy HH:mm&rsquo;)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nOrganisateur <\/strong><\/p>\n<p>Cet objet renvoi la cha\u00eene suivante : {\u00ab\u00a0EmailAddress\u00a0\u00bb:{\u00ab\u00a0Name\u00a0\u00bb:\u00a0\u00bbArnaud JUND\u00a0\u00bb,\u00a0\u00bbAddress\u00a0\u00bb:\u00a0\u00bba.jund@neomytic.be\u00a0\u00bb}}<\/p>\n<p>Il va donc falloir la formater<\/p>\n<p><em>Replace(Replace(Replace(Replace(replace(replace(replace(string(triggerBody()?[&lsquo;Organizer&rsquo;]),'\u00a0\u00bb&lsquo;,\u00a0\u00bb),'{&lsquo;,\u00a0\u00bb),&rsquo;}&rsquo;,\u00a0\u00bb),&rsquo;,&rsquo;,&rsquo; &lsquo;),&rsquo;EmailAddress:&rsquo;,\u00a0\u00bb),&rsquo;Address:&rsquo;,\u00a0\u00bb),&rsquo;Name:&rsquo;,\u00a0\u00bb)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nLes participants<\/strong><\/p>\n<p>L&rsquo;objet EmailAddress renvoi un tableau de valeurs que je stocke dans une cha\u00eene de caract\u00e8res<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image007.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image007\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image007_thumb.png\" alt=\"clip_image007\" width=\"364\" height=\"361\" border=\"0\" \/><\/a><\/p>\n<p>La variable Attendees est maintenant constitu\u00e9e ainsi<\/p>\n<p>{\u00ab\u00a0Name\u00a0\u00bb:\u00a0\u00bbArnaud JUND\u00a0\u00bb,\u00a0\u00bbAddress\u00a0\u00bb:\u00a0\u00bba.jund@neomytic.be\u00a0\u00bb}{\u00ab\u00a0Name\u00a0\u00bb:\u00a0\u00bbArnaud JUND\u00a0\u00bb,\u00a0\u00bbAddress\u00a0\u00bb:\u00a0\u00bba.jund@neomytic.be\u00a0\u00bb}{\u00ab\u00a0Name\u00a0\u00bb:\u00a0\u00bbArnaud JUND (Outlook)\u00a0\u00bb,\u00a0\u00bbAddress\u00a0\u00bb:\u00a0\u00bbarnaud.jund@outlook.com\u00a0\u00bb}{\u00ab\u00a0Name\u00a0\u00bb:\u00a0\u00bbArnaud JUND\u00a0\u00bb,\u00a0\u00bbAddress\u00a0\u00bb:\u00a0\u00bba.jund@neomytic.be\u00a0\u00bb}<\/p>\n<p>Il va donc falloir la formater aussi<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image008.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image008\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image008_thumb.png\" alt=\"clip_image008\" width=\"364\" height=\"119\" border=\"0\" \/><\/a><\/p>\n<p><em>Replace(Replace(Replace(replace(replace(replace(variables(&lsquo;Attendees&rsquo;),'\u00a0\u00bb&lsquo;,\u00a0\u00bb),'{&lsquo;,\u00a0\u00bb),&rsquo;}&rsquo;,'&lt;br&gt;&rsquo;),&rsquo;,&rsquo;,&rsquo; &lsquo;),&rsquo;Address:&rsquo;,\u00a0\u00bb),&rsquo;Name:&rsquo;,\u00a0\u00bb)<\/em><\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nFlux complet<\/strong><\/p>\n<p>Le flux est compl\u00e8tement termin\u00e9<\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image009.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image009\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image009_thumb.png\" alt=\"clip_image009\" width=\"364\" height=\"242\" border=\"0\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><strong><br \/>\nLe r\u00e9sultat<\/strong><\/p>\n<p><a href=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image010.png\"><img loading=\"lazy\" decoding=\"async\" style=\"display: inline; background-image: none;\" title=\"clip_image010\" src=\"https:\/\/blog.teamy.be\/wp-content\/uploads\/2018\/06\/clip_image010_thumb.png\" alt=\"clip_image010\" width=\"364\" height=\"288\" border=\"0\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>La plateforme Microsoft Flow propose de nombreux mod\u00e8les de flux tout fait.<\/p>\n<p>Parmi ces mod\u00e8les, il y en a un qui est vraiment utile pour le suivi de vos r\u00e9unions.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"colormag_page_layout":"default_layout","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[22,165,20],"tags":[],"class_list":["post-403","post","type-post","status-publish","format-standard","hentry","category-microsoft-365","category-microsoft-onenote","category-microsoft-flow"],"views":1505,"_links":{"self":[{"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/posts\/403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/comments?post=403"}],"version-history":[{"count":0,"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/posts\/403\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/media?parent=403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/categories?post=403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.teamy.be\/index.php\/wp-json\/wp\/v2\/tags?post=403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}