Links: Sites About Me
Excellence -
Pics -
Bibles -
Polk City -
Church -
Need a PDF Form -
Linked In

Having fun being a father and a web geek.

Hello, my name is Rod Bergren

Who am Who am I?  I am a geek/programmer/webmaster/manager for the bestest company.  I write applications for Web Services and Windows.  I also do on the side contract programming as my time allows (which is not very much).


Wednesday, September 13, 2017

SSRS Pageviewer in SharePoint formatting incorrectly 2016

There is your answer.  Ok, so you don't need me anymore.  

Anyway reports are supposed to be embedded in a page with the pageviewer webpart in SharePoint 2016.  The Expansion is on one line and the group name is on another line.  

It isn't supposed to be this way.
In the IDE and in SSRS browsing on the Reporting Server it looks just fine.

which is nice and compact.

Hmmm what is going on?

After some googling.  Which didn't really give me what I wanted I found this page

So reading thru there I find that adding format= might change the formating.  So I tried the 

Which worked.

I just added that to the end of each of my URLS in the pageviewer and I was good to go.

Hope this helps.


Saturday, June 17, 2017

Pretty night in Iowa

Just wonderful

Monday, June 05, 2017

XML Document from SharePoint 2016 Client Context
Yep this is always ugly.  I have had many opportunities in the past to read the XML file from InfoPath or some other source and open it to get information and create a workflow load into various other systems.  We aren't going to discuss the pros and cons of this.  Suffice it to say it isn't always optimal.  But sometimes things have to be done.

Trying to read thru the following sites. 
Microsoft's fun documentation

Obligatory Stack Exchanges to get some ideas on what is going on.

nothing was really working.  But wait what?  FileStream.  Hmmm I can just stream from file into Xdocument right? perhaps?

Yep that works.  Simple basically 
inner ends up with the entire stream and away you go.  One blessed little line. 

Code is as follows.  
     string astr = "\mySPSite\MyLibrary\Myfile.xml";

        Microsoft.SharePoint.Client.ClientContext cc = new Microsoft.SharePoint.Client.ClientContext(siteUrl);
        cc.Credentials = System.Net.CredentialCache.DefaultCredentials;
        Microsoft.SharePoint.Client.Web sp16 = cc.Web;
        XmlDocument xDoc = new XmlDocument();
        Microsoft.SharePoint.Client.FileInformation f = Microsoft.SharePoint.Client.File.OpenBinaryDirect(cc, astr);
Thursday, May 04, 2017

Tennis anyone.

Awesome evening for tennis.   David is playing well. 

Wednesday, January 18, 2017

Microsoft Surface Pro 2 won't start until you press start a bizilian times.
So I have had a Surface Pro 2 since they came out.  I love that machine.  IT is in a word awesome.  12+ hours of battery life. 256gb SSD, 8gb memory, It is my favorite toy.

About a month or so ago though. It started having issues turning on.  It would not turn on.  I tried everything.  And I mean everything

Pressing the vol up and power then power,
Press and hold vol down then power.
Triple pressing the power button in three short bursts.

I have scoured the interwebs.  I have looked high and low.  I have prayed.

Nope nada no luck.  It will always start eventually after I have pressed the power button enough times or somehow caught it in a good mood.  Sometimes this was in 5 secs.  Sometimes 3-15 minutes.  Usually about a minute or 2.  It was extremely frustrating.

So,  I was at wits end.  I was willing to try anything.  One thing I do have. I do have a journal.  And I had written in when this had started bothering me.  Sometime in Nov of this year.  hmmmm.

So I started looking and looking at winders updates.  At drivers updates (ah ha)

Middle of November there was a battery update driver.  hmmmm.  Rolled back that driver to the previous one.  And things seem to be ok again.

Lets hope this continues.

Friday, January 06, 2017

Sunset in Iowa. Always gorgeous

Just simply stunning

Friday, August 26, 2016

So Samsung has a new Note 7? hmmmm
I have a Note 4.  I LOVE that phone.  It has everything I want in a phone except for one thing. It isn't waterproof. 

And here came the Note 5.  and guess what it wasn't waterproof.  So Rodney wasn't interested.  In addition to not being waterproof.  It also had the following features of the Note 4 removed.
Removable Battery, Expandable memory, IR blaster for using it as a remote for the TV etc...

I was looking at a Note 5 in a store and a salesman tried to sell me on it.  He was talking about all the "free" online storage that you would have with the phone.  My response.  So that uses my bandwidth right? and with this "free" storage I lose all these features?  I asked him how he could even talk to me with a straight face at all?  But you get free online storage.  I walked away at this point.

So now Samsung comes out with the Note 7.  Guess what.  It is waterproof and it has expandable storage.  So now I am at this point of.  What do I do???   It is still missing the removable battery and the IR Blaster.  Seriously if it had either of these I would be sorely tempted(read I would probably already own it).  So it is missing two features from the Note 4 and has one new one that the 4 didn't have.  

If only it had an IR Blaster.  


New hotness. 

Old awesomesauce. 

Still think I like the old one better. 



The Crew

  More pictures are here.

From Ariea

Papa's concert.


Other stuff of interest to people possibly.

Trip to Tahiti.

Belize is nice as well