[DISCUSS] Microsoft GP Connector - Custom Entity

Hi All,
During I do mapping from CRM to GP by using Microsoft Dynamics GP Connector, the custom entity (Eg: Application) did not work properly but the standard entity (Account) is fine.
From the screenshot below is a Account Entity that have a Submit button to turn on the integration flag
But for the Application Entity did not show any Submit button as screenshot below,
May I have a guide how to let the connector integrate the custom entity as well?
Thanks your help. :)

Custom entities in CRM can be integrated by simply running the CRM configuration utility and selecting those custom entities that you wish to integrate to / from.  Next you will create a new map from or to that entity and to or from an entity in the
other system.  Once the map has been created, you can then use the Connector mapping client to map your fields, create a schedule for that map, and active that map.  You DO NOT need to use the SDK to create integrations / maps to and from custom
CRM entities.  Nor do you need to use the SDK to integrate to or from NAV 2009 R2 or AX 2012.  Any services that are exposed by those applications can be used by Connector by simply running the configuration utilities for those applications. 
If you need to integrate to custom services in AX 2009 or to entities not currently exposed in GP 10 or GP 2010, you would need to create a new adapter using the SDK.
The issue that you have run into with having entities listed twice in the configuration utility for CRM is a known issue and does have a KB written up for it and can be found here within PartnerSource:
https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-US;2670535.  This is also scheduled to be fixed in an upcoming
refresh of the V2 version that was posted in December 2011.
The "Submit" button is added by our solution to the Account and Contact forms.  This forces the user to "submit" an instance of these records for integration and this functionality was added in direct response to feedback from customers who stated that
they didn't want all Accounts and Contacts integrating by default.  The "Submit" button that is added to the Sales Order from is implemented by the CRM platform itself and more information for that functionality can be found in the CRM SDK documentation. 
By default, when you create a map for custom entities in CRM, they will all
be integrated based on their modified date in CRM.  If you would like to emulate the "submit" functionality (so that your users have to preform some action
before an instance of your new entity will be scheduled for integration) you could do this through your own custom solution and documentation to preform those types of operations can be found in the CRM SDK Documentation as well.  Then, you could
use the new filtering functionality in Connector for Microsoft Dynamics to filter based on a field on your entity that gets set when your custom "Submit" button is clicked.
The Connector team blog is also a great reference for all things Connector for Microsoft Dynamics:
http://blogs.msdn.com/b/dynamicsconnector/
Hi,
Since the destination entity did not show others entities that I needed, you are try to recommended using adapter SDK? Where to get it?
I just want to clarify, using adapter SDK or GP Web Services/eConnect is a much more easier to solve my problems? Do you have any refences or guide?
Based on the link that you given https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-US;2670535, the page are not found.
Thanks.

