Git Product home page Git Product logo

dynamics-crm-devkit's People

Contributors

dependabot[bot] avatar phuocle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dynamics-crm-devkit's Issues

BUG: Js form when add new bcf control

When a field added with a custom control, the js form generator wrong

E.g.: pl_Fee is a currency, but if added a custom control input, the js form generator ControlActionCards

Unable to debug with dll generated from plugin project build

When building the dll and trying to attach it to the debugger I get the following error:

Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'xxxx\bin\Debug\xxxx.Plugin.xxxx.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format.
at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks)
at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at Microsoft.Crm.Tools.Libraries.CrmAssemblyReader.LoadAssembly(String path)
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()

Form more than 1 BPF

If form more than 1 BPF access field it the BPF not current will throw exception

E.g

BPF 1, field A, B, C
BPF 2, field A, B

Current BPF 2, access field C will throw exception because the field not in form.

Should find the way check run-time (in the design time file .d.ts not error)

With Version 2.12.31: PlugIns are now only in "sandbox" mode registred

Hi,
your changes in Task.cs File:
From:
case "plugins":
var plugin = new TaskPlugin(crmServiceClient, currentDirectory, arguments);
plugin.Run();
break;

To:
//case "plugins":
// var plugin = new TaskPlugin(crmServiceClient, currentDirectory, arguments);
// plugin.Run();
// break;
...
case "plugins":
case "workflows":
case "dataproviders":
var server = new TaskServer(crmServiceClient, currentDirectory, arguments);
server.Run();
break;

have the effect that the plugIn DLLs is always registred in sandbox mode. But i am use OnPremise CRM an would like "none" as DLL mode. Can you please test it und change the code from TaskServer.cs "RegisterAssembly" method:
["isolationmode"] = new OptionSetValue(2)
to Code from TaskPlugIn.cs "RegisterAssembly" method:
["isolationmode"] = firstTypeAttribute.IsolationMode == IsolationModeEnum.Sandbox ? new OptionSetValue(2) : new OptionSetValue(1)
??
Thanks :-)

BUG: JS form

When tab and section has an invalid name (guid name), form generator invalid, but file .d.ts generator ok.

Resource string

Displays available install languages in the dropdown.
Current display all languages.

AddOption in *.d.ts wrong

body[field].AddOption = function(text, value, index) { var option = { text: text, value: value }; control.addOption(option, index); };

form.js generator is bug

error

var body = {
   ab_existing_customerid_1: {}
}

should be

var body = {
   ab_existing_customerid1: {}
}

No Connection to CRM v8/v9 OnPremise

Hi,

i can not connect to CRM v8 or v9 on local installation. I have tested with VS2019 and VS2017. What are the requirements to work with crm and vs?
Thanks AlGu

Last comment in *.d.ts not correct

//{'JsForm':['Installed Parts','Quick Create'],'JsWebApi':false,'IsDebugForm':true,'IsDebugWebApi':false}
//{'JsForm':['Installed Parts','??????Quick Create'],'JsWebApi':false,'IsDebugForm':true,'IsDebugWebApi':false}

form.js

MAIN FORM have these lines

form.Utility = devKit.LoadUtility(defaultWebResourceName);
form.ExecutionContext = devKit.LoadExecutionContext(executionContext);
devKit.LoadOthers(formContext, form, defaultWebResourceName);

MISSED on QUICK CREATE FORM
form.Utility = devKit.LoadUtility(defaultWebResourceName);
// missed
// missed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.