1<!DOCTYPE html> 2<html> 3<head> 4 <meta charset="utf-8"> 5 6 <!-- PACE Progress Bar START --> 7 8
9<script src="/js/pace.min.js"></script>
9 10 11 12<link rel="stylesheet" href="/css/pace.css"> 13 14 15 16 17 <!-- PACE Progress Bar START --> 18 19 20 <title>Darius 231</title> 21 <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> 22 <meta name="google-site-verification" content="mZLrzcfpyhsHt2iQRS8uTmnQ116UMZ3AvHzZ-DyjS9s" /> 23 24 <meta name="keywords" content="SharePoint, Office365, Azure, JavaScript, Typescript, Powershell, .Net" /> 25 26 27 28 29 <meta name="description" content="Office 365, Azure, JS Development"> 30<meta property="og:type" content="website"> 31<meta property="og:title" content="Darius 231"> 32<meta property="og:url" content="http://darius231.com/index.html"> 33<meta property="og:site_name" content="Darius 231"> 34<meta property="og:description" content="Office 365, Azure, JS Development"> 35<meta property="og:locale" content="en_US"> 36<meta property="article:author" content="Dario Alvarez"> 37<meta property="article:tag" content="SharePoint, Office365, Azure, JavaScript, Typescript, Powershell, .Net"> 38<meta name="twitter:card" content="summary"> 39<meta name="twitter:creator" content="@Darius231"> 40 41 <link rel="alternate" href="/atom.xml" title="Darius 231" type="application/atom+xml"> 42 43 <link rel="icon" href="/css/images/favicon.ico"> 44 45 <link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css"> 46 <link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css"> 47 <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.css" rel="stylesheet"> 48 <style type="text/css"> 49 /* @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/9749f0/00000000000000000001008f/27/l?subset_id=2&fvd=n5) format("woff2");font-weight:500;font-style:normal;} 50 @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/90cf9f/000000000000000000010091/27/l?subset_id=2&fvd=n7) format("woff2");font-weight:500;font-style:normal;} 51 @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/8a5494/000000000000000000013365/27/l?subset_id=2&fvd=n4) format("woff2");font-weight:lighter;font-style:normal;} 52 @font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/d337d8/000000000000000000010095/27/l?subset_id=2&fvd=i4) format("woff2");font-weight:400;font-style:italic;} */ 53 </style> 54 55 <link rel="stylesheet" id="athemes-headings-fonts-css" href="//fonts.googleapis.com/css?family=Yanone+Kaffeesatz%3A200%2C300%2C400%2C700&ver=4.6.1" type="text/css" media="all"> 56 57<link rel="stylesheet" href="/css/style.css"> 58 59 60
61<script src="/js/jquery-3.1.1.min.js"></script>
61 62 63 64 <!-- Bootstrap core CSS --> 65 <link rel="stylesheet" href="/css/bootstrap.css" > 66 <link rel="stylesheet" href="/css/hiero.css" > 67 <link rel="stylesheet" href="/css/glyphs.css" > 68 69 70 <!-- Custom CSS --> 71 72<link rel="stylesheet" href="/css/my.css"> 73 74 <!-- Google Adsense --> 75 <!--
75<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
75 76
76<script> 77 (adsbygoogle = window.adsbygoogle || []).push({ 78 google_ad_client: "", 79 enable_page_level_ads: true 80 }); 81 </script>
81 --> 82<meta name="generator" content="Hexo 7.3.0"></head> 83
84<script> 85var themeMenus = {}; 86 87 themeMenus["/"] = "Home"; 88 89 themeMenus["/archives"] = "Archives"; 90 91 themeMenus["/categories"] = "Categories"; 92 93 themeMenus["/tags"] = "Tags"; 94 95 themeMenus["/about"] = "About"; 96 97</script>
97 98 99 100 <body> 101 102 103 <header id="allheader" class="site-header" role="banner"> 104 <div class="clearfix container"> 105 <div class="site-branding"> 106 107 <h1 class="site-title"> 108 109 <a href="/" title="Darius 231" rel="home"> Darius 231 </a> 110 111 </h1> 112 113 114 <div class="site-description">Office 365, Azure, JS Development</div> 115 116 117 <nav id="main-navigation" class="main-navigation" role="navigation"> 118 <a class="nav-open">Menu</a> 119 <a class="nav-close">Close</a> 120 <div class="clearfix sf-menu"> 121 122 <ul id="main-nav" class="nmenu sf-js-enabled"> 123 124 <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663"> <a class="" href="/">Home</a> </li> 125 126 <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663"> <a class="" href="/archives">Archives</a> </li> 127 128 <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663"> <a class="" href="/categories">Categories</a> </li> 129 130 <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663"> <a class="" href="/tags">Tags</a> </li> 131 132 <li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663"> <a class="" href="/about">About</a> </li> 133 134 </ul> 135 </div> 136 </nav> 137 138 139 </div> 140 </div> 141</header> 142 143 144 <div id="originBgDiv" style="background: #fff; width: 100%;"> 145 146 <div style="max-height:600px; overflow: hidden; display: flex; display: -webkit-flex; align-items: center;"> 147 <img id="originBg" width="100%" alt="" src=""> 148 </div> 149 150 </div> 151 152
152<script> 153 function setAboutIMG(){ 154 var imgUrls = "".split(","); 155 var random = Math.floor((Math.random() * imgUrls.length )); 156 if (imgUrls[random].startsWith('http') || imgUrls[random].indexOf('://') >= 0) { 157 document.getElementById("originBg").src=imgUrls[random]; 158 } else { 159 document.getElementById("originBg").src='/' + imgUrls[random]; 160 } 161 } 162 bgDiv=document.getElementById("originBgDiv"); 163 if(location.pathname.match('about')){ 164 setAboutIMG(); 165 bgDiv.style.display='block'; 166 }else{ 167 bgDiv.style.display='none'; 168 } 169 </script>
169 170 171 172 173 <div id="container"> 174 <div id="wrap"> 175 176 <div id="content" class="outer"> 177 178 <section id="main"> 179 180 <article id="post-Remove-stuck-organization-assets-library" class="article article-type-post" itemscope itemprop="blogPost" > 181 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 182 183 184 <header class="article-header"> 185 186 187 <h1 class="thumb" itemprop="name"> 188 <a class="article-title" href="/2024/12/05/Remove-stuck-organization-assets-library/">Removing a Stuck Organization Assets Library in SharePoint</a> 189 </h1> 190 191 192 </header> 193 194 <div class="article-meta"> 195 196 Posted on <a href="/2024/12/05/Remove-stuck-organization-assets-library/" class="article-date"> 197 <time datetime="2024-12-05T15:37:15.000Z" itemprop="datePublished">5 of December, 2024</time> 198 </a> 199 200 201 <span style="float:right;">4 min.</span> 202 </div> 203 <div class="article-entry" itemprop="articleBody"> 204 205 206 207 208 <div class="entry-summary" style="margin-left:0;"> 209 If youâve ever found yourself stuck with an organization assets library in SharePoint that wonât go away, even after the site it was created on has been deleted, youâre in the right place. Normally, youâd use the Remove-PnPOrgAssetsLibrary command, but it needs the -LibraryUrl parameter, which we canât get if the site is gone. Donât worry â Iâve... 210 211 212 213 <p class="article-more-link"> 214 <a href="/2024/12/05/Remove-stuck-organization-assets-library/#more">Continue Reading â</a> 215 </p> 216 </div> 217 218 219 220 </div> 221 <footer class="entry-meta entry-footer"> 222 223 <span class="ico-folder"></span> 224 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 225 226 227 <span class="ico-tags"></span> 228 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Org-Assets-Library/" rel="tag">Org Assets Library</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PnP-PowerShell/" rel="tag">PnP PowerShell</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 229 230 231 232 233 </footer> 234 </div> 235 236</article> 237 238<!-- Table of Contents --> 239 240 241 <article id="post-Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure" class="article article-type-post" itemscope itemprop="blogPost" > 242 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 243 244 245 <header class="article-header"> 246 247 248 <h1 class="thumb" itemprop="name"> 249 <a class="article-title" href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/">Using Certificates for OpenID on Orchard Core Hosted in Azure</a> 250 </h1> 251 252 253 </header> 254 255 <div class="article-meta"> 256 257 Posted on <a href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/" class="article-date"> 258 <time datetime="2019-10-16T13:00:00.000Z" itemprop="datePublished">16 of October, 2019</time> 259 </a> 260 261 262 <span style="float:right;">1 min.</span> 263 </div> 264 <div class="article-entry" itemprop="articleBody"> 265 266 267 <div class="entry-thumbnail"> 268 <a href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/"><img width="250" height="175" src="/gallery/posts/Orchard core azure certificate.png" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a> 269 </div> 270 <div class="entry-summary"> 271 Letâs say you are working with an Orchard Core web application Hosted in Azure and want to configure the OpenId feature to use JWT tokens. 272 273 274Then, assuming you have uploaded your certificate to th... 275 276 277 <p class="article-more-link"> 278 <a href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/#more">Continue Reading â</a> 279 </p> 280 </div> 281 282 283 284 </div> 285 <footer class="entry-meta entry-footer"> 286 287 <span class="ico-folder"></span> 288 <a class="article-category-link" href="/categories/Orchard-Core/">Orchard Core</a> 289 290 291 <span class="ico-tags"></span> 292 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Azure/" rel="tag">Azure</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Certificate/" rel="tag">Certificate</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Orchard-Core/" rel="tag">Orchard Core</a></li></ul> 293 294 295 296 297 </footer> 298 </div> 299 300</article> 301 302<!-- Table of Contents --> 303 304 305 <article id="post-Reading-local-files-from-a-Net-azure-Function" class="article article-type-post" itemscope itemprop="blogPost" > 306 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 307 308 309 <header class="article-header"> 310 311 312 <h1 class="thumb" itemprop="name"> 313 <a class="article-title" href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/">Reading local files from a .Net Azure Function</a> 314 </h1> 315 316 317 </header> 318 319 <div class="article-meta"> 320 321 Posted on <a href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/" class="article-date"> 322 <time datetime="2018-09-03T09:36:21.000Z" itemprop="datePublished">3 of September, 2018</time> 323 </a> 324 325
326 <span style="float:right;">4 min.</span> 327 </div> 328 <div class="article-entry" itemprop="articleBody"> 329 330 331 <div class="entry-thumbnail"> 332 <a href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/"><img width="250" height="175" src="/gallery/posts/Reading-local-files-from-a-Net-azure-Function.png" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a> 333 </div> 334 <div class="entry-summary"> 335 When working with Azure Functions, you might find yourself in the need of reading the content of some local files located in the same directory as the function your are working on. 336I found two ways... 337 338 339 <p class="article-more-link"> 340 <a href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/#more">Continue Reading â</a> 341 </p> 342 </div> 343 344 345 346 </div> 347 <footer class="entry-meta entry-footer"> 348 349 <span class="ico-folder"></span> 350 <a class="article-category-link" href="/categories/Azure-Functions/">Azure Functions</a> 351 352 353 <span class="ico-tags"></span> 354 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Net/" rel="tag">.Net</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Azure-Function/" rel="tag">Azure Function</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/C/" rel="tag">C#</a></li></ul> 355 356 357 358 359 </footer> 360 </div> 361 362</article> 363 364<!-- Table of Contents --> 365 366 367 <article id="post-spfx-de-tokenizer" class="article article-type-post" itemscope itemprop="blogPost" > 368 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 369 370 371 <header class="article-header"> 372 373 374 <h1 class="thumb" itemprop="name"> 375 <a class="article-title" href="/2018/06/28/spfx-de-tokenizer/">SPFx De-tokenizer</a> 376 </h1> 377 378 379 </header> 380 381 <div class="article-meta"> 382 383 Posted on <a href="/2018/06/28/spfx-de-tokenizer/" class="article-date"> 384 <time datetime="2018-06-28T11:08:54.000Z" itemprop="datePublished">28 of June, 2018</time> 385 </a> 386 387 388 <span style="float:right;">7 min.</span> 389 </div> 390 <div class="article-entry" itemprop="articleBody"> 391 392 393 <div class="entry-thumbnail"> 394 <a href="/2018/06/28/spfx-de-tokenizer/"><img width="250" height="175" src="/gallery/posts/SPFx-Detokenizer.png" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a> 395 </div> 396 <div class="entry-summary"> 397 An NPM package to help de-tokenizing values within our source code when building or debugging SPFx solutions, avoiding having some information hardcoded in the code or relaying on environment varia... 398 399 400 <p class="article-more-link"> 401 <a href="/2018/06/28/spfx-de-tokenizer/#more">Continue Reading â</a> 402 </p> 403 </div> 404 405 406 407 </div> 408 <footer class="entry-meta entry-footer"> 409 410 <span class="ico-folder"></span> 411 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 412 413 414 <span class="ico-tags"></span> 415 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Detokenize/" rel="tag">Detokenize</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/NPM/" rel="tag">NPM</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SPFx/" rel="tag">SPFx</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint-Framework/" rel="tag">SharePoint Framework</a></li></ul> 416 417 418 419 420 </footer> 421 </div> 422 423</article> 424 425<!-- Table of Contents --> 426 427 428 <article id="post-chrome-sp-dev-tool" class="article article-type-post" itemscope itemprop="blogPost" > 429 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 430 431 432 <header class="article-header"> 433 434 435 <h1 class="thumb" itemprop="name"> 436 <a class="article-title" href="/2017/01/24/chrome-sp-dev-tool/">Chrome SP Dev Tool</a> 437 </h1> 438 439 440 </header> 441 442 <div class="article-meta"> 443 444 Posted on <a href="/2017/01/24/chrome-sp-dev-tool/" class="article-date"> 445 <time datetime="2017-01-24T11:47:49.000Z" itemprop="datePublished">24 of January, 2017</time> 446 </a> 447 448
449 <span style="float:right;">7 min.</span> 450 </div> 451 <div class="article-entry" itemprop="articleBody"> 452 453 454 <div class="entry-thumbnail"> 455 <a href="/2017/01/24/chrome-sp-dev-tool/"><img width="250" height="175" src="/gallery/posts/SPChromeDevTool.png" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a> 456 </div> 457 <div class="entry-summary"> 458 After some time working with SharePoint, I noticed that there are certain SharePoint functionalities that I would like to have direct and quick access to, instead of going trough several clicks to ... 459 460 461 <p class="article-more-link"> 462 <a href="/2017/01/24/chrome-sp-dev-tool/#more">Continue Reading â</a> 463 </p> 464 </div> 465 466 467 468 </div> 469 <footer class="entry-meta entry-footer"> 470 471 <span class="ico-folder"></span> 472 <a class="article-category-link" href="/categories/Chrome-Extension/">Chrome Extension</a> 473 474 475 <span class="ico-tags"></span> 476 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Google-Chrome-Extension/" rel="tag">Google Chrome Extension</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 477 478 479 480 481 </footer> 482 </div> 483 484</article> 485 486<!-- Table of Contents --> 487 488 489 <article id="post-changing-the-access-requests-settings-of-a-sharepoint-online-site-with-javascript-jsom" class="article article-type-post" itemscope itemprop="blogPost" > 490 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 491 492 493 <header class="article-header"> 494 495 496 <h1 class="thumb" itemprop="name"> 497 <a class="article-title" href="/2016/07/12/changing-the-access-requests-settings-of-a-sharepoint-online-site-with-javascript-jsom/">Changing the Access Requests Settings of a SharePoint Online site with JavaScript (JSOM)</a> 498 </h1> 499 500 501 </header> 502 503 <div class="article-meta"> 504 505 Posted on <a href="/2016/07/12/changing-the-access-requests-settings-of-a-sharepoint-online-site-with-javascript-jsom/" class="article-date"> 506 <time datetime="2016-07-12T14:08:28.000Z" itemprop="datePublished">12 of July, 2016</time> 507 </a> 508 509 510 <span style="float:right;">3 min.</span> 511 </div> 512 <div class="article-entry" itemprop="articleBody"> 513 514 515 516 517 <div class="entry-summary" style="margin-left:0;"> 518 Recently I got a requirement from a client that wanted to be able to modify the **Access Requests Settings **of a SharePoint online site to: 519 520Prevent users from Sharing the site and individual files and folders. 521Prevent users from inviting others to the site members group. 522Prevent non authorized users from sending access requests. 523 524 525 526This needed... 527 528 529 530 <p class="article-more-link"> 531 <a href="/2016/07/12/changing-the-access-requests-settings-of-a-sharepoint-online-site-with-javascript-jsom/#more">Continue Reading â</a> 532 </p> 533 </div> 534 535 536 537 </div> 538 <footer class="entry-meta entry-footer"> 539 540 <span class="ico-folder"></span> 541 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 542 543 544 <span class="ico-tags"></span> 545 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JSOM/" rel="tag">JSOM</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 546 547 548 549 550 </footer> 551 </div> 552 553</article> 554 555<!-- Table of Contents --> 556 557 558 <article id="post-angular2-stars-rating-component-with-typescript" class="article article-type-post" itemscope itemprop="blogPost" > 559 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 560 561 562 <header class="article-header"> 563 564 565 <h1 class="thumb" itemprop="name"> 566 <a class="article-title" href="/2016/05/11/angular2-stars-rating-component-with-typescript/">Angular2 Stars Rating component with TypeScript</a> 567 </h1> 568 569 570 </header> 571 572 <div class="article-meta"> 573 574 Posted on <a href="/2016/05/11/angular2-stars-rating-component-with-typescript/" class="article-date"> 575 <time datetime="2016-05-11T10:22:11.000Z" itemprop="datePublished">11 of May, 2016</time> 576 </a> 577 578
579 <span style="float:right;">13 min.</span> 580 </div> 581 <div class="article-entry" itemprop="articleBody"> 582 583 584 <div class="entry-thumbnail"> 585 <a href="/2016/05/11/angular2-stars-rating-component-with-typescript/"><img width="250" height="175" src="/gallery/posts/Angular2-Stars-Rating-component.png" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a> 586 </div> 587 <div class="entry-summary"> 588 Playing around with Angular 2, I thought that a star-like rating component would be very useful. The idea was to have a rating component  for any item within a table or a repeated structure and to ... 589 590 591 <p class="article-more-link"> 592 <a href="/2016/05/11/angular2-stars-rating-component-with-typescript/#more">Continue Reading â</a> 593 </p> 594 </div> 595 596 597 598 </div> 599 <footer class="entry-meta entry-footer"> 600 601 <span class="ico-folder"></span> 602 <a class="article-category-link" href="/categories/Angular2/">Angular2</a> 603 604 605 <span class="ico-tags"></span> 606 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Angular2/" rel="tag">Angular2</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/TypeScript/" rel="tag">TypeScript</a></li></ul> 607 608 609 610 611 </footer> 612 </div> 613 614</article> 615 616<!-- Table of Contents --> 617 618 619 <article id="post-linking-a-custom-column-to-the-item-and-the-item-menu-on-sharepoint" class="article article-type-post" itemscope itemprop="blogPost" > 620 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 621 622 623 <header class="article-header"> 624 625 626 <h1 class="thumb" itemprop="name"> 627 <a class="article-title" href="/2016/04/20/linking-a-custom-column-to-the-item-and-the-item-menu-on-sharepoint/">Linking a custom column to the Item and the Item Menu on SharePoint</a> 628 </h1> 629 630 631 </header> 632 633 <div class="article-meta"> 634 635 Posted on <a href="/2016/04/20/linking-a-custom-column-to-the-item-and-the-item-menu-on-sharepoint/" class="article-date"> 636 <time datetime="2016-04-20T15:09:55.000Z" itemprop="datePublished">20 of April, 2016</time> 637 </a> 638 639 640 <span style="float:right;">5 min.</span> 641 </div> 642 <div class="article-entry" itemprop="articleBody"> 643 644 645 646 647 <div class="entry-summary" style="margin-left:0;"> 648 Sometimes, you might want to link a custom column to a SharePoint list item and item menu rather than the default Title column. This post will show how to link any column to a SharePoint item and to achieve it using JavaScript and the SharePoint Client Object Model. 649 650There are four properties from the SPField class that need to be modified in or... 651 652 653 654 <p class="article-more-link"> 655 <a href="/2016/04/20/linking-a-custom-column-to-the-item-and-the-item-menu-on-sharepoint/#more">Continue Reading â</a> 656 </p> 657 </div> 658 659 660 661 </div> 662 <footer class="entry-meta entry-footer"> 663 664 <span class="ico-folder"></span> 665 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 666 667 668 <span class="ico-tags"></span> 669 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SPField/" rel="tag">SPField</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 670 671 672 673 674 </footer> 675 </div> 676 677</article> 678 679<!-- Table of Contents --> 680 681 682 <article id="post-movingcopying-files-between-sharepoint-libraries-with-javascript" class="article article-type-post" itemscope itemprop="blogPost" > 683 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 684 685 686 <header class="article-header"> 687 688 689 <h1 class="thumb" itemprop="name"> 690 <a class="article-title" href="/2016/04/12/movingcopying-files-between-sharepoint-libraries-with-javascript/">Moving/copying files between SharePoint libraries with JavaScript</a> 691 </h1> 692 693 694 </header> 695 696 <div class="article-meta"> 697 698 Posted on <a href="/2016/04/12/movingcopying-files-between-sharepoint-libraries-with-javascript/" class="article-date"> 699 <time datetime="2016-04-12T09:59:52.000Z" itemprop="datePublished">12 of April, 2016</time> 700 </a> 701 702
703 <span style="float:right;">2 min.</span> 704 </div> 705 <div class="article-entry" itemprop="articleBody"> 706 707 708 709 710 <div class="entry-summary" style="margin-left:0;"> 711 An easy way to copy or move files with JavaScript between SharePoint libraries within the same site is using the methods copyTo and moveTo from the SP.File class. 712Both functions receive the same first parameter, which is the future URL of the document to be moved/copied, but the second parameter is different. 713In the case of the moveTo funct... 714 715 716 717 <p class="article-more-link"> 718 <a href="/2016/04/12/movingcopying-files-between-sharepoint-libraries-with-javascript/#more">Continue Reading â</a> 719 </p> 720 </div> 721 722 723 724 </div> 725 <footer class="entry-meta entry-footer"> 726 727 <span class="ico-folder"></span> 728 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 729 730 731 <span class="ico-tags"></span> 732 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/JavaScript/" rel="tag">JavaScript</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 733 734 735 736 737 </footer> 738 </div> 739 740</article> 741 742<!-- Table of Contents --> 743 744 745 <article id="post-setting-the-document-template-for-a-content-in-sharepoint-online-with-powershell" class="article article-type-post" itemscope itemprop="blogPost" > 746 <div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template"> 747 748 749 <header class="article-header"> 750 751 752 <h1 class="thumb" itemprop="name"> 753 <a class="article-title" href="/2016/03/04/setting-the-document-template-for-a-content-in-sharepoint-online-with-powershell/">Setting the document template for a content type in SharePoint Online with PowerShell</a> 754 </h1> 755 756 757 </header> 758 759 <div class="article-meta"> 760 761 Posted on <a href="/2016/03/04/setting-the-document-template-for-a-content-in-sharepoint-online-with-powershell/" class="article-date"> 762 <time datetime="2016-03-04T14:05:53.000Z" itemprop="datePublished">4 of March, 2016</time> 763 </a> 764 765 766 <span style="float:right;">2 min.</span> 767 </div> 768 <div class="article-entry" itemprop="articleBody"> 769 770 771 772 773 <div class="entry-summary" style="margin-left:0;"> 774 In my previous post, apart from creating a content type using PowerShell, I also showed a way of setting the document template of the content type. In that scenario I used a document template already uploaded into a normal SharePoint document library. 775In this post, Iâm going to demostrate another way to set the document template of a content typ... 776 777 778 779 <p class="article-more-link"> 780 <a href="/2016/03/04/setting-the-document-template-for-a-content-in-sharepoint-online-with-powershell/#more">Continue Reading â</a> 781 </p> 782 </div> 783 784 785 786 </div> 787 <footer class="entry-meta entry-footer"> 788 789 <span class="ico-folder"></span> 790 <a class="article-category-link" href="/categories/SharePoint/">SharePoint</a> 791 792 793 <span class="ico-tags"></span> 794 <ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Content-Type/" rel="tag">Content Type</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Document-Template/" rel="tag">Document Template</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/PowerShell/" rel="tag">PowerShell</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/SharePoint/" rel="tag">SharePoint</a></li></ul> 795 796 797 798 799 </footer> 800 </div> 801 802</article> 803 804<!-- Table of Contents --> 805 806 807 808 809 <nav id="page-nav"> 810 811 <span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="extend next" rel="next" href="/page/2/">Next</a> 812 </nav> 813 814</section> 815 <aside id="sidebar"> 816 817 <div class="widget-wrap" style="margin: 20px 0;"> 818 <div id="search-form-wrap"> 819 820 <form class="search-form"> 821 <label style="width: 75%;">
822 <span class="screen-reader-text">Search for:</span> 823 <input type="search" class="search-field" style="height: 42px;" placeholder=" Searchâ¦" value="" name="s" title="Search for:"> 824 </label> 825 <input type="submit" class="search-form-submit" value="Search"> 826 </form> 827 <div class="ins-search"> 828 <div class="ins-search-mask"></div> 829 <div class="ins-search-container"> 830 <div class="ins-input-wrapper"> 831 <input type="text" class="ins-search-input" placeholder="Type something..."/> 832 <span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span> 833 </div> 834 <div class="ins-section-wrapper"> 835 <div class="ins-section-container"></div> 836 </div> 837 </div> 838</div>
839<script> 840(function (window) { 841 var INSIGHT_CONFIG = { 842 TRANSLATION: { 843 POSTS: 'Posts', 844 PAGES: 'Pages', 845 CATEGORIES: 'Categories', 846 TAGS: 'Tags', 847 UNTITLED: '(Untitled)', 848 }, 849 ROOT_URL: '/', 850 CONTENT_URL: '/content.json', 851 }; 852 window.INSIGHT_CONFIG = INSIGHT_CONFIG; 853})(window); 854</script>
854 855
856<script src="/js/insight.js"></script>
856 857 858 859</div> 860</div> 861 862 863 <div class="widget-wrap"> 864 865 <h3 class="widget-title">Social</h3> 866 <div class="widget widget_athemes_social_icons"> 867 <div class="widget_athemes_social_icons_pic_and_buttons"> 868 869 870 <div class="widget_athemes_social_icons_pic_and_buttons_avatar" style="display:none;"> 871 872 </div><div class="widget_athemes_social_icons_pic_and_buttons_avatar_buttons" style="width: 100%; padding-left: 0px;"> 873 874 <ul class="clearfix widget-social-icons"> 875 876 877 <li><a href="https://github.com/darius231/" target="_blank" title="Github"><i class="fa fa-github" aria-hidden="true"></i></a></li> 878 879 880 881 <li><a href="https://twitter.com/darius231/" target="_blank" title="Twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a></li> 882 883 884 885 <li><a href="https://www.facebook.com/dalvarezborrero" target="_blank" title="Facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a></li> 886 887 888 889 <li><a href="https://www.instagram.com/darius231/" target="_blank" title="Instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a></li> 890 891 892 893 <li><a href="https://www.linkedin.com/in/darius231/" target="_blank" title="linkedin"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li> 894 895 896 897 <li><a href="mailto:[email protected]" title="email"><i class="fa fa-envelope" aria-hidden="true"></i></a></li> 898 899 900 </ul> 901 902 </div> 903 </div> 904 905 </div> 906 </div> 907 908 909 910 911 <div class="widget_athemes_tabs"> 912 <ul id="widget-tab" class="clearfix widget-tab-nav"> 913 <li class="active"><a>Recent Posts</a></li> 914 </ul> 915 <div class="widget"> 916 <ul> 917 918 <li class="clearfix"> 919 920 921 <div class="widget-entry-summary" style="margin: 0;"> 922 923 924 <h6 style="margin: 0;"><a href="/2024/12/05/Remove-stuck-organization-assets-library/">Removing a Stuck Organization Assets Library in SharePoint</a></h6> 925 <span>December 5, 2024</span> 926 </div> 927 928 </li> 929 930 <li class="clearfix"> 931 932 933 <div class="widget-entry-thumbnail"> 934 <a href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/" title=""><img width="50" height="50" src="/gallery/posts/Orchard core azure certificate.png" class="attachment-thumb-small size-thumb-small wp-post-image" alt="preview-16" title=""></a> 935 </div> 936 <div class="widget-entry-summary"> 937 938 939 <h6 style="margin: 0;"><a href="/2019/10/16/Using-Certificates-for-OpenID-on-Orchard-Core-Hosted-in-Azure/">Using Certificates for OpenID on Orchard Core Hosted in Azure</a></h6> 940 <span>October 16, 2019</span> 941 </div> 942 943 </li> 944 945 <li class="clearfix"> 946 947 948 <div class="widget-entry-thumbnail"> 949 <a href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/" title=""><img width="50" height="50" src="/gallery/posts/Reading-local-files-from-a-Net-azure-Function.png" class="attachment-thumb-small size-thumb-small wp-post-image" alt="preview-16" title=""></a> 950 </div> 951 <div class="widget-entry-summary"> 952 953 954 <h6 style="margin: 0;"><a href="/2018/09/03/Reading-local-files-from-a-Net-azure-Function/">Reading local files from a .Net Azure Function</a></h6> 955 <span>September 3, 2018</span> 956 </div> 957 958 </li> 959 960 <li class="clearfix"> 961 962 963 <div class="widget-entry-thumbnail"> 964 <a href="/2018/06/28/spfx-de-tokenizer/" title=""><img width="50" height="50" src="/gallery/posts/SPFx-Detokenizer.png" class="attachment-thumb-small size-thumb-small wp-post-image" alt="preview-16" title=""></a> 965 </div> 966 <div class="widget-entry-summary"> 967 968 969 <h6 style="margin: 0;"><a href="/2018/06/28/spfx-de-tokenizer/">SPFx De-tokenizer</a></h6>
970 <span>June 28, 2018</span> 971 </div> 972 973 </li> 974 975 <li class="clearfix"> 976 977 978 <div class="widget-entry-thumbnail"> 979 <a href="/2017/01/24/chrome-sp-dev-tool/" title=""><img width="50" height="50" src="/gallery/posts/SPChromeDevTool.png" class="attachment-thumb-small size-thumb-small wp-post-image" alt="preview-16" title=""></a> 980 </div> 981 <div class="widget-entry-summary"> 982 983 984 <h6 style="margin: 0;"><a href="/2017/01/24/chrome-sp-dev-tool/">Chrome SP Dev Tool</a></h6> 985 <span>January 24, 2017</span> 986 </div> 987 988 </li> 989 990 <li class="clearfix"> 991 992 993 <div class="widget-entry-summary" style="margin: 0;"> 994 995 996 <h6 style="margin: 0;"><a href="/2016/07/12/changing-the-access-requests-settings-of-a-sharepoint-online-site-with-javascript-jsom/">Changing the Access Requests Settings of a SharePoint Online site with JavaScript (JSOM)</a></h6> 997 <span>July 12, 2016</span> 998 </div> 999 1000 </li> 1001 1002 </ul> 1003 </div> 1004 </div> 1005 1006 1007 1008 <div class="widget-wrap"> 1009 <h3 class="widget-title">Tag Cloud</h3> 1010 <div class="widget tagcloud"> 1011 <a href="/tags/Net/" style="font-size: 10px;">.Net</a> <a href="/tags/ADAL/" style="font-size: 10px;">ADAL</a> <a href="/tags/Angular2/" style="font-size: 17.5px;">Angular2</a> <a href="/tags/Azure/" style="font-size: 10px;">Azure</a> <a href="/tags/Azure-Function/" style="font-size: 10px;">Azure Function</a> <a href="/tags/C/" style="font-size: 10px;">C#</a> <a href="/tags/CSV/" style="font-size: 12.5px;">CSV</a> <a href="/tags/Certificate/" style="font-size: 10px;">Certificate</a> <a href="/tags/Content-Type/" style="font-size: 12.5px;">Content Type</a> <a href="/tags/Debugging/" style="font-size: 10px;">Debugging</a> <a href="/tags/Detokenize/" style="font-size: 10px;">Detokenize</a> <a href="/tags/Document-Template/" style="font-size: 10px;">Document Template</a> <a href="/tags/Google-Chrome-Extension/" style="font-size: 10px;">Google Chrome Extension</a> <a href="/tags/JSOM/" style="font-size: 10px;">JSOM</a> <a href="/tags/JavaScript/" style="font-size: 15px;">JavaScript</a> <a href="/tags/NPM/" style="font-size: 10px;">NPM</a> <a href="/tags/Office-365/" style="font-size: 10px;">Office 365</a> <a href="/tags/Office365/" style="font-size: 10px;">Office365</a> <a href="/tags/Orchard-Core/" style="font-size: 10px;">Orchard Core</a> <a href="/tags/Org-Assets-Library/" style="font-size: 10px;">Org Assets Library</a> <a href="/tags/PnP-PowerShell/" style="font-size: 10px;">PnP PowerShell</a> <a href="/tags/PowerShell/" style="font-size: 15px;">PowerShell</a> <a href="/tags/SPField/" style="font-size: 10px;">SPField</a> <a href="/tags/SPFx/" style="font-size: 10px;">SPFx</a> <a href="/tags/SharePoint/" style="font-size: 20px;">SharePoint</a> <a href="/tags/SharePoint-Framework/" style="font-size: 10px;">SharePoint Framework</a> <a href="/tags/TypeScript/" style="font-size: 17.5px;">TypeScript</a> <a href="/tags/Visual-Studio/" style="font-size: 10px;">Visual Studio</a> <a href="/tags/o365/" style="font-size: 12.5px;">o365</a> <a href="/tags/unifiedAPIs/" style="font-size: 10px;">unifiedAPIs</a> 1012 </div> 1013 </div> 1014 1015 1016</aside> 1017 1018 </div> 1019 <footer id="footer" class="site-footer"> 1020 1021 1022 <div class="clearfix container"> 1023 <div class="site-info"> 1024 © 2024 Darius 231 All Rights Reserved. 1025 1026 </div> 1027 <div class="site-credit"> 1028 Theme by <a href="https://github.com/iTimeTraveler/hexo-theme-hiero" target="_blank">hiero</a> 1029 </div> 1030 </div> 1031</footer> 1032 1033 1034<!-- min height --> 1035
1036<script> 1037 var zeroIfNull = function(value){ 1038 return value || 0; 1039 } 1040 var contentdiv = document.getElementById("content"); 1041 1042 contentdiv.style.minHeight = zeroIfNull(document.body.offsetHeight) - zeroIfNull(document.getElementById("allheader").offsetHeight) - zeroIfNull(document.getElementById("footer").offsetHeight) + "px"; 1043</script>
1043 1044 1045 </div> 1046 <!-- <nav id="mobile-nav"> 1047 1048 <a href="/" class="mobile-nav-link">Home</a> 1049 1050 <a href="/archives" class="mobile-nav-link">Archives</a> 1051 1052 <a href="/categories" class="mobile-nav-link">Categories</a> 1053 1054 <a href="/tags" class="mobile-nav-link">Tags</a> 1055 1056 <a href="/about" class="mobile-nav-link">About</a> 1057 1058</nav> --> 1059 1060 1061<!-- mathjax config similar to math.stackexchange --> 1062
1063<script type="text/x-mathjax-config"> 1064 MathJax.Hub.Config({ 1065 tex2jax: { 1066 inlineMath: [ ['$','$'], ["\\(","\\)"] ], 1067 processEscapes: true 1068 } 1069 }); 1070</script>
1070 1071
1072<script type="text/x-mathjax-config"> 1073 MathJax.Hub.Config({ 1074 tex2jax: { 1075 skipTags: ['script', 'noscript', 'style', 'textarea', 'pre', 'code'] 1076 } 1077 }); 1078</script>
1078 1079
1080<script type="text/x-mathjax-config"> 1081 MathJax.Hub.Queue(function() { 1082 var all = MathJax.Hub.getAllJax(), i; 1083 for(i=0; i < all.length; i += 1) { 1084 all[i].SourceElement().parentNode.className += ' has-jax'; 1085 } 1086 }); 1087</script>
1087 1088
1089<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS-MML_HTMLorMML"> 1090</script>
1090 1091 1092 1093 1094<link rel="stylesheet" href="/fancybox/jquery.fancybox.css"> 1095 1096
1097<script src="/fancybox/jquery.fancybox.pack.js"></script>
1097 1098 1099 1100 1101
1102<script src="/js/scripts.js"></script>
1102 1103 1104
1105<script src="/js/bootstrap.js"></script>
1105 1106 1107
1108<script src="/js/main.js"></script>
1108 1109 1110 1111 1112<!-- Google Analytics -->
1113<script type="text/javascript">
vendor: 329 bytes, lines 1113-1119
1113 1114(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ 1115(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), 1116m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) 1117})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); 1118 1119ga('create', '
1119UA-71197602-1
vendor: 37 bytes, lines 1119-1121
1119', 'auto'); 1120ga('send', 'pageview'); 1121
1122</script>
1122 1123<!-- End Google Analytics --> 1124 1125 1126 1127 1128 1129 1130<!-- Custome JS --> 1131
1132<script src="/js/my.js"></script>
1132 1133 1134 </div> 1135 1136 <a id="rocket" href="#top" class=""></a> 1137
1137<script type="text/javascript" src="/js/totop.js" async=""></script>
1137 1138</body> 1139</html>
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.