Skip to main content

Posts

Add-PNPClientSideText Object reference not set to an instance of an object

When trying to use PNP to create SharePoint online pages I ran into this error. Add-PnPClientSideText -Page "Offices" -Text " City office Free phone: 12345 " -Column 2 -Section 5 -Order 5 Add-PnPClientSideText : Object reference not set to an instance of an object. At line:1 char:1 + Add-PnPClientSideText -Page "Offices" -Text " City office < ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~     + CategoryInfo          : WriteError: (:) [Add-PnPClientSideText], NullReferenceException     + FullyQualifiedErrorId : EXCEPTION,SharePointPnP.PowerShell.Commands.ClientSidePages.AddClientSideText The error is caused by having the page open in a browser window in Edit mode. Once you click Publish on the page in the browser the code runs fine.
Recent posts

O365 first time login Password change required

Just logged into O365 with a new account and got the following error using Google Chrome When I logged in using Microsoft Edge I got the change password screen. The server can't sign you in right now. Please try again later. MSSPError=(-2147217382)loginpost(778) X-ClientId: D9E0727DA9D04C63BD20E32C7EE40260 request-id 6d1cc7a0-5615-4fea-9b6c-2d9ac7690844 X-Auth-Error MSSPErrorException X-OWA-Version 15.20.56.14 X-FEServer SYXPR01CA0061 X-BEServer MEXPR01MB1048 Date:9/24/2017 7:47:30 PM

Managing and growing your intranet

In 2009 and again in 2010 I ran two day workshops for intranet managers in Wellington New Zealand. My goal was to try and provide some professional development for people who do what I do, and some extension for myself. The events were organised by Bright*Star training with me providing the content and them providing the logistical support. The intranet folks who attended gave me great feedback and I hope got a lot out of the experience. Curriculum Intranet assessment : providing a platform from which to grow Decisions : taking us to and from the future Square pegs and round holes : the right tool for the job Fundamentalist leanings : identifying and delivering the pillars on which your organisation’s intranet will flourish Putting yourself in their shoes : understanding what staff really need Reaching in and out : making an intranet work for staff Useful, usable and used How do we know we’ve got to the future What I found wonderful was that because the groups wer

Kiwi Intranets - a little history

For my CV I just tried to document when I started the Kiwi Intranets group. It was a little harder than I thought but thanks to the Way Back Machine I found out the date. http://web.archive.org/web/20050623011812/http://www.brightstar.co.nz/calendar_conferences.htm For 5 years I'd been slaving away working on an intranet and then I suddenly discovered there was a conference about the topic! Eureka. And even better it was in Auckland rather than overseas. Yeah! And even better my boss at the time had enough training money for me to be able to go, as long as I stayed with my sister. So on August 15th 2005 I turned up at the venue in down town Auckland, tried the coffee and ran round the block to get something was coffee rather than just having a coffee label. The day blew me away, literally. I remember seeing Dan Randow and Mia Morrish speak about their respective recent activities. By the end of the day I was really buzzing and so when I left the after event drinks, I walke

Mentoring intranet folks

From :  https://flic.kr/p/inW8ZS I ran a team of application developers at a New Zealand University for over a year. One of the aspects of that role which I really enjoyed was working with each team member on their personal development. With the people I was working with we found that individual mentoring was very effective. Traditionally organisations have training budgets. The training budget is often used to send technical folks on a one, two or more day training course. In some cases the money is used to send people to a vendor or practitioner focused conference. In my experience the training courses are given by either the technically gifted or those new to the field. Neither tend to be good trainers or teachers. In my own experience and from the results I saw within my team there is a better way. We agreed as a group that where possible we would forgo the poor quality training and the questionable conferences and use the money to get a specialist / consultant in for

Intranet notifications - are they ruining your organisations performance ?

Photo by mbiebusch Do you have the option for your staff to receive notifications via email from the intranet ? If you do these notifications may be stopping your staff from getting a good nights sleep and working at their best the next day. Christopher Barnes on the Harvard Business Review blog, in his article "workers disengaged" ,  provides evidence of how damaging late night phone/device checking can be on performance the next day. So if you're running an intranet and you allow staff to sign up for notifications or updates when changes are made have you optimised the scheduled tasks and cron jobs so that they don't send the notifications out in the middle of the night ? Sharepoint has this feature allowing people to setup notifications when changes are made to libraries folders and lists they are interested in. Do you modify the jobs so that emails don't go out and disturb everyone's sleep ? How else do the systems you have setup, which run w

What a hotel website should be

SA Hotel Trat, Thailand Online services for those who are travelling tend to be all about the supplier, or middle man, and not really for the person who will actually use the service. For 8 months now my family and I have been travelling from the UK back across the world to New Zealand. Every few days we have been looking for a new hotel. And the hotel sites , and the cheap room sites all have their flaws. So when we found the website for the SA Hotel in Trat Thailand we exclaimed loud and long how good it was. http://www.sahotel.in.th/ I'll warn you now it isn't pretty - but if like us you've looked at a lot of pretty hotel websites and still not really been able to make up your mind if it is the right place to stay I feel for you. The best online presences for hotels are invariably those run by people who own and live at their own properties, and who are doing something different. A case in point is Les Manguiers  http://www.mangokampot.com/  which again isn&#