Welcome Guest! To enable all features please Login or Register.



Go to last post Go to first unread
#1 Posted : Saturday, September 29, 2018 2:42:58 PM(UTC)
Rank: Administration
Groups: Registered, Administrators

Posts: 8
Location: Hyderabad

If you want to add your custom applications inside OfficeClip, and want them to open in new window (popup) then follow these steps

1. You need to add a Web form (.aspx) inside OfficeClip Project, in my case I am naming it as OpenWindow.aspx


<%@ Page Language="c#" Inherits="OfficeClip.General.OCBase" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "https://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="https://www.w3.org/1999/xhtml">

<head runat="server">     <meta charset="utf-8" />     <title></title> <script type="text/javascript" src="https://code.jquery.com/jquery-1.11.3.min.js"></script>     <script type="text/javascript">     $(document).ready(function () {         window.open('systemtest.aspx',             'System Test',             "height=800,width=1260,toolbar=no,menubar=no,scrollbars=no,location=no,status=no");         return false;     });     </script> </head> <body id="Body" runat="server"> <form runat="server">     <h2>Content opened in new window</h2> </form> </body> </html>

2. Add the below code inside OfficeClip\App_Data\appmenus.xml 

<LeftbarItem appId="1001"             // NOTE: this number should be more then 1000
                    name="System Test"
                    fontIconCss="icon-oc-document leftBarIcon"/> // NOTE: these font icons are available on OfficeClip v10.6.4 or higher

Add this code inside one of the <Listbar> tag where you want to see this custom application

Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.