What does HasPackage() does

Avatar

Avatar

dmytro88

Avatar

dmytro88

dmytro88

18-04-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

shrawans3153003

Employee

Avatar

shrawans3153003

Employee

shrawans3153003
Employee

18-04-2018

This is to test if Package is installed or not

1468390_pastedImage_0.png

You can find more details in standard jsapi documentation.

Answers (2)

Answers (2)

Avatar

Avatar

Adhiyan

Employee

Avatar

Adhiyan

Employee

Adhiyan
Employee

18-04-2018

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

Avatar

Avatar

dmytro88

Avatar

dmytro88

dmytro88

18-04-2018

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

Thank you