How to get GUID of kentico application(module)

Mani SJ asked on February 28, 2020 04:51

https://docs.kentico.com/k12/using-the-kentico-interface

In above link under "Administration interface URL structure" section it says to input GUID of application.

I am not sure how to get GUID? I mean what's the DB table name. I created a module and want to redirect to that module from code behind on a button click.

Correct Answer

Juraj Ondrus answered on March 2, 2020 07:14

The module GUIDs are stored in the DB - in the CMS_UIElement table, ElementGUID column if you want to look them up in the DB.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Juraj Ondrus answered on February 28, 2020 11:52

This is mentioned only if you want to provide e.g. a direct link to a custom module or directly to load certain interface. To get the GUID simply open the application list, go to the desired module/application and in the URL you will see the GUID - so you can mark it down, or copy the link and use it to link given module/application directly.

0 votesVote for this answer Mark as a Correct answer

Mani SJ answered on February 29, 2020 10:24

I was seeing it but never thought to copy it since I thought someway this details are saved in DB so I can get GUID based on application name. Anyhow, thanks for your time.

0 votesVote for this answer Mark as a Correct answer

Mani SJ answered on March 3, 2020 04:52

Hi Juraj. Is there an API way for same?

0 votesVote for this answer Mark as a Correct answer

Juraj Ondrus answered on March 3, 2020 06:30

Well, you can use this general API to get the UI elements.

0 votesVote for this answer Mark as a Correct answer

Mani SJ answered on March 3, 2020 06:38

Got it.

UIElementInfoProvider.GetUIElementInfo("ModuleName", "ModuleName").ElementGUID;

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.