Missing Meeting Requests in Outlook


I was missing meeting requests in my Calendar after accepting them (usually from GoToMeeting). The problem was the detail level in the calendar – see the top of each image below. In switching detail, I would not expect the content to go away. Spot the difference below:

Advertisements
Categories: Tips

Page events not firing in Sitecore sublayout


If your nested Button or Linkbutton does not fire its associated OnRowEditing, OnRowCommand or other code behind event, you need to add the name of the parent container to the  “typesThatShouldNotBeExpanded” section in the Web.Config. Just like this:

<!– RENDERING –>
<rendering>
<typesThatShouldNotBeExpanded>
<type>System.Web.UI.WebControls.Repeater</type>
<type>System.Web.UI.WebControls.DataList</type>
<type>System.Web.UI.WebControls.GridView</type>
</typesThatShouldNotBeExpanded>
</rendering>

Categories: Sitecore

S4S – Sitecore for Salesforce


So we built a product on a whim and made a good job of it. But S4S is turning out to be really powerful – and companies across the world are coming up with brilliant ways to use it. I guess I should not be so surprised; we all carry 8Gb flash drives in our pockets. But how about this:

1. The Salesforce Lead form is given an extra dropdown field called “Profile”.
2. From Salesforce, the lead is sent an email with the login credentials to the Sitecore CMS site
3. After logging into the site, the content is completely personalised according to the selection made in Salesforce Lead Profile field.

Now how good is that!

Categories: Sitecore

Sitecore for Salesforce

September 30, 2009 Leave a comment

FuseIT have just launched a connector that lets Sitecore talk to Salesforce and vice versa.

Called S4S, the connector allows the transparent bi-directional transfer of Sitecore CMS objects with Salesforce assets. The S4S connector achieves integration at four key levels – security, data, OMS and Salesforce report and dashboard connections. Inherent in the connector are features to make displaying content easier like the paging of list data from Salesforce.

Sitecore have recently built into their CMS a serious analytic’s module called OMS (Online Marketing Suite). FuseIT are busy adding features to S4S so all the OMS information can be exposed in the Salesforce Reports and Dashboard pages. See more about all this at FuseIT.com

Categories: Sitecore

AjaxToolkit CalendarExtender hidden under a div

September 18, 2009 Leave a comment

If your CalendarExtender is half hidden by divs you should be able to fix it by one or both of these solutions:

In the css, give it a high z-index:

.ajax__calendar_container
{
z-index:1000
}

Make the div position absolute:

<div style="position:absolute;height:auto">
<div id="requiredBlockCompletedDate" runat="server" />
<asp:TextBox ID="txtCompletedDate" runat="server" CausesValidation="True" MaxLength="10" Text='blah'></asp:TextBox>
<asp:ImageButton ID="imgCompletedDate" runat="server" OnClientClick="javascript:return false;" SkinID="CalendarImageButton" />
<ajaxToolkit:CalendarExtender ID="CalendarExtender3" runat="server" CssClass="ajaxToolkit-CalendarExtender" Format="dd/MM/yyyy" PopupButtonID="imgCompletedDate" TargetControlID="txtCompletedDate">
</ajaxToolkit:CalendarExtender>
</div>

Categories: New Posts

Rackspace Cloud Anomalies


Life in the clouds is no picnic  … especially when you deploy for the first time and discover all is not well in the medium trust environment.
It would be wishful thinking to add <trust level=”Low” /> to the Web.config ..

Anyway, here are a few discoveries I have made ..

In Web.config make the following changes

1. Add requirePermission=”false” so components can be accessed
<configuration>
<configSections>
<!–  Added requirePermission for cloud access –>
<section name=”log4net” type=”log4net.Config.Log4NetConfigurationSectionHandler, log4net” requirePermission=”false”/>
<section name=”dataConfiguration” type=”Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseSettings,
Microsoft.Practices.EnterpriseLibrary.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35″ requirePermission=”false”/>
.
.
</configSections>
</configuration>

2. Impersonate a valid user
<system.web>
<!–  To allow files and folder access –>
<identity impersonate=”true” userName=”dfw\blah” password=”passwordBlah” />
.
.
</system.web>

3. Issues with the GAC – still working on this
<!–  Yep  … its debug mode  … issues with the AJAX ToolKit –>
<compilation debug=”true” strict=”false”>
.
.
</compilation>

You may also get trouble with third party dll’s that do not run in the medium trust environment. It took me a few hours to rewrite a blowfish encryption dll that did just that.
I will add stuff to this note as I discover them.

Categories: C# Code Comments

Dependency Injection or Inversion of Control (IoC)


These phrases popped up during TechEd so I scrambled to verify it was what I thought it was .. and it wasn’t.

To recognise DI, look for an interface being passed into a class constructor or, alternatively, an interface being passed to a class properties set. The primary objective here is to provide loose coupling by using interfaces. We can use a referenced object in our class only knowing that it has an interface.

Categories: New Posts