Skip to main content
added reference to Tridion docs.
Source Link
Nickoli Roussakov
  • 18.4k
  • 4
  • 31
  • 62

Experts,

I need to read a section of Tridion.ContentManager.config file from my Custom resolver c# code.

Any Idea How to do it?

Custom Resolving

As per the SDL Live documentation here (login required): http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/concept_753C261063AD4B9CA5E4F50BD4FD48E9I, I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". I Very similar to the example provided in the docs:

private string SCHEMA_TITLES = Config.GetConfig("My.Tridion.CustomResolving", "schemaTitles");

However, it does not really explain where the Config class comes from or how to instantiate it.

I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks

Saurabh

Experts,

I need to read a section of Tridion.ContentManager.config file from my Custom resolver c# code.

Any Idea How to do it?

Custom Resolving

I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks

Saurabh

Experts,

I need to read a section of Tridion.ContentManager.config file from my Custom resolver c# code.

Any Idea How to do it?

Custom Resolving

As per the SDL Live documentation here (login required): http://sdllivecontent.sdl.com/LiveContent/content/en-US/SDL_Tridion_2011_SPONE/concept_753C261063AD4B9CA5E4F50BD4FD48E9I, I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". Very similar to the example provided in the docs:

private string SCHEMA_TITLES = Config.GetConfig("My.Tridion.CustomResolving", "schemaTitles");

However, it does not really explain where the Config class comes from or how to instantiate it.

I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks

Saurabh

Formatted and added tag
Source Link
Siva Charan
  • 4.3k
  • 1
  • 20
  • 36

Experts,

I need to read a section of ‘Tridion.ContentManager.config’Tridion.ContentManager.config file from my ‘Custom resolver’Custom resolver c# code. Any

Any Idea How to do it?

enter image description hereCustom Resolving

I want to read value for the key “Title”“Title” for the section "My.Tridion.CustomResolving""My.Tridion.CustomResolving". I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings”“Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks Saurabh

Saurabh

Experts,

I need to read a section of ‘Tridion.ContentManager.config’ file from my ‘Custom resolver’ c# code. Any Idea How to do it?

enter image description here

I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks Saurabh

Experts,

I need to read a section of Tridion.ContentManager.config file from my Custom resolver c# code.

Any Idea How to do it?

Custom Resolving

I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks

Saurabh

Tweeted twitter.com/#!/StackTridion/status/431556774148472833
Source Link
Saurabh Gangwar
  • 6.5k
  • 1
  • 16
  • 32

How to read ‘Tridion.ContentManager.config’ file from my ‘Custom resolver’ c# code

Experts,

I need to read a section of ‘Tridion.ContentManager.config’ file from my ‘Custom resolver’ c# code. Any Idea How to do it?

enter image description here

I want to read value for the key “Title” for the section "My.Tridion.CustomResolving". I am guessing, I will have to use class “Tridion.ContentManager.ConfigurationSettings” in the code, but not really sure.

Please help.

Thanks Saurabh