Category: Uncategorized


  • Are you getting this error: (Microsoft.SharePoint.SPEndpointAddressNotFoundException: There are no addresses available for this application.) when publishing SharePoint 2013 workflows? try these steps to fix it: If you use HTTP: Register-SPWorkflowService –SPSite “http://mysitecollection” –WorkflowHostUri “http://server.domain.com:12291” –AllowOAuthHttp -force If you use HTTPS: Register-SPWorkflowService -SPSite “https://myserver/mysitecollection” -WorkflowHostUri “https://server.domain.com:12290” Check that the SharePoint Service “App management Service” is started…

  • I came across a need to change all existing documents in a Site Collection to another ContentType, but without changing data like, “modified by” or “modified date”. Why? I need to attach a column to all documents and it’s just not good practise to add columns to the default “Document” ContentType. I need to add…

  • If your workflows are working just fine, but you are unable to get UI-access to the workflows in SharePoint, because if this error: Sorry, something went wrong Method ‘StartWorkflowOnListItem’ in type ‘Microsoft.SharePoint.WorkflowServices.FabricWorkflowInstanceProvider’ from assembly ‘Microsoft.SharePoint.WorkflowServices, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c’ does not have an implementation. and your ULS logs gives your these errors: Application error when access…

  • I am sitting here in Cinemaxx. For a brief moment, I managed to get some of the room to myself. Otherwise it’s pretty packed with around 600 IT-people. All which are interested in Office 365, Lync, Project, SharePoint, Sales etc. And so far it’s going great. The sessions are very professional conducted. The Microsoft team…

  • [Update] I got an e-mail from Robert, who has refined the solution. Thank you for sharing Robert. Hi Ulrich,first I want to thank Ulrich for his great work and sharing it with us! I also don’t have the problem with more than 40 pictures in a picture gallery after using galleria-1.4.2.min.js and also galleria.classic.min.js from an…

  • Code for adding pop-up links to list items and to Library items. Full Code For a List Item:  <a onclick="javascript:NewItem2(event, &quot;http://SiteName/_layouts/listform.aspx?PageType=8&amp;ListId={83747BB4-49C6-4181-B4A3-F8C6B611846D}&amp;RootFolder=&quot;); javascript:return false;" href="/_layouts/listform.aspx?PageType=8&amp;ListId={83747BB4-49C6-4181-B4A3-F8C6B611846D}&amp;RootFolder=" target="_self"> Submit Feedback</a> Full Code for a Library Item:  <a href="http://SiteName/_layouts/Upload.aspx?List={94AC86A8-6774-4822-A197-A98542251678}&amp; RootFolder=" onclick="javascript:NewItem2(event, &quot;http://SiteName/_layouts/Upload.aspx?List={94AC86A8-6774-4822-A197-A98542251678}&amp;RootFolder=&quot;); javascript:return false;" target="_self"> Upload a Document</a> Source: http://erikswenson.blogspot.dk/2010/09/how-to-create-hyperlink-to-modal-pop-up.htm

  • Create link to “New Item” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/_layouts/15/Upload.aspx?List={<List-GUID>}&RootFolder=&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);”>Add item</a> Create link to “New Folder” <a href=”javascript:OpenPopUpPageWithTitle(‘</site/library>/Forms/Upload.aspx?RootFolder=&Type=1&IsDlg=1′,RefreshOnDialogClose,null,null,'<Title>’);” >New Folder</a>

  • Simple javascript command to open the dialog modal form function OpenPopUpPage(url, callback, width, height) function OpenPopUpPageWithTitle(url, callback, width, height, title) function OpenPopUpPageWithDialogOptions(dialogOptions) DialogOptions supports: Options Property Description title A string that contains the title of the dialog. url A string that contains the URL of the page that appears in the dialog. If both url and html are specified, url takes precedence.…

  • I often find myself in need of building a structure of SPWebs for demo purposes or for custom migrating scenarios. In order for me to build the structure fast, test it and then tear it down or extend it, I use PowerShell. Just extend the $url and the $name so they match your desire. Add-PSSnapin…

  • I found this script to be the most effective for creating MySites in advance for all users. #———————————————————————————#The sample scripts are not supported under any Microsoft standard support#program or service. The sample scripts are provided AS IS without warranty#of any kind. Microsoft further disclaims all implied warranties including,#without limitation, any implied warranties of merchantability or…

  • It can happen that SharePoint Designers local files gets out-of-sync. For some reason hitting the update button won’t help. Easy fix: Delete the local cache by deleting the contents of these two folders: %APPDATA%\Microsoft\Web Server Extensions\Cache %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache

  • Best solution to create Automatic UserProfile Import to SharePoint Create folder “ImportProfileImages” Create subfolder “ProfileImages” Create “c:\SPSolutions\ImportProfileImages\UpdateUserProfiles.ps1” with the code from SharePoint Use Cases clsif((Get-PSSnapin | Where {$_.Name -eq "Microsoft.SharePoint.PowerShell"}) -eq $null) { Add-PSSnapin Microsoft.SharePoint.PowerShell;}#———————————————————————————# Default Values#———————————————————————————$spNotFoundMsg = "Unable to connect to SharePoint. Please verify that the site ‘$siteUrl’ is hosted on the local machine.";#—————————————————–#…

  • TCP Connection Test Program

  • A normal link to an InfoPath template could be /FormServerTemplates/template.xsn But in order to get pageviews in InfoPath to work in IE11, you have to add the domain in Compatibility View Settings, thus breaking the function of starting a new form in the browser, based on your template. The normal fix is to add ?clientinstalled=false…

  • If you have several SharePoint Forms, where you want to hide the input field and using SharePoint Designer to create a custom form is not an option. Here is my collection of jQuery you can insert, using the ScriptEditor webpart. Edit the “view” of a ListItem (DispForm.aspx) Open an element on the list, thus letting…

  • A little while ago, I came across this issue at one of my clients. They needed the SharePoint Instance of the MSSQL server to restart at 5 am every morning. That seemed like a fair task to fix pretty easily. It turns out though, that the prompt, asking the user, if he/she is sure about stopping…

  • In case you’ve missed it. Microsoft have been upgrading SharePoint Online on the Office 365 platform since late 2012. That means that they are now finished upgrading all the SharePoint Farms. Or at least in the European Datacenters, where I am seated. The announcement in the Message Center is that you have until April 1st…

  • In this Video I will show how you can create a simple project folder and the copy a template file into that folder. The idea came from a comment on this blogpost, that shows more in-depth how to create folders and subfolders. If you like the video or have questions, leave me a note in…

  • Microsoft has announced on their Office blog, what the rumour mill have been buzzing about for quite a while now. InfoPath Forms and Services will be discontinued. That means that there is no new InfoPath Forms services in the next edition of SharePoint. Something new is starting to grow. According to Microsoft, they are evolving…

  • Today was the second of three bootcampdays at SurfRay campus i Herlev, Denmark. Along with Steen and Anders I have been testing SurfRays new product “Ontolica Fusion“. Today we dived right into migrating and synchronizing data to and from databases. I’m still in the beginning of learning the ins and outs of this product, but…

  • Microsoft supports migrating between Office 365 plans This is something I have been looking forward to, for a very long time. All in all I have always felt that Microsoft really pushes the limit on their various Office 365 – plans.  It is a mystery to me how it is possible to create so many plans…

  • Microsoft has announced that the Yammer Desktop AIR App is getting a permanent spot in the old App-retirement home. Come mid-april it’s Lights Out for the Yammer App. This is set to happen on April 15, 2014. Not only are the App being retired, the users ability to access Yammer via the App is being…

  • [Updated: 2014-02-05] IE11 or Internet Explorer version 11, have some serious issues when you use it to work with SharePoint. It feels like, Microsoft, missed a step in the testing process when they launched that browser. Most things that IE11 breaks can be fixed by adding *.domain to the compatibility view. I guess that I…

  • Today I’ve started a new section of my site. I call it “My Notes“. I keep a OneNote notebook handy at all times, to gather notes about SharePoint, JavaScript, PowerShell etc.. For a while I have been thinking about sharing these notes. These notes are unedited and more or less just a copy/paste from around…

  • Here’s a list of SharePoint sites and blogs about SharePoint related tech. If you run a site, that I’ve missed, please post a comment or contact me to get listed. The list: (In no particular order) Randy Drisgill SharePoint Branding and Design From The Field GetThePoint Keith Richie Microsoft InfoPath Team Microsoft Knowledge Network Team…