Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all 82002 articles
Browse latest View live

Default Date to 1st of the year [01/01/year]

$
0
0

Hello,

I would like to default a 'DateField' to the 1st of January for the year when a record was created. Examples are shown below

DateField           Default to

[12/05/2014]     [01/01/2014]
[13/09/2010]     [01/01/2010]
[24/10/2013]     [01/01/2013]


I thought of having a Workflow that would be triggered when the record is created and then call a J-Script that would default the date to the 1st of the Year (i am not sure if its possible to call J-Scripts from WorkFlows).

Any ideas and advice would be appreciated because i don't know how achieve this ?

Many Thanks


Change the business process flow in CRM 2015 through javascript when the form type is 1 (create mode)

$
0
0

Hi, 

I have 3 business process flows on lead entity and I want to change the business process flows based on some field value through javascript when the form type is 1(create mode). Any pointers?

How to exclude custom fields from unmanaged solution ?

$
0
0

We developed a Solution in Dynamics CRM 2013 on-prem wherein we added custom fields to the Account entity. Now upon creating a new Solution under a new Publisher we find that upon adding the Account entity to the new solution the custom fields are also introduced to the new Solution. 

Is there no means available for adding fields to an Entity in a Solution without exposing those same fields to all other solutions containing that Entity?

Timeout in CRM online 2013

$
0
0

Hi,

How can I extend the time it takes to Timeout the CRM online website.  It seems like it takes only few minutes and it´s very irritating having to log-in again many times in a session.

Workflow not sending emails as expected

$
0
0

I have created a custom workflow to send an email to the new owner of a lead once a lead is reassigned.  I am not the user that this workflow is being used by so I created the scope to be "User" and I assigned the Workflow to the user who this workflow should be triggered by.  The workflow still is only being triggered when I reassign a lead and not when the Owner of the workflow does.  Any ideas?

Unable to re-enable users in sandbox of CRM online

$
0
0

Hi

I have a situation for CRM 2013 online Spring '14 where we have users in Live and Sandbox however I would like to re-enable some disabled user in the sandbox in order to get them to log on to sandbox without the System Administrator security role.  These users have licenses and are enabled in Live and can happily work in Live, but I am missing the 'Enable' button on their user record to allow them to log on and do some testing.  They have security roles.  I have tried with both Administration Mode disabled and enabled.

Can anyone help? 

Thanks in advance

How to Create Checkboxes and Radioboxes

$
0
0

How do you create checkbox set on a form?  I would like more than just two options.

Additionally, how do you create a radiobox set on a form?  Also, I would like to create more than just two options.

I would assume that both are similar in design, no?

Need to change search filter

$
0
0

We have a view called My Open Leads that shows each user their list of open leads that they own.  The issue is when the type in a lead name in the search field, the system searches all leads records as opposed to just the leads in the current view?  We are using the Outlook client.  Is there a way to modify this behavior?


Option Set - Selecting different options with mouse does not take

$
0
0

Anyone seen an issue where using a mouse to select a different value in an option set doesn't take? You can select a value and then try to select a different value in the list and it won't take.  You can use the arrow on the keyboard and it works fine but not the mouse. I tried it using IE 11 and see this behavior.  Switched to Firefox and it works fine.

No records found on fulfilled orders

$
0
0

Hello,

When I checked a fulfilled order, even if I am on the INFORMATION FORM, when I check the ORDERED PRODUCTS subgrid list, it says NO RECORDS FOUND.

How can I fix this problem?

Alexandru

SharePoint List Component Activation Error CRM 2015 SP 2010

$
0
0

Hi

We are trying to load up the CRM 2015 list component on SharePoint 2010.  We have enabled the SharePoint Sandbox and did other searching but have not seen any web results for this error.  We have tried to load this in 2 different environments and get the same error.  Any help would be appreciated.

