none
Redirection from Page view webpart

    질문

  • Dear All,

    I am having a SharePoint page with a Page viewer webpart, when I click the link of the page it loads the new page in the same area instead of redirecting the complete window. I want to redirect the completed window to a site webpage.

    Regards,

    Faizan.


    Regards, Syed Faizan ur Rehman, CBPM®,PRINCE2®, MCTS

    2018년 6월 4일 월요일 오전 6:51

모든 응답

  • Hi Faizan,

    We can add the code below in to the SharePoint page which is used in the Page Viewer Web Part.

    <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
    <script type="text/javascript">
    $(function(){	
    	$("a").click(function(){
    		window.parent.location.href=$(this).attr("href");
    	});
    });
    </script>

    Best Regards,

    Dennis


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    2018년 6월 5일 화요일 오전 3:30
    중재자
  • Hi,

    Would you please provide us with an update on the status of your issue?

    Best Regards,

    Dennis


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.


    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    2018년 6월 14일 목요일 오전 8:42
    중재자