Expand my Community achievements bar.

Sightly Iparsys Customization ?

Avatar

Level 4

Hello All,

           We have below 2 customization requirements for iparsys (sightly version /libs/wcm/foundation/components/iparsys).

  1. Instead of inheriting from parent page, we  have to inherit from a fixed specific page(/content/xyzcorp/en/admin-site).
  2. Instead of inheriting content to all child pages by deafualt, it should inherit based on some custom logic(tagName and domainName).

We could able to implement the above requirements successfully in JSP version of iparsys. But facing some issue in Sightly version.

Attached is the complete customized code(par.js /libs/wcm/foundation/components/iparsys/par/par.js) for the above requirements in iparsys.

In Parent page, we will drag and drop components and configure tags and domains using component dialog.In child pages, under page properties we have cq:tags. If configured tag in component at parent page, matches the cq:tags in child pages, we will render the content in child page.

Problem facing:- The code attached is failing, when we have  more than one component in parent page. Basically from line 44 to 99 is executing only once, even though we have more than one component in parent. 

Please let us know, what is wrong in the customized code attached.

 

Thanks in advance

0 Replies