932 reputation
317
bio website
location Perth, Australia
age 30
visits member for 2 years, 8 months
seen Apr 11 at 15:32

Lead SharePoint developer for a major Australian mining company.


Oct
26
asked Custom Content Query Web Part in a Sandbox Solution
Oct
19
comment How do you add Meta-tags/CSS/JavaScript to head on SharePoint Online (without unghosting the MasterPage)
I'm using this method in a sandbox solution and it works great. The only problem I've found so far is that it doesn't check if the script file has already been registered before loading it. For example, if you add jquery-1.7.2.js this way in two seperate web part projects and add both web parts to the same page, then you will get 2x copies of jquery-1.7.2.js being sent to the browser. Do you know of any way to prevent this? I tried prefixing document.write(...) with if(!jQuery) but the custom action appears to get processed BEFORE the scripts have actally been loaded :/
Aug
24
awarded  Yearling
Aug
23
comment How do I show the quick launch menu in a SharePoint foundation blog?
Can you add some details Jash? Post your code, and also let me know exactly what page / URL it is you're having trouble with.
Aug
21
comment “Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver
Thanks for your insights @Sreejit. All I'm doing is programmatically activating OOTB features though, so there's not much I can do about reducing the load on the CPU. For the record, I'm still searching for an answer on this...
Aug
21
awarded  Critic
Aug
17
asked Custom SiteMapProvider in Sandbox Solution
Aug
14
comment Can not update Navigation programatically
One more thing to add... If you create your subsite using a custom WebTemplate instead, then you can configure the navigation by simply passing in the appropriate feature properties. See below: <!-- Per-Web Portal Navigation Properties --> <Feature ID="541F5F57-C847-4e16-B59A-B31E90E6F9EA"> <Properties xmlns="http://schemas.microsoft.com/sharepoint/"> <Property Key="ShowSiblings" Value="false" /> <Property Key="IncludeSubSites" Value="true" /> <Property Key="IncludePages" Value="false" /> </Properties> </Feature> I can confirm that this works in a sandbox solution.
Aug
10
answered Can not update Navigation programatically
Aug
10
comment Compiling code against the Microsoft SharePoint 2010 sandbox assembly
Thanks for your feddback, and for confirming my same thoughts (unfortunately!). I've had to change my references back to the regular SharePoint assembly, but we do periodically replace it with the sandbox version just to verify we don't have any bugs before we do a build / release.
Aug
10
accepted Compiling code against the Microsoft SharePoint 2010 sandbox assembly
Aug
9
comment Can not update Navigation programatically
Hi @Davy. I'm also working on a sandbox solution and need to initialise the navigation settings on my publishign sites. Did you ever find a workaround?
Aug
7
revised “Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver
added 585 characters in body
Aug
7
comment “Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver
My solution is currently deployed to a local (on-premise) SharePoint instance for development purposes, but it'll be deployed to SharePoint Online in production. Also, the features with receivers all activate fine when activated individually via the UI -- the exception only occurrs when I try to activate them programmatically inside another feature receiver (i.e. I have one feature which activates a bunch of others, acting like a site definition).
Aug
6
revised “Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver
added 205 characters in body
Aug
6
asked “Service too busy” exception occurrs when trying to programmatically activate a sandbox feature with an attached feature receiver
Jul
27
revised Compiling code against the Microsoft SharePoint 2010 sandbox assembly
Added clarifications to existing post, and added a potential fix in the UPDATE section.
Jul
27
revised Compiling code against the Microsoft SharePoint 2010 sandbox assembly
Added clarifications to existing post, and added a potential fix in the UPDATE section.
Jul
26
revised Compiling code against the Microsoft SharePoint 2010 sandbox assembly
added 265 characters in body; added 18 characters in body
Jul
26
asked Compiling code against the Microsoft SharePoint 2010 sandbox assembly