What does HasPackage() does | Community
Skip to main content
New Participant
Apr 18, 2018 1:22 PM UTC
Solved

What does HasPackage() does

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
ShrawanSaxena-1
ShrawanSaxena-1Accepted solution
Employee
Apr 18, 2018 2:17 PM UTC

This is to test if Package is installed or not

You can find more details in standard jsapi documentation.

3 replies

Adhiyan
Employee
Apr 18, 2018 2:24 PM UTC

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

Translate
dmytro88Author
New Participant
Apr 18, 2018 2:21 PM UTC

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

Thank you

Translate
ShrawanSaxena-1
ShrawanSaxena-1Accepted solution
Employee
Apr 18, 2018 2:17 PM UTC

This is to test if Package is installed or not

You can find more details in standard jsapi documentation.

Translate