Belangrijke mededeling over deze pagina:

Deze pagina is niet beschikbaar in het Nederlands en daarom wordt de Engelse versie van het artikel getoond. Dit komt vooral voor bij technische artikelen.

I recently came across a Sitecore instance that displayed information about the version of the custom binaries in the Sitecore login screen.
It seems like a useful thing to do, but I don't think a lot of people know how to do it (including me until I saw this instance).
Turns out it's very easy!

There is a pipeline called getAboutInformation that is used to retrieve the data that is displayed in the login screen underneath the Sitecore version number.
Here is some example code of a processor for this pipeline:

using Sitecore.Pipelines.GetAboutInformation;

public class GetVersion
  public void Process(GetAboutInformationArgs args)
    string version = ""; // Dynamically get the version somehow

    args.LoginPageText = string.Concat("Platform ", version);

Add this processor to the getAboutInformation pipeline with a little piece of include configuration:

    <processor type="YourAssembly.GetVersion, YourAssembly" />

Now browse to the Sitecore login screen to see the result!
This is especially handy when builds and deployments are automated and you need to keep track of which version is running.

2 Reacties

  • Door Mike Reynolds op 8/26/2014 om 4:46 PM

    Hi Ruud,

    I wrote a post where I also leveraged the getAboutInformation pipeline using some custom processors:

    Great post!


  • Door Kevin Brechbühl op 8/26/2014 om 10:07 AM

    I recently wrote a similar post about showing the version on the login page: Also Robbert Hock has written a small module available in the Marketplace:

    Maybe worth a look :)


Plaats een reactie