JS using context.getServerUrl()

Every now and then I get stuck on something where I didn’t pay enough attention when I was reading the documentation. This is one of those cases. I was just playing with some OData scripts, and moving from one machine to another I realized that my calls were prompting for re-authentication on one of the... Continue Reading →

JS for lookup in CRM

Working with lookup fields in CRM when using JavaScript is a little different due to the way the entity is handled. The following snippets will allow you to both read a value in a look-up, as well as to populate a value in the look-up (for cases when you need to pre-define a value). Reading... Continue Reading →

JS to get details from parent lookup entity

In some instances, you might need to put a lookup on a form, and based on the selection in that lookup, retrieve additional data about the entity referenced. One such example could be either the standard entities like Account or Contact, or a custom entity you have created. The following snippet will help you do... Continue Reading →

Create a website or blog at WordPress.com

Up ↑