Show button only when the record is selected – Selection Count Rule

Hi Everyone,

Today I was working on adding some button on the Subgrid and the requirement was to show the button when at least single record is selected.

We can easily achieve this using a Enable Rule – Selection Count Rule. Here is the enable rule of the same, we just have to attach this rule to the button command.

      <EnableRule Id=“…SelectionCount.EnableRule”>
        <SelectionCountRule AppliesTo=“PrimaryEntity”Minimum=“1” Default=“false”/>
     


Hope this helps.


Happy 365’ing
Gopinath

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s