Currently when viewing Solid Edge Insight data in the Internet Explorer dashboard, clicking the Edit dropdown menu and selecting "View Properties/Graphics/BOM", by default the WebParts page is opened in the same browser window.
By modifying the SharePoint Feature for the Edit dropdown menu it is possible to configure the Insight WebParts to open and display in a new Internet browser window. Note that depending on the browser configuration a new tab may be opened in the browser instead of a new window.
1. On the SharePoint server, locate the SEInsightContextMenu SharePoint Feature.
For WSS 3.0 the default path to the feature is:
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\FEATURES\SEInsightContextMenu"
For SPF 2010 the default path to the feature is:
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\FEATURES\SEInsightContextMenu"
2. Back up your existing "Elements.xml" file.
3. Using your text editor of choice, open the Elements.xml file for editing. Locate the first section containing "Url="javascript:function ViewBOM()":
4. Within this section locate the line containing "window.location.href=".
5. Change this string from:
window.location.href='http://your_server/SEDoclib/SE_WebParts.aspx?SEURL='+rootSiteUrl+'{ItemUrl}';To:
window.open('http://your_server/SEDoclib/SE_WebParts.aspx?SEURL='+rootSiteUrl+'{ItemUrl}');
Note obviously that your http address will be different from the above example. Also pay attention to the formatting of the "window.open" string and note that there is a closing parenthesis at the end of the line before the semi-colon.
6. There are a total of eight "Url="javascript:function ViewBOM()" sections that you will need to make the above "window.open" change to.
7. Save the Elements.xml file.
8. Restart IIS by performing an "iisreset" in a DOS Command Prompt window.
Now when clicking the Edit dropdown menu and selecting "View Properties/Graphics/BOM" the WebParts page will be opened in a new browser window or tab.
No comments:
Post a Comment