Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!
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

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now