Name=Request (POST:http://pmt-d:80/_catalogs/solutions/Forms/Activate.aspx?IsDlg=1&op=ACT&ID=1&Source=http%3A%2F%2Fpmt%2Dd%2F%5Fcatalogs%2Fsolutions)

Template Discovery/InitScriptData: cannot get user profile, no UserProfileApplicationProxy exists in the current context

Solution Deployment : Looking for 'ReceiverAssembly' attribute in manifest root node for solution 'crmlistcomponent.wsp'.

Solution Deployment : Looking for 'ReceiverClass' attribute in manifest root node for solution 'crmlistcomponent.wsp'.

Solution Deployment : Missing one or more of the following attributes from the root node in solution crmlistcomponent.wsp: assembly '', type ''.

System.ArgumentException: Culture name 'sr-cyrl' is not supported. Parameter name: name  

at System.Globalization.CultureTableRecord..ctor(String cultureName, Boolean useUserOverride)  

at System.Globalization.CultureTableRecord.GetCultureTableRecord(String name, Boolean useUserOverride)  

at System.Globalization.CultureInfo..ctor(String name, Boolean useUserOverride)  

at System.Reflection.AssemblyName.nGetFileInformation(String s)  

at System.Reflection.AssemblyName.GetAssemblyName(String assemblyFile)  

at Microsoft.SharePoint.Administration.SPUserCodeSolutionPackage.GetAssemblyName(String solutionRelativePath)  

at Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.get_AssemblyName()  

at Microsoft.SharePoint.Administration.SPSolutionPackage.SolutionFile.get_HasStrongName()  

at Microsoft.SharePoint.Administration.SPSolutionPackage.AddAssemblies(XmlNode root, String strFileDirRelativeToCabFile)  

at Microsoft.SharePoint.Administration.SPSolutionPackage.ProcessSolutionManifest()  

at Microsoft.SharePoint.Administration.SPSolutionPackage.Load()  

at Microsoft.SharePoint.Administration.SPSolutionLanguagePack.CreateSolutionPackage(SPRequest request, String name, String signature, Byte[] fileBytes)  

at Microsoft.SharePoint.SPUserSolutionCollection.<>c__DisplayClass1.<AddOrUpgrade>b__0()  

at Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated secureCode)  

at Microsoft.SharePoint.SPUserSolutionCollection.AddOrUpgrade(SPListItem item, SPUserSolution existingSolution)  

at Microsoft.SharePoint.SPUserSolutionCollection.Add(Int32 solutionGalleryItemId)  

at Microsoft.SharePoint.WebControls.SolutionItemButton.ActivateItem()  

at Microsoft.SharePoint.WebControls.SPLinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)  

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)  

at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint

New to Dynamics CRM 2015 -- Copying simple text to whole number field

$
0
0

Hello,

I'm new to Dynamics CRM 2015, and was hoping for a point in the right direction.

My requirement is to obtain a value from an entity's text field that is of a specific format -- then parse and strip out the numbers, and set the value in a whole number field.

ex: Text field with value: I-2032-22. On record create, set another whole number field with value 203222. My research points me to creating a new custom action step, however, I'm wondering if there is a simpler method to accomplish this? Leveraging calculated field functionality would be ideal, but it doesn't seem to support converting data types. Any help is appreciated, thanks!

Changing modifiedon date for data migration

$
0
0

Hi does anyone know if we can change modifiedon date to that of source date during data migration, this is using SDK as well

Some Problems after UR 12 - MissingMethodException

$
0
0

Hello!

We have some troubles since the installation of UR12 in CRM 2011. Workflows and Dialogs will not run and button "Download Log File" button in an error message is inactive!?

CRMAsyncService in Tracelog

>Crm Exception: Message: , ErrorCode: -2147220970
[2013-02-25 12:43:51.358] Process:CrmAsyncService |Organization:00000000-0000-0000-0000-000000000000 |Thread: 7 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: de902d31-f493-4109-b227-2fa53f467b00 | CrmException..ctor ilOffset = 0x0
at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException) ilOffset = 0x0
at CrmException..ctor(String message, Exception innerException, Int32 errorCode) ilOffset = 0x0
at WorkflowToAsyncResultConverter.Convert() ilOffset = 0x9D
at WorkflowContext.EndProcessing(IGenericHandlerResult result) ilOffset = 0xC
at ActivityHostBase.StartWorkflow(ICommonWorkflowContext context, Activity preLoadedActivity) ilOffset = 0xA
at ActivityHostBase.StartWorkflow(ICommonWorkflowContext context) ilOffset = 0x8E
at WorkflowOperation.InternalExecute(AsyncEvent asyncEvent) ilOffset = 0x44
at AsyncOperationCommand.Execute(AsyncEvent asyncEvent) ilOffset = 0x4E
at PoolHandler.ProcessAsyncEvent(IGenericEventData eventData) ilOffset = 0x139
at <>c__DisplayClass4.<.ctor>b__2(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at MonitoredOperation.Execute() ilOffset = 0xD
at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state) ilOffset = 0xC
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) ilOffset = 0x71
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x23
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0x81
at _ThreadPoolWaitCallback.PerformWaitCallback() ilOffset = 0x51

And then...

