Expand my Community achievements bar.

SOLVED

What does HasPackage() does

Avatar

Level 1

Hi.

I am very curious about what does applicableIf="HasPackage('nms:social') ..... does?

There is almost nothing mentioned about it in the documentation and I want to understand the purpose if it.

Thank you

1 Accepted Solution

Avatar

Correct answer by
Employee

This is to test if Package is installed or not

1468390_pastedImage_0.png

You can find more details in standard jsapi documentation.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee

This is to test if Package is installed or not

1468390_pastedImage_0.png

You can find more details in standard jsapi documentation.

Avatar

Level 1

Sure, I absolutely forgot to look at the jsapi doc.

Thank you

Avatar

Employee

Hi ,

This attribute applicableIf="HasPackage('nms:social') denotes that some columns or input fields will only be applicable if the package social is installed in the instance.

It generates a dependency of features based on packages installed

Regards,

Adhiyan