I want to retrieve a document based on search key and need to find all the pages where this document is being used. I tried with fluent search, it gives me the document with the search and on search result page i also get the page link where this document is used(through <@hst.link var=“link” hippobean=item />).
However, if the same document is used for two pages, it still just return one result. For my requirement it should return me 2 results and with their link for page. Can you please help, how could i achieve this?
Also, is there a way to get the page in my searchComponent itself(java class).
I want to capture the pages where a document has been used, but at the time when the document gets published. How can i get that please suggest. I get requestContext null in CMS module.
I can get this working in case of document publish, where I can get UUID and path of the document published. But can you suggest me how do can I get the url(sitemap) of page being published through channel-manager? For event category “channel-manager” and event action “publishMount”.
well, you are publishing the channel and a page. So, only way would be to loop through all pages on that channel, event itself has no data about changed/published pages.