>Crm Exception: Message: Invalid type conversion., ErrorCode: -2147220715,InnerException: System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.BaseServiceFault.set_InnerServiceFault(Microsoft.Xrm.Sdk.BaseServiceFault)'.
at Microsoft.Crm.ExceptionConverter.ConvertToFault(Exception exception)
at Microsoft.Crm.ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)
at Microsoft.Crm.Asynchronous.AsyncHandlerResultWithError.CopyExceptionDetails(Exception ex, Int32 defaultErrorCode)
at Microsoft.Crm.Workflow.WorkflowToAsyncResultConverter.Convert(WorkflowSystemPausedResult wfResult)
at Microsoft.Crm.Workflow.WorkflowToAsyncResultConverter.Convert()
[2013-02-25 12:43:51.358] Process:CrmAsyncService |Organization:f8f30bfc-fe6f-e011-926a-005056902738 |Thread: 7 |Category: Platform.Async |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: de902d31-f493-4109-b227-2fa53f467b00 | AsyncOperationCommand.Execute ilOffset = 0x4E
at AsyncOperationCommand.Execute(AsyncEvent asyncEvent) ilOffset = 0x4E
at PoolHandler.ProcessAsyncEvent(IGenericEventData eventData) ilOffset = 0x139
at <>c__DisplayClass4.<.ctor>b__2(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at MonitoredOperation.Execute() ilOffset = 0xD
at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state) ilOffset = 0xC
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) ilOffset = 0x71
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x23
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0x81
at _ThreadPoolWaitCallback.PerformWaitCallback() ilOffset = 0x51
>Exception while trying to execute AsyncOperationId: {3B480604-BA7C-E211-96D3-005056A2004D} AsyncOperationType: 10 - Microsoft.Crm.CrmNotSupportedException: Invalid type conversion. ---> System.MissingMethodException: Method not found: 'Void Microsoft.Xrm.Sdk.BaseServiceFault.set_InnerServiceFault(Microsoft.Xrm.Sdk.BaseServiceFault)'.
at Microsoft.Crm.ExceptionConverter.ConvertToFault(Exception exception)
at Microsoft.Crm.ExceptionConverter.TryConvertToFaultExceptionInternal(Exception exception, Boolean createNewFaultException, FaultException`1& faultException)
at Microsoft.Crm.Asynchronous.AsyncHandlerResultWithError.CopyExceptionDetails(Exception ex, Int32 defaultErrorCode)
at Microsoft.Crm.Workflow.WorkflowToAsyncResultConverter.Convert(WorkflowSystemPausedResult wfResult)
at Microsoft.Crm.Workflow.WorkflowToAsyncResultConverter.Convert()

and..

>MessageProcessor fail to process message 'RetrieveMultiple' for 'workflowdependency'.
[2013-02-25 12:31:19.160] Process:CrmAsyncService |Organization:f8f30bfc-fe6f-e011-926a-005056902738 |Thread: 18 |Category: Platform |User: 7cef8412-ff6f-e011-926a-005056902738 |Level: Error |ReqId: 093d7790-508e-4bd9-bf4f-931cbd665b50 | MessageProcessor.Execute ilOffset = 0x1C5
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 = 0x156
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean traceRequest, OrganizationContext context, Boolean returnResponse) ilOffset = 0x145
at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x34
at OrganizationSdkServiceInternal.RetrieveMultiple(QueryBase query, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType) ilOffset = 0x2D
at InprocessServiceProxy.RetrieveMultipleCore(QueryBase query) ilOffset = 0x26
at WorkflowContextBase.get_EntityDependencies() ilOffset = 0x1A
at WorkflowContextBase.RetrieveEntityInstances() ilOffset = 0x9
at ActivityHost.StartWorkflowExecution(Activity workflow, ICommonWorkflowContext context) ilOffset = 0x137
at ActivityHostBase.StartWorkflow(ICommonWorkflowContext context, Activity preLoadedActivity) ilOffset = 0xA
at ActivityHostBase.StartWorkflow(ICommonWorkflowContext context) ilOffset = 0x8E
at WorkflowOperation.InternalExecute(AsyncEvent asyncEvent) ilOffset = 0x44
at AsyncOperationCommand.Execute(AsyncEvent asyncEvent) ilOffset = 0x4E
at PoolHandler.ProcessAsyncEvent(IGenericEventData eventData) ilOffset = 0x139
at <>c__DisplayClass4.<.ctor>b__2(IServiceOperation operation) ilOffset = 0x0
at FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter) ilOffset = 0x18
at MonitoredOperation.Execute() ilOffset = 0xD
at ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state) ilOffset = 0xC
at ExecutionContext.runTryCode(Object userData) ilOffset = 0x18
at RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode code, CleanupCode backoutCode, Object userData) ilOffset = 0xFFFFFFFF
at ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx) ilOffset = 0x86
at QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem() ilOffset = 0x23
at ThreadPoolWorkQueue.Dispatch() ilOffset = 0x81
at _ThreadPoolWaitCallback.PerformWaitCallback() ilOffset = 0x51

The Asynchronous Processing Service is running but we have two suspicious errors in Windows-Eventlog:

Source: MSCRMAsyncService:
HostXXX: failed while monitoring asynchronous operations queue. Exception: System.NullReferenceException: Object reference not set to an instance of an object.

at Microsoft.Crm.Asynchronous.QueueManager.UpdateEventState(AsyncEvent asyncEvent, AsyncHandlerResult result)
at Microsoft.Crm.Asynchronous.PoolHandler.ProcessAsyncEvent(IGenericEventData eventData)
at Microsoft.Crm.Asynchronous.Operations.AsyncEventOperation.<>c__DisplayClass4.<.ctor>b__2(IServiceOperation operation)
at Microsoft.Crm.Behaviors.FaultToleranceBehavior.Execute(ServiceOperationAction operation, IServiceOperation operationParameter)
at Microsoft.Crm.Operations.MonitoredOperation.Execute()
at Microsoft.Crm.Asynchronous.ThreadPoolQueueExecutionEngine.InvokeNextOperationInThreadPool(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

And a second Error:

 Source: MSCRMWebService:

The Web Service plug-in failed in OrganizationId: f8f30bfc-fe6f-e011-926a-005056902738; SdkMessageProcessingStepId: 75ccbb1b-ea3e-db11-86a7-000a3a5473e8; EntityName: workflowdependency; Stage: 30; MessageName: RetrieveMultiple; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel, Version=5.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.MissingMethodException: Method not found: 'System.Nullable`1<Int32> Microsoft.Xrm.Sdk.Query.QueryByAttribute.get_TopCount()'.
at Microsoft.Crm.Query.EntityExpression.FromSdkQueryVisitor.Visit(QueryByAttribute query)
at Microsoft.Crm.Query.EntityExpression.InitializeFromQuery(QueryBase query)
at Microsoft.Crm.Query.EntityExpression.Converter.ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, Object value)
at Microsoft.Crm.BusinessEntities.ConversionHelpers.Convert(ICrmConversionContext conversionContext, Object source, Type destinationType)
at Microsoft.Crm.Extensibility.DictionaryMapper.Map(ParameterCollection inputs, ICrmConversionContext context)
at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
.

