Generate a new Kentico element ID

RKVS Raman asked on October 14, 2018 17:58

Whats the algorithm to generate new elementId conforming to Kentico format?

Recent Answers


Peter Mogilnitski answered on October 14, 2018 19:37

I would assume Guid.NewGuid()

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on October 15, 2018 01:50

You may need to define what your definition of "element id" is. If you're using Modules and creating UI elements, those ID's are created automatically. If you're using the API, you'll want to look at the Modules API examples. There are examples of how to create a module, class and UI elements.

0 votesVote for this answer Mark as a Correct answer

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