Expand my Community achievements bar.

SOLVED

Restrict Parsys Component

Avatar

Former Community Member

Hi ,

 How to make the parsys to accept only two components from side kick ?

 Please drop your solutions.

Thanks in advance

1 Accepted Solution

Avatar

Correct answer by
Level 6

Follow these steps - 

1. Overlay parsys component under /apps

2. Add one node and set the value of allowed value

3. Create a json file under overlayed parysys component and build the logic to find out number of parsys component

4. Now, call the json file from parsys js file and check if the value is within the allowed value or not. and then display message accordingly.

View solution in original post

5 Replies

Avatar

Correct answer by
Level 6

Follow these steps - 

1. Overlay parsys component under /apps

2. Add one node and set the value of allowed value

3. Create a json file under overlayed parysys component and build the logic to find out number of parsys component

4. Now, call the json file from parsys js file and check if the value is within the allowed value or not. and then display message accordingly.

Avatar

Employee

Do you mean you want a parsys to only accept two specific components from the Sidekick, e.g. only accept the Text and Video components? If so, you can do this in the Design Dialog of the parsys.

Avatar

Level 6

I wish I could but unfortunately, no....because client specific code is not made available publically.