Tallan Blog

Tallan’s Experts Share Their Knowledge on Technology, Trends and Solutions to Business Challenges

Category Archive for "Portals & Collaboration"

SharePoint 2013 Visual Web Part Auto Generated Files

As you may already know, SharePoint allows developers to create custom web parts a few different ways. You can create a web part through code using the Visual Studio Web Part Template or you can create it with a Visual Web Part Template. The Visual Web Part templates are nice because they allow you to use user controls (.ascx) files to generate your markup.
If you’ve ever created one of these Visual Web parts you’ve probably noticed that there is a code behind .ascx.cs file and another odd file with a ascx.g.cs extension. This .asxc.g.cs file is automatically generated by Visual Studio and is quite important. Every time you make an update or change the .ascx file and then press save, Visual Studio pushes those updates into this auto-generated file. The .ascx control is never actually deployed; instead the code files are packaged…

Embedding Power View Reports Into Your Blog/Site

For all of you out there who have had challenges with embedding your Power View dashboards into your public-facing websites, here is the fruits of my labors attempting to and finally achieving success in doing just that. There’s no new revelations here, consider this to be more of a compendium of all the important information that’s out there on this subject.
Making your Power View Report Available to the Public
This was one of the biggest challenges I encountered. While there are many examples of how to create a guest link, all the resources I found did not give the full picture of what you need to do to make this possible.

Adding “Related Items” Field to Your List in SharePoint 2013 and SharePoint Online

SharePoint 2013 Task forms have a pretty nifty field called Related Items. It allows you to add a reference to another document or site asset to a Task. This is mainly used to display the related item that the task is created for (During a Workflow). Clicking on Add Related Item link and you get a dialog that allows you to

Upload content from your desktop
Select an item from a SharePoint list (yes you can link to a list item as well)

Managed Properties (Limitation) in SharePoint Online

With the new SharePoint Online being touted as the SharePoint platform for the future a number of organizations are planning to move to the cloud and leverage SharePoint online for collaboration and enterprise content management. One of the powerful features in SharePoint 2013 (and SharePoint online) is the new search engine. When you start working with SharePoint online you will encounter a number of differences between how on-premises SharePoint and SharePoint online are administered. One of these is how you work with Managed Properties.

Installing SharePoint 2010 SP2

I was tasked last week with learning how to install SharePoint 2010 as part of our SharePoint IT Training Module.  It’ll be easy they told me, or maybe they didn’t tell me that and I told myself that.  It’s only an installation, how hard can it be?  Famous Last words.  Well after a long time setting up every little thing I get hit with this error and spend a day trying to get past it trying a number of different strategies :

Displaying Enhanced Rich Text in Content Query Web Part

SharePoint has the Content Query web part, which is a control that allows a user to display an aggregated list of items based on some criteria. You can choose to return items from all sites within a site collection or from a specific list; all based on a list type and content type. You also get a few different display options, but if you try to return an Enhanced Rich Text field, that is to say some HTML and CSS Styling, the results are a bit funky.

User Impersonation with SharePoint

Recently I had to create a custom web part where all users needed the ability to fill out a text box with some feedback and then submit it to a list where it could be reviewed. This is a pretty simple control to implement if the users that will be submitting the form have “Contribute” permissions on the list that the form will be submitted to, but what happens if users with “Read” permissions should also have the ability to fill out the form?
Fortunately, SharePoint makes it super simple to write custom code that can impersonate other users.

Change SharePoint Central Admin Top Bar Text

Overview
To help make it abundantly clear which central admin site someone is logged into, I wanted to change the top bar text to something other than “SharePoint”.  Turns out you can do that using the SuiteBarBrandingElement value on the Central Administration Web Application object  from PowerShell.
Code:

Add–PSSnapin microsoft.sharepoint.powershell $ca = Get–SPWebApplication –IncludeCentralAdministration | ` ?{$_.IsAdministrationWebApplication -eq $true} $ca.SuiteBarBrandingElementHtml = “<div class=’ms-core-brandingText’>SP2013 Shared Services Farm (PRODUCTION)</div>“ $ca.Update()

Result:

Office 365 and SharePoint Online FAQ

Recently had to field some questions regarding Office 365 and SharePoint online. Thought it would be beneficial for others looking for similar information. Leave a comment if you have additional input on any of these or have other questions regarding this topic:

\\\