As per my requirement, I need to give the page path in the dialog, from that path, I'm fetching all the reference page properties like published date, Image from the reference page which I am giving in the dialog.
@maryanilak48011 thank you for posting in Communities. Can you please explain your usecase a bit detailed?
I see that you want to fetch publishedDate property from a page into another page?
Is it just one property or do you need any other properties (set of properties) ?
Is it for direct rendering or any processing logic involved on top of property value?
If you have paths of the other pages handy in your current page, you can develop a sling model for the current page resource type and using Pagemanger api or resource api or node api, pass path of the pages in hand and get the properties, if there are multiple properties or any processing logic needed create a sling model for other as well and use adapto feature of resource to fetch values.