London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!

Get data from MetaClass table.

Vote:
0

Hi,

Is there an episerver api to use to get all entries, or the Name and the MetaClassId from that table in the database?

Thanks in advance.

#217033
Feb 13, 2020 10:32
Vote:
0

Mediachase.MetaDataPlus.Configurator.MetaClass.GetList(MetaDataContext) would give you MetaClassCollection which is the list of MetaClass, then you can get Name and MetaClassId 

You can use MetaDataContext.Instance to get the required MetaDataContext

#217034
Feb 13, 2020 10:41
Vote:
0

Thanks Quan! This was exactly where I was looking for.

#217035
Feb 13, 2020 11:05
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.