Anyone with the same problem here?

Many Thanks!

Best Regards,
Benjamin  

 

Windows 8 App + CRM Online: Can't connect to the service

$
0
0

Hi,

We just got our CRM Online tenant provisioned. Now I wanted to try out the Dynamics CRM App on my Surface RT. Unfortunately, I can't seem to login. We use ADFS to login our users. When I type in my username in the "Connecting to a service" page, I would expect to get a login prompt from our ADFS machine. In the App I receive an error though: Can't connect to the service.

I found the "Know issues for CRM for Tablets and Phones" page (www.microsoft.com/.../known-issues-for-crm-for-tablets-and-phones.aspx) and my error is there. But the solution speaks of CRM on-premises (configuring CRM for IFS). We use CRM Online.

Anyone who has an idea of what's the issue here? Thanks!


How to calculate a field from other two fields automatically ?

$
0
0

Hello,

I have a use case :

 value(field A)= value(field b) *  value(field c)

Field b and c is input by user.

Scenario A:     a,b and c are on the same record

Scenario B.     b and c are on the same record

So what should I build to accomplish this?

Is it an update plugin?

Thank you

 

CRM ASync Services consuming more than 90% of the memory even without any processes

$
0
0

Hi, 

We have CRM and Sharepoint installed on the same server .The server has 16GB memory, but the memory keeps getting fully consumed by CRM Async services after every now and then, which disrupts the SharePoint services. 

Below is the snap of the processes:

I also tried the solution mentioned in the blog below but still the issue is occuring:

http://www.henrycordes.nl/post/2010/05/20/CRMAsyncService-keeps-CPU-and-Memory-load-at-10025.aspx

Please advise.


Thanks, 

Fahad

Crm 2011 - Email router Problem when receive a mail with "from" empty

$
0
0

Hi all,

What's about my problem ?

When in a queue we receive a mail without from,

mail router doesn't work until we dont remove the email in outlook folder.

Dynamic CRM 2011 Installation on CRM 2013 Onpremsie

$
0
0

Hello, 

We have a CRM 2013 On premise Setup in our organization. 

I would like to know whether we could install Dynamic crm 2011 on the same machine.

is it possible without any conflicts?

Thank You

Can the execution order of a plugin step be read from within the plugin while it is executing?

$
0
0

While registering a plugin step you can specify an execution order. At runtime, in the plugin, can this value be read from the context or somewhere similar?

Viewing all 82002 articles
Browse latest View live