Restrict Parsys Component | Community
Skip to main content
October 16, 2015
Solved

Restrict Parsys Component

  • October 16, 2015
  • 5 replies
  • 1294 views

Hi ,

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

 Please drop your solutions.

Thanks in advance

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 Sam205505050

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.

5 replies

Sam205505050Accepted solution
Level 6
October 16, 2015

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.

Adobe Employee
October 16, 2015

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.

October 16, 2015

How its possible ?

October 16, 2015

Thanks

Can you post the sample ??

Level 6
October 16, 2015

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