web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :

Extension Installation – With Condition

RockwithNav Profile Picture RockwithNav 8,415 Super User 2025 Season 2

Hey Readers,

I just ended up into a situation where in there was a prerequisite like once the Extension is installed it should execute a process by itself to make this extension functional on the Production Environment.

For example let’s take one very simple example where in say once we install an extension we want the Address of all the Customer’s to be modified to a certain value and this should happen the moment the extension is installed. We don’t have that bucket of anything to be executed post extension installation. So how to accomplish this.

We need to make a very simple brand new Codeunit for this and introduce one property which says – Subtype. We need to make Subtype = Install. We have couple of more options but for now lets focus on Subtype as Install. Once you enable this property system will provide you with couple of triggers to handle what you really wish to perform when the Extension is installed.

So once you install this Extension and the Extension is installed you will see all the customer Address modified to – My Test Address.

CHEERS


This was originally posted here.

Comments

*This post is locked for comments