Menu Close

Author: uk365guy

RUNNING JAVASCRIPT WITHOUT NEEDING TO PUBLISH WEBRESOURCES

Many a times developers need ability to test or run JavaScript without actually publishing them on their CRM forms and it’s very difficult to test scripts without actually publishing/debugging them.
Well today I am going to share a little trade secret I use in the field.
There is a little chrome CRM JavaScript Fiddle which I think can improve your productivity a lot :
clip_image001
Once you install this chrome extension, you will have an icon for the Fiddler extension in your chrome browser.
Let’s see it in action (Don’t forget to move to your CRM Form first):
clip_image003
Basically opens kind of a runtime editor which you can use to trigger JS or test your js:
Comes packaged with some interesting scripts:
clip_image005
Here I am trying Record URL:
Clicking Run (Green Play button) triggers a windows prompt with the record URL:
clip_image006
Trying out a custom script:
clip_image007
I get alert for the name of the contact I am on:
clip_image008
Hope it helps 
Share this:

HOW TO STOP VIRTUALBOX MACHINE FROM AUTO SHUTDOWN EVERY 20 MINUTES

virtualbox auto shutdown answer below:

In the Windows guest, open the command prompt and enter

slmgr /rearm

(not –rearm as cited in that post, since this is Windows). You can do that up to twice apparently, to extend by 30 days each time. Apparently the iectrl tool from ievms also works but I didn’t try that.

The above code worked for when my virtualbox virtual machine keep shutting down very often.

So the above code simple to overcome this issue folks..

I hope this will help someone like me, who are facing the issue.

## Cheers Guys

Share this:

HOW TO VIEW RIBBON DEFINITIONS IN CRM 2011

Previously the SDK contained ribbon definition XML files in a folder at the following location:

The latest SDK seems to no longer include these files.  So, now you need to generate these yourself using the utility provided.  It’s not hard to do, here’s the steps:
Go to this location:
Double-click the solution file (exportribbonxml.sln) to open this solution in Visual Studio.
Right-click on the Solution in Visual Studio and select Build:
image
Wait for that process to complete and make sure Visual Studio doesn’t report any errors.  If that all went ok you will now have an exe you can run, at the following location:
Double click on the exe (ExportRibbonXml.exe) and then provide the details asked of you:
image
And that should generate the ribbon definition files that you need:
image
Share this:

HOW TO VIEW RIBBON DEFINITIONS IN CRM 2011

Previously the SDK contained ribbon definition XML files in a folder at the following location:

The latest SDK seems to no longer include these files.  So, now you need to generate these yourself using the utility provided.  It’s not hard to do, here’s the steps:
Go to this location:
Double-click the solution file (exportribbonxml.sln) to open this solution in Visual Studio.
Right-click on the Solution in Visual Studio and select Build:
image
Wait for that process to complete and make sure Visual Studio doesn’t report any errors.  If that all went ok you will now have an exe you can run, at the following location:
Double click on the exe (ExportRibbonXml.exe) and then provide the details asked of you:
image
And that should generate the ribbon definition files that you need:
image
Share this: