RE: About modifying the shortcut menu for list items

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Rahul Sakdeo (rsakdeoonline_at_microsoft.com)
Date: 02/03/04


Date: Tue, 03 Feb 2004 19:58:20 GMT

Hi Rachel ,

Make sure that you created a new site after modifying the onet.xml file .
This will only work the sites that have created after modifying the
onet.xml file (which basically points to your custom_ows,js files).
Existing site will have no knowledge about this attribute . CustomJSUrl
gets written to the dabase at the time of site creation only .

Hope this helps.

Thanks,
Rahul Sakdeo
Microsoft SharePoint Products and Technologies v2.0
microsoft.public.sharepoint*

--------------------
Date: Tue, 27 Jan 2004 17:14:11 +0100
From: DotNet-Force <dotnet-force@ilog.fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)
Gecko/20030624 Netscape/7.1 (ax)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Subject: About modifying the shortcut menu for list items
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <#8UKeCP5DHA.1804@TK2MSFTNGP12.phx.gbl>
Newsgroups: microsoft.public.sharepoint.windowsservices
NNTP-Posting-Host: out-of.ilog.fr 81.80.159.49
Lines: 1
Path:
cpmsftngxa07.phx.gbl!cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12.
phx.gbl
Xref: cpmsftngxa07.phx.gbl microsoft.public.sharepoint.windowsservices:8999
X-Tomcat-NG: microsoft.public.sharepoint.windowsservices

I am trying to modify the shortcut menu for a document library. Just to
find out how it works I simply followed the steps given in the SDK.
Instead of directly modifying the OWS.JS file, I put the method I want
to override in a Custom_ows.js file and I added the path to the
Custom_ows.js file with the CustomJSUrl attribute in the ONET.XML file.
And it doesn't work! The code inside the Custom_ows.js file is not taken
into account. I tried to directly modify the OWS.JS file and it is
working allright. But I find it better to put my code in a separate file.
Did I miss something? Is it a bug?
Thanks for your help!

Rachel



Relevant Pages

  • testing newsgroups
    ... I decided to move over to giganews since comcast is killing usenet in a ... I took a shortcut by modifying the properties on the ...
    (rec.arts.mystery)
  • Re: About modifying the shortcut menu for list items
    ... About modifying the shortcut menu for list items ... Hi Rahul, ... > Instead of directly modifying the OWS.JS file, I put the method I want ...
    (microsoft.public.sharepoint.windowsservices)
  • Re: testing newsgroups
    ... I took a shortcut by modifying the properties on the ...
    (rec.arts.mystery)
  • Re: testing newsgroups
    ... I took a shortcut by modifying the properties on the ... existing news account to change the server and password. ...
    (rec.arts.mystery)
  • Re: About modifying the shortcut menu for list items
    ... > Hi Rachel, ... > Make sure that you created a new site after modifying the onet.xml file. ... > I am trying to modify the shortcut menu for a document library. ... > Instead of directly modifying the OWS.JS file, I put the method I want ...
    (microsoft.public.sharepoint.windowsservices)