Announcements
No record found.
string xxxx= "F5BE3CEC-81DE-46C5-BA32-49A61039BEE9"; passing this Guid as parameter to a method . i want use unsured Config .. how to get this string from unsecured config ?
*This post is locked for comments
community.dynamics.com/.../what-is-unsecure-secure-configuration-on-a-dynamics-crm-365-for-enterprise-plugin
Hi,
you can access the value in plugin constructors. You can build your unsecure configuration in XML.
Example: <?xml version="1.0" encoding="UTF-8"?>
<guid>
<value>F5BE3CEC-81DE-46C5-BA32-49A61039BEE9</value>
</note>
//Use if you have both secure and unsecure configrations
public PluginConstructor(string unsecureConfig, string secureConfig)
{
//Load the unsecure configuration in xml doc
xmlDoc = new XmlDocument();
xmlDoc.LoadXml(unsecureConfig);
}
//Use for unsecure config
public PluginConstructor(string unsecureConfig)
Thanks,
Abhishek
Hi ,
Please have a look below reference -
https://sandeepkolarveettil.wordpress.com/2012/11/10/how-to-read-unsecure-configuration/
XML should look like below - <?xml version="1.0" encoding="utf-8"> <Settings> <setting name="ReportExc_ReportExecutionService"> <value>localhost/.../ReportExecution2005.asmx</value> </setting> <setting name="GUIDVALUE"> <value>F5BE3CEC-81DE-46C5-BA32-49A61039BEE9</value> </setting> </Settings>
Hi navauyht,
Please do remember to close this thread (and your previous threads) when you get the answer to your question by marking the helpful suggested answer. This will help other looking for the help on the same/similar issue.
Hope you understand.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
JS-09031509-0 3
AS-17030037-0 2
Mark Eckert 2