![]() Var key = (var keyName in key.GetSubKeyNames())ĭisplayName = subKey.GetValue("DisplayName") as string String GetApplicationVersion(string appName) Next code base on similar solution is working for me: var version = GetApplicationVersion("Windows Application Driver") In these keys there are many keys, some of them have got "easy-readable" name, such as Google Chrome, some of them got names such as ", appName, appVersion) However, it's not that easy - on 64bit Windows, the 32bit (x86) applications save their installation data into another key, which is: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall Most of installed applications put their installation data into the following place: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall The place where you should look are the Windows Registry. To be honest, only a few of them do that. If we want to get all the language versions where more than 10 numbered versions exists we can select “Filter By” -> Max Versions, you can change the max version count by updating the same in “ .The first and the most important thing is that not all applications do save their version somewhere in the system. Similarly- If we want to get all the items on english language version- we can apply language filter. If we include child items also by checking “ Include Child Items” this is what we see.įrom here if we want to filter it based on “ Language“,/” If the item version is published or not“- we can select the filters and get the result. Live Version- This give the language version no.Latest Version Live– This shows if the latest version exists in Source DB (master) has been published or not.Total Version(s)- This gives a count of how many numbered versions exists for a particular language version.Total Language(s)– This shows how many language versions exists for the selected Item- from the above screen shot we can see that three (3) language versions exists, “ es-AR“,” en” and “ fr-CA“.Item ID- This is Item ID which user can click and navigate directly to content editor.“ Max Version“- This would filter all those language versions where more than 10 (this can be changed) versions has been created.įor example- If I want to test an item which is created under Home item and has multiple language versions, this is how it looks.“ Latest Version is not published“- This would list down all the language version items which is still not published to target database.Filter By- here we have two filters available:.Language- Language filter to get item details based on specific language, this would show all the languages available under System->Languages.Content Type- Content Type filter has been added to filter it based on Page/Non-page items like data items/module/image items etc.Include Child Items- Checkbox to include child items also.Root Path– This contains the root path of the item which you want to check, this also support item GUID.Once the package is installed- tool can be accessed here – It has following parameters: Provide an option to download the report which then can be shared with concerned person(s) to make necessary changes.To get the language versions where the no of versions are greater than 10 (this is what Sitecore recommends)- this can be changed if required in the tool.To get list of items which are still not published.How many numbered versions exists for particular language version.How many language version exists for a particular item.The idea behind this tool is simple- to get details around following: To make things little easy and generic so that teams working on different project has a platform and tool available to get this data- so that they can use this data and make necessary updates/corrections in Sitecore content tree, i thought of creating a tool for the same. ![]() When we are dealing with the small site this check is easy and we can get the details in some time, but when we are working with a huge site which has so many items/language versions/numbered versions and so on this becomes a little difficult. ![]() We have come across many times when we were asked to check and validate language versions of specific item(s), like how many languages exists for a particular item, how many numbered version exists, if any particular version has more than 10 versions per language and so on.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |