Quantcast
Channel: CRM Development forum
Viewing all 8223 articles
Browse latest View live

How to convert optionset to Multi-selectpicklist using javascript in crm 2015 carina

$
0
0

How to convert optionset to Multi-selectpicklist using javascript in crm 2015 carina

Tried with this code:

https://community.dynamics.com/crm/b/mscrmcustomization/archive/2015/02/18/convert-option-set-to-multi-select-checkbox-list

But i am getting error as 

TypeError: Unable to get property 'createDocumentFragment' of undefined or null reference at createSafeFragment (XXXXXXXXXXXXXXXXXXXXX/WebResources/new_jquery_1.10.2?ver=1324386516:5986:3)

Could you pleas help on this issue?


Not able to start debugger and run table in MS Dynamics 2013 R2

$
0
0

Hello MSDN Dynamics Team.,

Debugger and run tab is not working in MS Dynamics NAV Development Environment. I am new in MS Dynamics and trying to fix the two errors below in the event viewer. 

I. Error5/24/2016 4:20:34 PMApplication Error1000(100)

Log Name:      Application

Source:        Application Error
Date:          5/24/2016 4:20:34 PM
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxxxxxxxx.xxxxx.xxxxx
Description:
Faulting application name: Microsoft.Dynamics.Nav.Client.exe, version: 7.1.40076.0, time stamp: 0x54f0eace
Faulting module name: KERNELBASE.dll, version: 6.3.9600.18264, time stamp: 0x56e1b34d
Exception code: 0xe0434352
Fault offset: 0x00015b68
Faulting process id: 0x2cd4
Faulting application start time: 0x01d1b5c76f40a99f
Faulting application path: D:\Microsoft Dynamics NAV\71\RoleTailored Client_40076\Microsoft.Dynamics.Nav.Client.exe
Faulting module path: C:\Windows\SYSTEM32\KERNELBASE.dll
Report Id: ad02a9db-21ba-11e6-80e7-00155d082343
Faulting package full name: 
Faulting package-relative application ID: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-24T14:20:34.000000000Z" />
    <EventRecordID>379924</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxxxxx.xxxxxx</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Microsoft.Dynamics.Nav.Client.exe</Data>
    <Data>7.1.40076.0</Data>
    <Data>54f0eace</Data>
    <Data>KERNELBASE.dll</Data>
    <Data>6.3.9600.18264</Data>
    <Data>56e1b34d</Data>
    <Data>e0434352</Data>
    <Data>00015b68</Data>
    <Data>2cd4</Data>
    <Data>01d1b5c76f40a99f</Data>
    <Data>D:\Microsoft Dynamics NAV\71\RoleTailored Client_40076\Microsoft.Dynamics.Nav.Client.exe</Data>
    <Data>C:\Windows\SYSTEM32\KERNELBASE.dll</Data>
    <Data>ad02a9db-21ba-11e6-80e7-00155d082343</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>

II.Error 5/24/2016 4:20:34 PM.NET Runtime1026None

Log Name:      Application

Source:        .NET Runtime
Date:          5/24/2016 4:20:34 PM
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      xxxx.xxxx
Description:
Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.ParseCommandLineArguments(System.String[])
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.PrepareCore()
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Prepare()
   at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])

Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name=".NET Runtime" />
    <EventID Qualifiers="0">1026</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-24T14:20:34.000000000Z" />
    <EventRecordID>379923</EventRecordID>
    <Channel>Application</Channel>
    <Computer>xxxxx.xxxxxx</Computer>
    <Security />
  </System>
  <EventData>
    <Data>Application: Microsoft.Dynamics.Nav.Client.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.ParseCommandLineArguments(System.String[])
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.PrepareCore()
   at Microsoft.Dynamics.Nav.Client.WinClient.StartWinFormsClient.Prepare()
   at Microsoft.Dynamics.Nav.Client.Program.Main(System.String[])
</Data>
  </EventData>
</Event>

Any advise will be highly appreciated.

Thanks,

Glenn Sebastian


Unified Service Desk 2.0 - Customization files

$
0
0

Hi gurus

I have created some dlls to customize my USD 2.0. I am trying to use the customization files new feature to put these dlls con CRM to be downloaded with USD clients. Files are in place and I can see they are donwloaded to a Local folder (Windows 8.1) but when USD tries to use them, a FileNotFound exception is raised. Just copying the dlls to the .EXE folder make the customizations work. Any ideas about what I am doing wrong?

Thanks in advance

CRM 2013 Cannot open Sql Encryption Symmetric Key !!

$
0
0

Hello,

I have a issue with CRM 2013 "Sql Encryption Symmetric Key". FYI this following are the screen shot and error log file. 


Error Log :

Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F9CB1452Detail: 
<OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts">
  <ErrorCode>-2147220970</ErrorCode>
  <ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
  <Message>System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #F9CB1452</Message>
  <Timestamp>2013-12-30T14:00:18.8473198Z</Timestamp>
  <InnerFault>
    <ErrorCode>-2147187410</ErrorCode>
    <ErrorDetails xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <Message>Cannot open Sql Encryption Symmetric Key because Symmetric Key password does not exist in Config DB.</Message>
    <Timestamp>2013-12-30T14:00:18.8473198Z</Timestamp>
    <InnerFault i:nil="true" />
    <TraceText i:nil="true" />
  </InnerFault>
  <TraceText i:nil="true" />
</OrganizationServiceFault>

I tried to recreate or change the Sql Encryption Key but not have any Resolution. is there any solution to get this fix ??? 

 Thank's 


Vinay Kumar.




Disable past and future dates in datetime picker

$
0
0

Hi,

I have a very specific task on hand. I want to disable(grey out) all past dates and future dates except current date in MS CRM. Is there any way to achieve this?


Generate report of custom entity records which status is "Pending" at any point during the record life.

$
0
0

Hi,

We need to generate report of custom entity records which status is "Pending" at any point during the record life.

It may be status changed now, but if it was created during the date range specified and has had a state of pending at any point then it should show on the report/data output. 

What is the best approach to generate report for above criteria?


 


Yadav

VendOpenTrans form in Dynamics AX 2012

$
0
0
how to show only due date invoice in VendOpenTrans Grid form in ax 2012

VendOpenTrans form in Dynamics AX 2012

$
0
0

how to show only due date invoice in Grid of VendOpenTrans form  in ax 2012


Get the contact of the open session

$
0
0

 Hi,

I want to recover the contact session in Unified service desk for use in a project hosted usd customcontrols for get mail client or telphone number


Send Workflow Email from Executing User Dynamics CRM

$
0
0

I have created a button on Account Homepage which has a functionality to trigger workflow after a specified record is selected and the button is clicked. I want to send email on behalf of the user who is initiating the workflow but I am a little bit confused about what to put in From field of the email workflow.

I am using dynamics crm 2015 On-Prem

Any kind of help/suggestion will be appreciated.

CRM2016 Onsite JS Xrm.Page.data.process.moveNext() dirtyForm

$
0
0

function Move_To_Next_Stage() {
Xrm.Page.data.entity.save();
Xrm.Page.data.process.moveNext(function (result) {
     if (result != "success") {
          alert(result);
     };
});

Why am I getting "dirtyForm" and why is that preventing the active/selected stage from progressing?

Set Default Lookup Type for Customer Lookup in MS CRM 2013

$
0
0

Hi,

I know there is a workaround for setting a lookup type as Contact for CRM 2011. However this doesn't work for CRM 2013.

Has anyone succeeded in finding a workaround for this scenario in CRM 2013. I need to set up default lookup type as Contact in Customer lookup and also similar requirement to set default lookup type as Contact for Email 'to' field

Thanks in Advance,

Ravi

Adding an entity to a solution with only a new custom field (Segmentation)

$
0
0

Hello Devs,

Thanks to the CRM 2016 new solution segmentation feature that facilitated the addition of only minimum entity assets to the solution. That saved lot of dependency issues that arise due to the unnecessary dependencies created by the import of succeeding solutions.

However, I didn't see any option to add an entity with only a new custom field in a Select Entity Assets dialog box. Is there any option that you see to achieve the same?

Right now, I add an entity with any dummy existing asset and then I remove it after I add a new entity field.

Thanks.


blog: <a href="http://technologynotesforyou.wordpress.com">http://technologynotesforyou.wordpress.com</a> | skype: ali.net.pk


Could not load type ' xx ' from assembly because the method ' yy ' has no implementation (no RVA)

$
0
0

I am trying to merge two DLL with ilmerge in VS2015 but I am receiving this error when registering the merged DLL with the 2016 plugin registration tool. Here is the error log ... I tried removing the DLL's, and downgrading the .net version on the assemblies but no luck.

Unhandled Exception: System.TypeLoadException: Could not load type ' xx' from assembly 'Account.Plugin.Merged, Version=1.0.0.0, Culture=neutral, PublicKeyToken=48f4ec8800e56f69' because the method 'GrantAccess' has no implementation (no RVA).
   at System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes)
   at System.Reflection.RuntimeAssembly.GetExportedTypes()
   at Microsoft.Crm.Tools.Libraries.CrmAssemblyReader.RetrievePluginsFromAssembly(String path)
   at Microsoft.Crm.Tools.Libraries.CrmAssemblyReader.RetrievePluginsFromAssembly(String path)
   at Microsoft.Crm.Tools.Libraries.RegistrationHelper.RetrievePluginsFromAssembly(String pathToAssembly, String appPath)
   at Microsoft.Crm.Tools.AssemblyRegistration.PluginRegistrationViewModel.BtnLoadAssemblyClicked()

