Thank you all support. I found one solution. below the reference link I followed these solution and fixed. Now its working. Solution Reference:https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-get-current-selected-page-path-in-datasource-sling-model/m-p/651974