What does HasPackage() does

Avatar

Avatar
Validate 1
Level 1
dmytro88
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
dmytro88
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
dmytro88
Level 1

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
Boost 50
Employee
shrawans3153003
Employee

Likes

69 likes

Total Posts

150 posts

Correct reply

66 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile

Avatar
Boost 50
Employee
shrawans3153003
Employee

Likes

69 likes

Total Posts

150 posts

Correct reply

66 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 10
View profile
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
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile

Avatar
Establish
Employee
Adhiyan
Employee

Likes

241 likes

Total Posts

343 posts

Correct reply

124 solutions
Top badges earned
Establish
Give Back 50
Give Back 25
Give Back 10
Give Back 5
View profile
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
Validate 1
Level 1
dmytro88
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
dmytro88
Level 1

Likes

0 likes

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Validate 1
View profile
dmytro88
Level 1

18-04-2018

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

Thank you