Environments: CRM2016, On-premise, Update 0.1, VS 2015 - Update 2 and .net version 4.6.1

SQL Query to FetchXML - CRM2013 and ClickDimensions Subscription Preferences

$
0
0

We've been trying to create a view in CRM2013 that would show a Contacts correct current set of subscribed subscription lists, and it's been much more difficult than we imagined. We can find what we want if we query the database directly, but not in FetchXML. I'll post both, in hopes that someone else has already figured this out. (It seems like a reasonably common request - to list the active subscription by email address...)

The SQL that does work in CRMDB:

-- #2 check for specific subscriptions - excluding specific unsubscribes
SELECT DISTINCT SP.cdi_SubscriptionListId
              ,SP.cdi_Email
              ,SLB.cdi_name
              ,SLB.statusCode
FROM   cdi_subscriptionPreferenceBase SP
JOIN   cdi_subscriptionlistBase SLB ON SLB.cdi_subscriptionlistId = SP.cdi_SubscriptionListId
WHERE  SLB.statusCode = 1
AND           SP.cdi_email = 'user@emailaddress.com'
AND           SP.cdi_SubscriptionListId NOT IN (

                     SELECT USLB.cdi_subscriptionlistid
                     FROM cdi_unsubscribe_cdi_subscriptionlistBase USLB
                     JOIN cdi_unsubscribeBase UB ON USLB.cdi_unsubscribeid = UB.cdi_unsubscribeId
                     WHERE UB.cdi_email = 'user@emailaddress.com'

              )

And this was my last attempt with FetchXML:

<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true" ><entity name="cdi_subscriptionpreference" ><attribute name="cdi_subscriptionlistid" /><attribute name="cdi_email" /><filter type="and" ><condition attribute="cdi_email" operator="eq" value="user@emailaddress.com" /><condition attribute="cdi_preference" operator="eq" value="1" /></filter><link-entity name="cdi_unsubscribe_cdi_subscriptionlist" from="cdi_subscriptionlistid" to="cdi_subscriptionlistid" link-type="outer" ><link-entity name="cdi_unsubscribe" from="cdi_unsubscribeid" to="cdi_unsubscribeid" ><filter type="and" ><condition attribute="cdi_email" operator="eq" value="user@emailaddress.com" /></filter></link-entity></link-entity></entity></fetch>

Any help would be greatly appreciated.

- Michael



I am trying to add two option data type field as radio butoon ...

$
0
0

Hi ,

I am trying to add a field as radio button on to the form , I crated one two option field and selected radio button ... and added it to form but that field is showing same as two option not as radio button.

will you please help me how to add radio button and checkbox on to the form by using that option

Regarding ProductList View Url

$
0
0

In customization Page Once the user edits or adds products and hits save, the tab would close and they would be on the product list view of the order.In short How to get Url of product list view of the order and set into button control in another page?


dependent option set - 2016 ARA(Turbo forms)

$
0
0

Hi All

Dependent option set values are expanded by default in crm 2016(turbo form) , when we are opening a existing record ,Can you please help on this.

Thanks in Advance

CRM 2013: unable to convert the campaign response

$
0
0

I'm facing issue in converting the campaign response with my custom security role.

Below I have written the options provided by 'Convert campaign response' in Campaign response form along with what I can do with that options if I select it.

1. Create lead

I have given bu level permissions for Create, Read, Append to and Append privileges on Lead

2. Convert to an existing lead

Able to select the existing lead

3. Create a quote, order or opportunity for an account or contact

Select an account or contact- able to select contact record

select record type- this option is empty

select currency-able to select currency

I haven't given any permissions on account entity but given bu level read and append to permission on contact.

4.Close response

able to select the status either Closed or Cancelled.

I'm not able to convert the campaign response by selecting any of the above options. After I select the option and click ok it remains on the same page.

But able to close the campaign using "Close Campaign Response'.

Please help me with your suggestions.

Showing option set type field instead of text field on form

$
0
0

Hi,

I have a requirement to show bunch of fields and option set depending upon the case type. The fields are around 5 - 8 and 2- 4 option set as additional, those are specific to the case type which means every case type have different data set to capture.

My design approach for this is to create a separate entity, which is creating all the 5 - 8 fields as records depending up on the case type so that user can capture the data appropriately however i am struggling how to show the option set as well as an record.

For example. Case type = Hardware then users should capture which hardware from the list (Option set) then capture  make, model, date of reg, etc as text.

So if the next time case type = Software then form should capture the fields specific to software and then option sets specific to software's.

The above example is just on the assumption basis, in the actual scenario there is detailed logic around the type and field capture.

I need to know what would be the best approach to resolve these kind of req. and if I am going ahead with a single custom entity which is creating all those data fields on the basis of case type and showing as part of the grid would work ? if so then how should i include option sets in the same record.

Viewing all 8223 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>