I need to resolve the wildcard item (*) to a product repository which has products and show the presentation details of the (*) item.
Now i am using the following structure
- Products
- Product Collection 1
- * (presentation details)
- Product Collection 2
- * (presentation details)
- Product Collection 3
- * (presentation details)
- Product Collection 1
- Global Repository
- Products
- Product 1 (no presentation details)
- Product 2 (no presentation details)
- Product 3 (no presentation details)
- Products
I am using Adam Conn's wildcard module and have setup the routes for routing the (*) item to the repository item. Also have created a custom wild card item resolver (after the item resolver) to get the wildcard item as context item, which is resolving as expected.
But the issue is the resolved item does not have presentation details and I need to use that item as a datasource for the (*) item.
I have tried to use this from blog : http://hdaoud.blogspot.com/2017/05/sitecore-resolve-wildcard-item-and-fix.html
and also found some details about the same in https://community.sitecore.net/developers/f/8/t/3655
Please help me on to solve this issue.
Thanks