Similar Messages

  • 3rd party integration: How to get XML Schema (.xsd) for a custom entity, to use with a mapper

    Is there an easy way to get the xml schema/DTD for a custom entity, specifically an .XSD file for that entity (which will then be used to create a map to be able to transform the fields of the entity to a 3rd-party message format)?
    So have a custom entity with lots and lots of fields. Each of the fields will map to a differently named field to match the schema of the 3rd party entity. A very common situation. Looking to use a tool like the Biztalk mapper or Altova's MapForce to generate
    an .xslt file to transform the downloaded entity (service.Retrieve with all columns) to the new format. (Will implement a typical VETR pattern.)
    Apparently with CRM 4 there was a call that provided this, but from 2011 has not been available. Working with a crm 2015 system.

    That will give a descriptor of the table and allow creation of an .XSD file, but it's really complex in terms of types, and the there's type conversion. It might be an easy way to get a schema, with the downside being it's hard to use that schema. 
    It seems easier to do a fetch of the record with all fields filled in using service.Retrieve, and then converting this to xml, using Microsoft's guidance leads to using https://msdn.microsoft.com/en-us/library/hh675409.aspx which will serialize the entity
    into XML with all the fields converted to type string, and with complex fields likewise converted to strings with additional information about the type. 
    Using this it's possible using an number of tools to create an easier to use .XSD file.
    However, it would seem most integrations of this type are using 3rd party CRM connectors. Perhaps this is why Microsoft hasn't provided anything direct (and took away what they did have in crm4.0 due to it generating a hard to use .XSD or due to letting
    their partners continue income streams from selling connectors").
    But without using 3rd party connectors, or following the still tedious method of generating .XSD (a useable .xsd), have not yet come up with an easy, automatic way to get an .XSD or to easily integrate with 3rd party message format.

  • Approval workflow error when creating a new custom entity in FIM 2010 R2

    Hello,
    i'm hoping somebody here can help, me i've been struggling with this for some time now. On a fresh FIM installation i create a custom entity named "Role" and add a few custom attributes.
    I then create an approval workflow and MPR for normal users to create entities of type Role, but another user must approve this request. The other user has a working mailbox - i've tried firing an action workflow that sends a mail notification when someone
    creates a new role and it is working fine. But, when i enable my approval workflow (the only field i changed from default is the approver) on the MPR, the workflow always failes with the message:
    Error processing your request: The operation was rejected because of access control policies.
    Reason: The server workflow rejected the operation.
    Attributes:
    Correlation Id: 750a558a-d3e4-4216-b16a-e76d79f011ec
    Request Id: feaabbc9-dea4-49a3-8b29-65b77de6f8fd
    Details: The Workflow Instance '04202cc0-14a3-410c-a3fc-2d6e5d25ebe6' encountered an internal error during processing. Contact your system administrator for more information.
     I enabled tracing and this is what i found:
    Microsoft.ResourceManagement Verbose: 0 : Creating WorkflowServiceHost for XOML Definition:\n<ns0:SequentialWorkflow ActorId="00000000-0000-0000-0000-000000000000" RequestId="00000000-0000-0000-0000-000000000000" x:Name="SequentialWorkflow"
    TargetId="00000000-0000-0000-0000-000000000000" WorkflowDefinitionId="00000000-0000-0000-0000-000000000000" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/workflow"
    xmlns:ns1="clr-namespace:System.Workflow.Activities;Assembly=System.WorkflowServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856
        ThreadId=8
        DateTime=2013-09-04T15:17:10.0496188Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid Element 'ReceiveActivity.WorkflowServiceAttributes' found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : 1 :  : Invalid data found while deserializing an object of type 'Microsoft.ResourceManagement.Workflow.Activities.ApprovalActivity'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Verbose: 0 : A WorkflowRuntime is not available for this WorkflowDefinitionVersionKey '20'.
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Error: 3 : Workflow host activation failed for workflow definition id : 231457c6-d044-4cc7-839f-98e5cf88f514, version key: 20. Exception: Object reference not set to an instance of an object.   at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.ActivateHost(ResourceManagementWorkflowDefinition
    workflowDefinition, Boolean suspendWorkflowStartupAndTimerOperations)
       at Microsoft.ResourceManagement.Workflow.Hosting.HostActivator.RetrieveWorkflowDataForHostActivator()
        ThreadId=8
        DateTime=2013-09-04T15:17:10.1277486Z
    Microsoft.ResourceManagement Information: 1 : The service has updated the list of active hosted workflow definitions to sequence number '1'.
    This happened on two separate FIM deployments, but both of them were set up in the same way. What am i missing here?
    Thank you,
    Martin

    (...) What am i missing here? (...) - Sharepoint 2013 and probable bug in FIM related to it. Check this thread for workaround
    and resolution:
    http://social.technet.microsoft.com/Forums/en-US/1b76672d-1276-4c71-b9fc-5bb1fcb36877/event-id-3-with-approval-activity?forum=ilm2
    Tomek Onyszko, memberOf Predica FIM Team (http://www.predica.pl), IdAM knowledge provider @ http://blog.predica.pl

  • How to set new role for new custom entity only

    I created a new custom entity, I want to create new role for it only.  So I created new role and set custom entity User role. But When I login the user with created role, it show now right to access CRM.
    Awen

    Are you trying to grant access so that users can use this custom entity but no other data at all?
    You will still have to include access to all sorts of bits of CRM just to make the user interface work - especially the things on the Business Management and Customization tabs of your security role. You also need to check these 6 settings:
    Special privileges in CRM Security Roles
    If this is the only security role you plan to give to your users, I would suggest you start from a standard role and remove access to other entities, rather than start from blank and work upwards.
    Hope this helps.
    Adam Vero, Microsoft Certified Trainer | Microsoft Community Contributor 2011
    UK CRM Guru Blog

  • Error using Quick Create Form on custom entity

    Hello,
    I have a new relationship between opportunity and a custom entity. Now I want to use quick create form for my custom entity. Then from the opportunity form, I click on the "new" action inside the custom lookup field but nothing happens and I have
    a JavaScript error... The quick create form has no JS code. The contact quick create form works fine. And the quick create form for my custom entity works if you click on the Add button on the main ribbon... so I'm lost... I've tried also with Chrome and IE,
    same result. May be I'm doing something wrong...
    Any help will be very apreciated.
    Thank in advance to everybody.
    The error:
    <CrmScriptErrorReport>
      <ReportVersion>1.0</ReportVersion>
      <ScriptErrorDetails>
       <Message>Unable to get property 'getAttribute' of undefined or null reference</Message>
       <Line>16</Line>
       <URL>/_common/JsProvider.ashx?ids=1545465446-1759665639-1968334880-202661451-1025323794-1793205875-1547461133-1992083491-1000289424-159335543-1376927455-1030632819-1181113682-1314140682-1194605645-1039841082-513446117-1625018438-1460109179-1088147315-706656670-342519603-542820515-1946640899-1603536461-468302605-1405388298-1220618931-511599809-1264077421-1188909594-783705869-374257838-502328314-2050812538-512064351&ver=1313516505</URL>
       <PageURL>/main.aspx?etc=3&extraqs=%3fformid%3d5b6f6723-db6e-40f2-9ca5-b78678b1076b%26id%3d%257b4F3786B4-4C0E-E411-93F6-0050569D1A22%257d%26rof%3dtrue%26rskey%3d200436436%26setlastviewed%3dtrue%26theme%3dOutlook15White&pagemode=iframe&pagetype=entityrecord&rof=true&rskey=200436436</PageURL>
       <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("glob</Function>
       <CallStack>
        <Function>anonymous($p0){var$v_0=this.getLookupSearchText();this.$2a_4($p0,this.$$d_$3n_4);var$v_1=this.get_$1G_4(),$v_2=$get($v_1),$v_3=$v_2.getAttribute("entityDisplayName"),$v_4=Mscrm.InlineEditUtilities.getLinkedDataObject($P_CRM($v_2)),$v_5=String.format("globalqctimestamps_{0}",$v_1),$v_6=null;if(!IsNull($v_4)&&$v_5in$v_4)$v_6=$v_4[$v_5];var$v_7,$$t_A,$$t_B,$v_8=($$t_B=this.$2Y_4($$t_A={val:$v_7}),$v_7=$$t_A.val,$$t_B);Mscrm.GlobalQuickCreate.GlobalQuickCreateBehavior.launchGlobalQuickCreate(this.$1Z_4,$v_3,parseInt($v_2.getAttribute("entityTypeCode")),$v_6,$v_8,$v_7,$v_0)}</Function>
       </CallStack>
      </ScriptErrorDetails>
      <ClientInformation>
       <BrowserUserAgent>Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; WOW64; Trident/6.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729)</BrowserUserAgent>
       <BrowserLanguage>en-US</BrowserLanguage>
       <SystemLanguage>es-ES</SystemLanguage>
       <UserLanguage>es-ES</UserLanguage>
       <ScreenResolution>1364x768</ScreenResolution>
       <ClientName>Web</ClientName>
       <ClientTime>2014-09-01T16:13:52</ClientTime>
      </ClientInformation>
      <ServerInformation>
        <OrgLanguage>3082</OrgLanguage>
        <OrgCulture>3082</OrgCulture>
        <UserLanguage>3082</UserLanguage>
        <UserCulture>3082</UserCulture>
        <OrgID>{8704CF11-2D0C-E411-93F6-0050569D1A22}</OrgID>
        <UserID>{3DDB30DE-B80C-E411-93F6-0050569D1A22}</UserID>
        <CRMVersion>6.1.0.581</CRMVersion>
      </ServerInformation>
    </CrmScriptErrorReport>
    Francisco

    It looks like product error message.
    If it's happening on production, You can suppress the error message. Settings -> Administration ->Privacy Preferences -> Select Never send error report to Microsoft
    Regards,
    Prabhu
    Prabhu G

  • State code or status code is invalid while deactivate the custom entity record

    Hi,
    We have migrated to CRM 2013 and facing one issue while deactivating the custom entity record
    Error-  State code or status code is invalid: State code is invalid or state code is valid but status code is invalid for specified state code
    when downloading the log, it is giving below error.
    <s:Envelope xmlns:s="<faultcode>s:Client</faultcode><faultstring">http://schemas.xmlsoap.org/soap/envelope/"><s:Body><s:Fault><faultcode>s:Client</faultcode><faultstring
    xmlns:xml="http://www.w3.org/XML/1998/namespace" xml:lang="en-US">-1 is not a valid state code on new_partner.</faultstring><detail><OrganizationServiceFault xmlns="<ErrorCode>-2147187704</ErrorCode><ErrorDetails">http://schemas.microsoft.com/xrm/2011/Contracts"><ErrorCode>-2147187704</ErrorCode><ErrorDetails
    /><Message>-1 is not a valid state code on new_partner.</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault><ErrorCode>-2147187704</ErrorCode><ErrorDetails /><Message>-1 is not a
    valid state code on new_partner.</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault><ErrorCode>-2147220970</ErrorCode><ErrorDetails /><Message>System.ArgumentException: -1 is not a valid
    state code on new_partner.
    Parameter name: stateCode</Message><Timestamp>2014-03-18T05:42:04.5523897Z</Timestamp><InnerFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true"
    /><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true" /></InnerFault><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
    i:nil="true" /></InnerFault><TraceText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" i:nil="true" /></OrganizationServiceFault></detail></s:Fault></s:Body></s:Envelope>
    I checked into system, we have not customized the status reason. We have only two option value "Active"(1) and Inactive(2).
    Also we don't have any plugin on SetStateDynamicEntity, we have only one plugin on create for that entity.
    Did anyone face this issue? any pointer why its giving this issue??
    Thanks in Advance.
    Arvind
    Regards, Arvind

    posting the trace log here..
    # ScaleGroup:
    # ServerRole: AppServer, AsyncService, DiscoveryService, ApiServer, HelpServer, DeploymentService, SandboxServer, DeploymentManagementTools, VssWriter, EmailConnector
    [2014-03-18 04:13:32.491] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread:   62 |Category: Exception |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | CrmException..ctor 
    ilOffset = 0x7
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x7
     at CrmException..ctor(String message, Exception innerException, Int32 errorCode)  ilOffset = 0x5
     at StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode)  ilOffset = 0x54
     at BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)  ilOffset = 0x0
     at BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)  ilOffset = 0x1A
     at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
     at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
     at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x89
     at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
     at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
     at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x58
     at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
     at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
     at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
     at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
     at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode, Int32 secondaryObjectTypeCode,
    ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)  ilOffset = 0x16E
     at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext
    context, Boolean returnResponse)  ilOffset = 0x16A
     at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x3D
     at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
     at   ilOffset = 0xFFFFFFFF
     at SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)  ilOffset = 0x241
     at DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)  ilOffset = 0x100
     at ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc)  ilOffset = 0x48
     at ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc)  ilOffset = 0xC6
     at MessageRpc.Process(Boolean isOperationContextSet)  ilOffset = 0x62
     at ChannelHandler.DispatchAndReleasePump(RequestContext request, Boolean cleanThread, OperationContext currentOperationContext)  ilOffset = 0x256
     at ChannelHandler.HandleRequest(RequestContext request, OperationContext currentOperationContext)  ilOffset = 0xF1
     at ChannelHandler.AsyncMessagePump(IAsyncResult result)  ilOffset = 0x39
     at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
     at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2
     at AsyncQueueReader.Set(Item item)  ilOffset = 0x21
     at InputQueue`1.EnqueueAndDispatch(Item item, Boolean canDispatchOnThisThread)  ilOffset = 0xD6
     at InputQueue`1.EnqueueAndDispatch(T item, Action dequeuedCallback, Boolean canDispatchOnThisThread)  ilOffset = 0x0
     at SingletonChannelAcceptor`3.Enqueue(QueueItemType item, Action dequeuedCallback, Boolean canDispatchOnThisThread)  ilOffset = 0x3D
     at EnqueueMessageAsyncResult.CompleteParseAndEnqueue(IAsyncResult result)  ilOffset = 0x61
     at EnqueueMessageAsyncResult.HandleParseIncomingMessage(IAsyncResult result)  ilOffset = 0x13
     at AsyncResult.AsyncCompletionWrapperCallback(IAsyncResult result)  ilOffset = 0x52
     at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
     at AsyncResult.Complete(Boolean completedSynchronously)  ilOffset = 0xC2
     at ParseMessageAsyncResult.OnRead(IAsyncResult result)  ilOffset = 0x43
     at AsyncThunk.UnhandledExceptionFrame(IAsyncResult result)  ilOffset = 0x0
     at ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x70
     at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)  ilOffset = 0x4
     at ReadWriteTask.System.Threading.Tasks.ITaskCompletionAction.Invoke(Task completingTask)  ilOffset = 0x45
     at Task.FinishContinuations()  ilOffset = 0x67
     at Task.Finish(Boolean bUserDelegateExecuted)  ilOffset = 0x3C
     at Task.ExecuteWithThreadLocal(Task& currentTaskSlot)  ilOffset = 0xC4
     at Task.ExecuteEntry(Boolean bPreventDoubleExecution)  ilOffset = 0x96
     at ThreadPoolWorkQueue.Dispatch()  ilOffset = 0xA2
    >Crm Exception: Message: -1 is not a valid state code on new_partner., ErrorCode: -2147187704, InnerException: System.ArgumentException: -1 is not a valid state code on new_partner.
    Parameter name: stateCode
    [2014-03-18 04:13:32.562] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread:   62 |Category: Platform.Sdk |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | VersionedPluginProxyStepBase.Execute 
    ilOffset = 0x65
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {1FE67FC9-85A6-E011-AEE1-002DD802FEB1}; EntityName: new_partner; Stage: 30; MessageName: SetStateDynamicEntity; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel,
    Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    Inner Exception: Microsoft.Crm.CrmArgumentException: -1 is not a valid state code on new_partner.
       at Microsoft.Crm.BusinessEntities.StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    Inner Exception: System.ArgumentException: -1 is not a valid state code on new_partner.
    Parameter name: stateCode
     --- End of inner exception stack trace ---
       at Microsoft.Crm.BusinessEntities.StatusCodeValidator.Validate(EntityMetadata entityMetadata, Int32 stateCode, Int32 statusCode)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, BusinessEntity originalEntity, ExecutionContext context)
       at Microsoft.Crm.BusinessEntities.BusinessProcessObject.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    [2014-03-18 04:13:32.586] Process: w3wp |Organization:d133c867-097c-e011-a247-02bf9d3bc4f8 |Thread:   62 |Category: Platform |User: 7492ef42-9460-e311-940e-002dd80b0ca0 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | MessageProcessor.Execute 
    ilOffset = 0x1C5
    >MessageProcessor fail to process message 'SetStateDynamicEntity' for 'new_partner'.
    [2014-03-18 04:13:32.586] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   62 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: fdb76819-9781-4299-9e45-2b6f296f4fce | ExceptionConverter.ConvertToFault 
    ilOffset = 0x69
    >UNEXPECTED: no fault?
    Thanks,
    Arvind Singh
    Regards, Arvind

  • Dynamics crm 2015 unexpectedly deleted associated view for custom entity

    i  have contact and custom entity.it has associated view.unfortunately i deleted associated view.while exporting the solution export fail how can i resolve this one.any help would be highly appreciated.
    hsk srinivas

    Do you have the view in another environment (e.g. PROD)?  If so, you can create a new Solution there and just add the entity to the solution and Export/Import it back to your "broken" environment.

  • Microsoft outlook connector error: no available message stores

    Any assistance out there on the 2010 MS OFFICE PRO - - upgraded from 2003 and having difficulties sync-ing the device.
    "Got a Microsoft Outlook Connector Error - - No Available Message Stores"
    Read a few post(s) and it appears that 2010 Office Pro was not yet tested when during Beta period...  Does anyone have any fix for this problem...
    Thanks!
    Norbert

    Hi there,
    There are lots and lots of threads in these forums of folks that are either 1) angry in that they thing RIM is going too slow or 2) truly trying to help each other out. The formal response is that 2010 is not yet supported by the RIM DTM software and no expectation of when that shall happen can be provided.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • AutoVue API - Create custom entity

    All,
    Is it possible to extend the AutoVue API to create your own markup entity.
    We have been asked to create a button that will allow them to create their own entity which would basically be a compilation of existing entities (dashed and solid lines with arrow heads) but grouped together to form one entity.
    We would like to be able to create more than one of these entities too so the group functionality may not help us a great deal here either as it seems to only allow one group of entities. If i try to group another then my first grouping gets undone.
    Normally when you select an entity button to draw it, you then hold the left click button and drag across the UI and then let the mouse button go (to complete a line).
    We do not have to be able to do this, they could just click a point on the UI and the new entity be created at the point and then allow them to re-size it.
    I thought there was documentation to do such a thing but i am unable to locate it if it does exist.
    Any help on this would be appreciated as it is not just one custom entity they want and it will also help us in the future to sell AutoVue especially if we can prove such custom things. It also makes it harder to move to another viewer if they come to rely on such custom components.
    Nick

    - The custom markup entity (e.g. UDEPolygon) should implement the UDEDesigner interface and the custom markup entity spec. should extends UDESpec class.
    - Register the UDE designer (MarkupBean mrkBean): mrkBean.registerUdeDesigner()
    * Register a UDEDesigner class.
    * @param udename The UDE name. Should match string returned by
    * UDEDesigner.getName().
    * @param classname The fully qualified classname of the UDEDesigner.
    public void registerUdeDesigner(String udename, String classname)
    - Register your mouse listener to capture and convert to world coordinates mouse point (mrkBean.deviceToWorld(pt))
    - Set the custom markup entity class and enter markup ADD mode:
    mrkBean.selectionClear();
    mrkBean.setMarkupEntityClass("UDEPolygon"); // UDEpolygon is your custom markup entity class name
    mrkBean.setActionMode(MarkupBean.ACTION_MODE_ADD);

  • Marketing List Campaign Activity Mail Merge Accessing custom entity fields

    Hello, we have CRM2013 onpremise.
    I have a custom entity "application" linked to contact, with fields such as "subject". I would like to access the fields in the custom entity in an email merge campaign activity based on a marketing list. When I attempt to select the
    data fields for insertion, my custom entity is not accessible via "record type". I had hoped it would be due to its relationship with the contact entity?
    Perhaps I am doing something wrong, as I am just getting used to Marketing, but before I spend any more time, I am just looking for a definitive answer on whether or not custom entities can be accessed via this method?
    Thanks.
    Seamus

    Try select the "application" as the Associated Entity for the email merge template, from there you can access Contact data field if there is one-to-many relationship from Contact to "Application".
    View
    Kevin Dan's profile Please click "Mark As Answer" on the post if this post answers the question or "Vote as Helpful" when it helps.

  • Case Associated View with Custom entity

    Hi,
    I am working on MS CRM 2011 and I have a custom entity called "Card" which is related to the Case entity N:1 (referential).
    This relationship created a left navigation link on the "Card" entity displaying the view "Case Associated View". However when I click on it, none of the related cases appear obviously because it is a referential and not parental relationship
    and the relationship behavior cannot be changed to "Parental". This view works only on some built-in entities such as "Contact".
    I am trying to find a supported solution to display all the associated cases on the above Custom entity.
    Any help is appreciated.
    Regards,
    Joe Mouawad.

    Display related child records in Grid has got nothing to do with relationship type. Whether it is parental or refrential the records should be shown in the grid. While configuring grid on the form you get the option to select related record and select Active
    case view. Please resetting those settings. Publist Customization and retest.
    Regards Faisal

  • Security Exception while using Custom Entity Property Manager

    Hi,
    I am using Portal 7.0 UUP example (specified in dev2dev.com site) to implement
    custom entity property manager.
    It all works fine using Portal 7.0 admin tool.
    Now I am proving the same concept by writing java code to insert record in UUP_Example
    table.
    This is the code I am writing in my class
    UserManager userManager = getUserManager(); (calling method to get Remote Interface
    of UserManager).
    ProfileWrapper pw = userManager.createUser(identifier,password,"User");
    MyEntityPropertyManager myEntityPropertyManager=getMyEntityPropertyManager();(calling
    method to get remote interface of MyEntityPropertyManager)
    long num=myEntityPropertyManager.createUniqueId(null,identifier);
    pw.setProperty("UUPExample","word1","mike_headen");
    Code gets compiled successfully but when I execute these statements, following
    run time exception occurs:
    EJB Exception: ; nested exception is: java.lang.SecurityException: Users can only
    be modified by themselves, or by a member of the role DelegatedAdminRole||SystemAdminRole.
    This problem comes while executing last statement i.e
    pw.setProperty("UUPExample","word1","ajay_dogra");
    I know I am missing something here. Any guidance will be highly appreciated.
    Thanks
    Mike

    Mike,
    You approach is wrong and you have to code your program in a different way to
    get rid of this problem.
    Here, you are trying to update User property using pw.setProperty() even before
    authenticating and logging in the user.
    Why you are getting this error becuase user is not logged in and u are trying
    to update the user property.
    These are the steps you need to perform to update/insert user properties at the
    time of login.
    1. createUser(using usermanager.createUser).
    2. Authenticate user(Authentication.login(identifier, password, req);
    3. Initialse the profile in session
    ProfileWrapper profile =
    ProfileFactory.getProfile(identifier, null);
    4. Fire UserRegistrationEvent and Session Login event.
    5. Update user property using profilewrapper.setProperty.
    Hope this helps,
    You can either perform these steps in java or can use the usemanager custom tag
    in ur JSP.
    Thanks
    Sanjay
    Thanks
    Sanjay
    "Mike" <[email protected]> wrote:
    >
    Hi,
    I am using Portal 7.0 UUP example (specified in dev2dev.com site) to
    implement
    custom entity property manager.
    It all works fine using Portal 7.0 admin tool.
    Now I am proving the same concept by writing java code to insert record
    in UUP_Example
    table.
    This is the code I am writing in my class
    UserManager userManager = getUserManager(); (calling method to get Remote
    Interface
    of UserManager).
    ProfileWrapper pw = userManager.createUser(identifier,password,"User");
    MyEntityPropertyManager myEntityPropertyManager=getMyEntityPropertyManager();(calling
    method to get remote interface of MyEntityPropertyManager)
    long num=myEntityPropertyManager.createUniqueId(null,identifier);
    pw.setProperty("UUPExample","word1","mike_headen");
    Code gets compiled successfully but when I execute these statements,
    following
    run time exception occurs:
    EJB Exception: ; nested exception is: java.lang.SecurityException: Users
    can only
    be modified by themselves, or by a member of the role DelegatedAdminRole||SystemAdminRole.
    This problem comes while executing last statement i.e
    pw.setProperty("UUPExample","word1","ajay_dogra");
    I know I am missing something here. Any guidance will be highly appreciated.
    Thanks
    Mike

  • EAP-TLS with WLC 5508, Microsoft NPS and custom EKU OID´s

    We are trying to implement EAP-TLS with client certificates that have a custom EKU OID to distinguish the WLAN clients. The Microsoft Press Book
    Windows Server 2008 PKI and Certificate Security gives an example on how to configure a policy in NPS that matches specific EKU OID´s. At the moment we have two policies that have an allowed-certificate-oid configured that matches the OID´s in our certificates, but our setup is not working as expected. Authentications will only be successful, if the client authenticates with the certificate that is matched by the first policy rule.
    For example:
    Policy 1: allowed-certificate-OID --> corporate
    Policy 2: allowed-certificate-OID --> private
    Client authenticates with EKU corporate --> success
    Client authenticates with EKU private --> reject
    My expectation was, that if Policy 1 will not match the NPS goes over to Policy 2 and tries to authenticate the client.
    Has anyone a simmilar setup or can help to figure out what is going wrong?
    We have a WLC 5508 with Software Version                 7.4.100.0 and a NPS on a Windows Server 2008 R2
    regards
    Fabian

    The policy rejects and the NPS goes to the next policy, only if the user does not belong to the configured group.
    This means I need to have one AD group per application policy, but that will not solve my problem. A user could belong to more than one group, depending on how many devices he/she has. It will work with one group only for each user, because the first policy that matches a AD group, the user belongs to, could have a OID that is not in the certificate. This would cause a recejct with reason code 73:
    The purposes that are configured in the Application Policies extensions, also called Enhanced Key Usage (EKU) extensions, section of the user or computer certificate are not valid or are missing. The user or computer certificate must be configured with the Client Authentication purpose in Application Policies extensions. The object identifier for Client Authentication is 1.3.6.1.5.5.7.3.2.
    The certificate does include this OID but not the custom EKU.

  • Microsoft open sourced the Entity Framework

    http://weblogs.asp.net/scottgu/archive/2012/07/19/entity-framework-and-open-source.aspx
    Microsoft wants others to get involved in building the next version of the Entity Framework.
    The source code is found here:
    http://entityframework.codeplex.com/
    The Mono Project is working to get the open sourced Entity Framework to work on Mono.
    So, with Oracle working on a thin ODP.NET provider, hopefully, it will work on Mono too. But no guarantee from Oracle. I know at first, the thin ODP.NET provider will not support Entity Framework, but down the road it could (hopefully).

    I'm using NHibernate and I'm more satisfied with it than EF.
    Alex said that the final release for managed provider will come with Oracle 12 which maybe will come at the end of the year.

  • [JPA-Newbie] -- JPA 2 for dynamic/custom entity types (database schemas)?

    Dear forum members:
    Still being new to JPA and having worked through the JPA2 spec as well as a good Apress book for learning the JPA concepts, I am currently wondering if my current, rather dynamic application scenario can be realized in JPA 2 in an easy way.
    The simplified app scenario is like the following:
    Suppose there should be a JEE6 web app that allows endusers to publish articles. There is a generic "Article" type with some common/default attributes such as
    - author : String
    - pubDatetime : String or own.DateTime
    - title, subtitle, articleText : String
    Additionally, a privileged group of endusers should be able to enhance this generic "Article" type by custom attributes during runtime (i.e., dynamically) and via a web interface. Additional attributes could be
    - articleTopic : ArticleCategoryEnum
    - rating : Float
    - comments : List<String>
    I guess the intention should be obvious and btw. not uncommon.
    My remaining main question basically is:
    * How could such a scenario be implemented in JPA 2 the best way?
    Due to the topic's importance importance for me, I'd be very grateful for any help or other productive tips/hints.
    Thank you very much in advance.
    - Sebastien

    See,
    http://www.eclipse.org/forums/index.php?t=msg&th=205349&start=0&S=6619f8634cb716a45f2bdaf577719d00

Maybe you are looking for

  • Adobe Acrobat Pro XI unability to open pdf mail attachments

    Since upgrading to Adobe Acrobat Pro XI I am unable to open most pdf attachements on outlook. The message is that the file is corrupt or was encoded wrong. How do I correct this.

  • JDeveloper 11g production version error

    Hi, Finally , the production version of JDev 11g is available , but when i made my 1st sample hr app i found this error on the browser Unexpected exception caught: java.sql.SQLDataException, msg=ORA-01882: timezone region not found ORA-01882: timezon

  • Archiving invoices

    We have a requirement regarding archiving invoice. That is " Is it possible to archive an sales invoice when theere is an accounting error or invoice not posted into accounts because of account determination problem?" Due to some business reasons we

  • When I'm using a browser (like Safari), how can I shrink it and share my desktop with other applications?

    I have an iMac, and after installing Yosemite (OS 10.10), all my browsers (like Safari) no longer share the screen with other applications, like Word or even Calculator.  How can I shrink Safari (or any browser) and share my desktop with other applic

  • Center aligned Text in image

    Hai, I urgently need help. I want to create a jpg image which is totally white in this white image i draw some multiple line text which i want to write in the center of image. I send the Text as string to my class through servlet file. The string has