A few years ago, I developed some code for Dynamics, and, then, just put it aside since I was not able to really figure out what to do with it. However, while I was putting together TCS Tools solution in the last few weeks, it occurred to me that I could probably include that code, too.
The idea there is very simple – what if we could write C#-like expressions/code without having to develop plugins? Problem is, the implementation is not, really, 100% there (and, probably, is never going to get that far), but, then, it does allow some interesting things.
Let’s start with an example – here is a code expression which is configured to run on the “create” of account record:
Let’s see how it works – first, I’ll be creating an account:
According to the expression above, what’s going to happen when I hit “save” button is:
- The expression will check if main phone has been populated
- It will recognize that the phone number is there, so it will add that phone # to the account name
Here, I just clicked “save”:
That was easy – it worked. It’ll be more complicated to clearly explain how far you can take it:)