24,919 reputation
11235
bio website TheBlackKnightSings.com
location Copenhagen, Denmark
age 53
visits member for 4 years, 6 months
seen 11 mins ago

I'm a software developer who has been programming professionally since 1981.

I'm working as a Software developer at Edlund A/S developing IT solutions for the insurance and pension industry in Denmark using WCF and WPF.

Other links:


Jun
18
comment contents of file into an array powershell
The elements of the first array is strings and the name property of the last is strings, but as shown in the second you can force the first to be an array of strings
May
13
comment Sharing same SQL server for a SP2010 and SP2013 farm. Viable?
NOOOO, MaxDOP=1 was a requirement for SP2010, but not enforced. For SP2013 it's still a requirement and now it's also enforced
May
13
comment SharePoint 2013 App ideas
Both your examples could be made as Apps. Interacting with other systems may be hard if you're creating a SharePoint hosted app (pure JavaScript) due to security. But if you create a provider hosted app you have the full freedom/power of your environment which could be ASP.NET MVC (or WebForms) or whatever you want.
May
7
comment Create subsite in another site collection using event recievers
See the section I added on Office 365. Using WSS would mean changing from using Office 365 to host in a completely other environment. That's a whole other discussion.
May
7
comment Remove top link from Sharepoint online
With the "resent" rename of IDs in Office 365 the Suite_ prefix was changed to O365_. So it's a good practice to have both sets.
May
2
comment How to retrieve the OOB Xml field with powershell?
See addition to answer
May
2
comment How to retrieve the OOB Xml field with powershell?
Title is the fieldname shown in the UI. InternalName is the name after ows_ in the XML. StaticName is the same as InternalName unless it's changed by code. $site.rootweb.lists["User Information List"].Fields will give all the fields with this as attributes.
May
2
comment How to retrieve the OOB Xml field with powershell?
When you access $site.rootweb.lists["User Information List"].items[0] you get a SPListItem which has the Item property which you can use as $_['fieldname'] to get a fields value from Title, InternalName or StaticName of the field
Apr
28
comment Which is good practice to not activate the feature by default?
That's right when deploying through PowerShell, Central Admin, Code then it's only the ActivateOnDefault that's used
Apr
27
comment Use Office Web Apps inside Provider Hosted App
With Office365 you have no way of doing this. WebPartPages:AllowFraming can only be used to allow SharePoint pages to be IFramed for Office Web Apps on-premises you can use the HttpModule I link to
Apr
26
comment How can I display certain page to one group only?
Not really sure what you mean. An anonymous user isn't necessarily an unknown user, it's just a user who isn't currently logged in. If you just don't allow anonymous access they'll be shown the login page which you can customize if that's what you mean.
Apr
26
comment Custom Master page set as a default on feature activation in Moss
Is it on purpose that you create the masterpage in a subfolder of the gallary called Master? Is it working the first time you're activating the feature? How do you remove the file?
Apr
25
comment SharePoint feature deployment and scope via PowerShell
If your solution specifies DeploymentTarget=webapp and you try to install it using install-spsolution -Identity $solution -GACDeployment it'll complain saying that you need to specify which web applications to deploy to. -GACDeployment does not mean 'Deploy dlls to GAC' it means 'I as a SharePoint admin allows this SPSolution to install something to the GAC IF that's specified in it'. The corresponding option in the old STSADM tool was -AllowGACDeployment
Apr
25
comment SharePoint feature deployment and scope via PowerShell
I've added a section to my answer which describe how you specify whether your dll goes to GAC or Bin. If your Dll goes to bin, then Install-SPSolution with -AllWebApplications will add it to bin folder of every web app. If webpart is deployed to bin folder of webapp1, but not webapp2, then there is no way to load it on webapp2.
Apr
3
comment Deploy application page on a web application not the farm in sharepoint 2010
Depending on what the page does they may need some specific permissions. But they can call that page on any SharePoint site and the only way to limit it to a single web application as asked for in the question is through code in the page.
Feb
28
comment Infopath Regex for 7 - 15 characters with atleast one digit and character
If your field has "Cannot be blank" unchecked then the field can either be blank or it has to validate. (The advanced regex doesn't allow blank but could easily be modified to do that)
Jan
22
comment How to determine where an image is stored?
or if the image is added through a Feature in a Farm Solution and still is uncustomized then in a sub folder of the SharePointRoot, but in that case any changes should go through an updated solution or into the Content DB
Jan
11
comment Maximize modal dialog on SharePoint 2013
I've updated the answer with Office 365 version and how to find the version for your current version. But as I've seen calling these internal members isn't without problems
Jan
11
comment Maximize modal dialog on SharePoint 2013
This is how you do it if you control the opening of the dialog, but not for dialogs opened by standard SP
Jan
11
comment Maximize modal dialog on SharePoint 2013
Only works with SP2010 the internal names have changed in SP2013