"Metadata not found for YourMPMName Contact your system administrator for assistance."
1) The namespace must be of the form .BusinessServer.BusinessPolicies.Component where component_name is one of the existing FSM components like 'SharedTables', 'RepairCenter', 'ServiceContracts', etc.
2) The class name MUST end with 'CustBusPolicyMgr'.
For example:
namespace Acco.BusinessServer.BusinessPolicies.SharedTablesComponent
{
public class SharedTablesCustBusPolicyMgr : SharedTablesBusPolicyMgr
{
...
Yes. This is one of the god question. MPM is names as “Matrix Perform Message”. simply what happen is you will call a method in server side by passing XML message. that given XML has information about perform name and parameters. FSM framework will identify the method and call it dynamically. hence, you have to configure few things before it works fine.
- Make sure the namespace is correct in web.config
Each class file in C#, you can find out a namespace. it is a combination “component name” and the “namespace” which you have mentioned in the web.config for CustBusPOlicyMgrs class
- Class file should be inherited from relevant PolicyMgr
in this screenshot,
ServiceLogisticsBusPolicyMgr : base line business policy manager class
Your method name should be public
AcmeShipping.BusinessPolicies : namespace in web.config
ServiceLogisticsComponant: component name which you set when create the perform Definition
- Should create a perform Definition to your method. (this is case sensitive and it should be 100% equal to your method names, namespace, and parameter name and types.)
perform name: “perform_” + your given name. adding “perform_” prefix is mandatory
- build the code in the same .net framework level of the application ( Same level will not do any run-time binding issues) and put dll in to correct folder.
- restart the IIS application pool and do recycle. ( according to you do the server side change this is mandatory)
- refresh cache
then retry. these are the things you have follow and it should work.
your error “Metadata not found “ is because it is not possible to find out correct Metadata “perform definition” according to your XML message. Make sure all above are correct and values you enter in XML is correct.aperform name and the parameter tags]
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.