locked
Best way to store configuration data RRS feed

  • Question

  • what is the best way to store configuration data(like urls,others values ) in ms crm so that we change it any point of time....

    pls suggest.

    mahender
    Wednesday, April 1, 2009 1:43 PM
    Moderator

Answers

  • Create an entity and keep in the Settings area and locked down.

    For example, Create an entity called System Configuration and create an Attribute called Value.  This way you have a Name (default) and Value.
    Ascentium | www.ascentium.com | www.rosslotharius.com
    • Proposed as answer by Steven Suh Wednesday, April 1, 2009 3:34 PM
    • Marked as answer by HIMBAPModerator Thursday, April 2, 2009 3:58 AM
    Wednesday, April 1, 2009 3:25 PM
    Moderator
  • The best way is to use a Custom Entity and writing Utility methods to return the required key value pair. This way, you can read that information from Plugins, WorkFlows, Custom ASPX pages (NOTE: The Custom ASPX page would atleast need the CrmService url to pull the configuration data).

    If you have more quesitons, look at http://blogs.msdn.com/crm/comments/9014899.aspx

    Thanks,
    Maruf
    • Proposed as answer by Maruf Wednesday, April 1, 2009 3:38 PM
    • Marked as answer by HIMBAPModerator Thursday, April 2, 2009 3:58 AM
    Wednesday, April 1, 2009 3:37 PM

All replies

  • Create an entity and keep in the Settings area and locked down.

    For example, Create an entity called System Configuration and create an Attribute called Value.  This way you have a Name (default) and Value.
    Ascentium | www.ascentium.com | www.rosslotharius.com
    • Proposed as answer by Steven Suh Wednesday, April 1, 2009 3:34 PM
    • Marked as answer by HIMBAPModerator Thursday, April 2, 2009 3:58 AM
    Wednesday, April 1, 2009 3:25 PM
    Moderator
  • The best way is to use a Custom Entity and writing Utility methods to return the required key value pair. This way, you can read that information from Plugins, WorkFlows, Custom ASPX pages (NOTE: The Custom ASPX page would atleast need the CrmService url to pull the configuration data).

    If you have more quesitons, look at http://blogs.msdn.com/crm/comments/9014899.aspx

    Thanks,
    Maruf
    • Proposed as answer by Maruf Wednesday, April 1, 2009 3:38 PM
    • Marked as answer by HIMBAPModerator Thursday, April 2, 2009 3:58 AM
    Wednesday, April 1, 2009 3:37 PM