What does HasPackage() does | Community
Skip to main content
April 18, 2018
Solved

What does HasPackage() does

  • April 18, 2018
  • 3 replies
  • 1923 views

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.
Best answer by ShrawanSaxena-1

This is to test if Package is installed or not

You can find more details in standard jsapi documentation.

3 replies

ShrawanSaxena-1
Adobe Employee
ShrawanSaxena-1Adobe EmployeeAccepted solution
Adobe Employee
April 18, 2018

This is to test if Package is installed or not

You can find more details in standard jsapi documentation.

dmytro88Author
April 18, 2018

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

Thank you

Adhiyan
Adobe Employee
Adobe Employee
April 18, 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