Get Relationship Displayname

Stefan Sturm asked on September 21, 2018 17:11

Hello,

searching a way to query the CMS_RelationShipName table within an aspx template. So far i stuck using the RelationShipInfoProvider.

Any Suggestion?

I am working with Kentico 8.1.2

Kind regards

Stefan

Correct Answer

Stefan Sturm answered on September 21, 2018 17:14

Ah got it:

RelationshipInfoProvider.GetInfoByName("cms.relationshipname", [codename])

:)

0 votesVote for this answer Unmark Correct answer

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