Code Monkey home page Code Monkey logo

processjs's People

Contributors

paulnieuwelaar 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

Watchers

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

processjs's Issues

Action Calling Custom Code - Object Reference

I've got an action with 3 parameters:

  • InputParameter1 - string - required
  • InputParameter2 - string - required
  • OutputParameter1 - string - optional

Using Process.callAction, I pass the actionName and 2 input parameters per documentation. It calls the action and runs through the custom code just fine (walked through it multiple times without an issue) and then it still directs to the errorHandler and throws an object reference error.

Is this caused by not using the output parameter?

Deprecated items by Microsoft

Hello,

Microsoft announced in following article https://docs.microsoft.com/en-us/dynamics365/get-started/whats-new/customer-engagement/important-changes-coming that dialogs, CRM 2011 endpoint and XRM Api will become deprecated soon. I can see you are using these things in your library, so I wan't to know if you intend to upgrade your code that will be compliant with latest CRM release. How long will this library working OK in Microsoft Dynamics CRM Online?

Thank you in advance. Best Regards,

M

Impersonation

Hi,
Thanks for the great work, I've been using that solution for quite some time now and I find it truly helpful!

Although the solution handles most of my needs in 99% of my use cases scenarios, I was wondering if you knew of anyway of calling an action from JavaScript while impersonating the user?

I don't mind if that solution is a bit more rough or even if it doesn't fit with the solution you currently provide.

Any leads would be greatly appreciated.

Thanks again.

Question - Typescript file?

As mentioned in the title, this isn't an issue but a question. I'm in the process of converting our JS related to CRM to Typescript, and make use of your Process JS file.

Although it wouldn't be too difficult to generate a TS file for your JS file, is there any chance that you already have a ts definition file?

Output Parameters always return null value

Greetings.
I'm using Dynamics 365 Online v.9.0.

  • process Action with input and output parameters.
  • Workflow (CodeActivity)
  • JavaScript using last version of process.js inside a HTML Web Resource

Obviously the call to my custom Action works properly because I can see the results done by the Activity code. However, the output parameters (params of Success function) always return a null value.

I checked multiple times if all my parameters were defined identically in the JavaScript, the Action, and the C# code. All parameters are "required".

I don't understand why. Please help.

Thanks

-Frank

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.