Preventing default behaviour in PowerApps portal web form

This article would be one of the easiest and shortest article but it needs writing about.

Sometimes, in PowerApps portal, we might have a requirement to prevent the default behaviour of the out-of-box buttons and check for some conditions before continuing. This might sound easy but the normal eventArgs.preventDefault() sometimes would not work and for someone with less experience this could be a problem that could take time to resolve.

To understand how and when to use :

Continue reading “Preventing default behaviour in PowerApps portal web form”

How to stop plugins from executing programmatically

You might have a situation where you would need to create or migrate records to dynamics using a console app or using any other platforms programmatically, and you don’t want to trigger plugins associated with the targeted entity. In this post, we would see as such a requirement can be met;

Here, I have created the below plugin and registered it to trigger on post Operation of entity Create, in this case, Account entity.

Continue reading “How to stop plugins from executing programmatically”

Using Content snippets in javascript code on Entity Form Dynamics 365 Portals

In this post, I will be showing how to use a snippet in your javascript code. A powerApps Portal content snippet, using programming terms, is like a static global readonly variable that can be re-used anywhere within your code.

Create a content snippets in your PowerApps portals, make the type an HTML

Continue reading “Using Content snippets in javascript code on Entity Form Dynamics 365 Portals”

Multiselect entities in a lookup control using Xrm.Utility.lookupObjects()

You can get the requirement to lookup multiple entities and do something with the selected lookup values. Well search no more, the Xrm.Utility.lookupObjects() Api method would meet such requirement .

I have loaded the below code to trigger on the change of a field. The lookup entities in the below is Contact and Account (it could be a custom field).

Continue reading “Multiselect entities in a lookup control using Xrm.Utility.lookupObjects()”

Software Development Road Path for graduates and undergraduates

In times where the to break into the competitive software development realm seems too difficult for young graduate, I will walk through how I started 3 years ago. Please bear in mind that this route, are for college graduate.

  • First, during your college years do not be in haste to graduate without experience. I see college students just want to run their college years and then hit reality, when 2 years after university, they are still searching for that one professional job. I will advise you take a year out for placement and get that work experience in workplace that involves software development. If you get lucky, your placement workplace could hire you permanently after placement year is over.
  • Get a temporary work experience during summer breaks, all these exeperiences makes programming look like a second language to you, and when you graduate any employer out there that goes through your CV, would see the serious and ability in your to work (no employer wants a bench warmer in their workplace).
Continue reading “Software Development Road Path for graduates and undergraduates”