RE: REPOST:Add listing tick box on 'Document Library:Upload Docume
From: Kevin (Kevin_at_discussions.microsoft.com)
Date: 09/29/04
- Next message: Jim: "IM icon/functionality"
- Previous message: Derek: "SharePoint:RelatedTasks"
- In reply to: Don Gertz: "RE: REPOST:Add listing tick box on 'Document Library:Upload Document'"
- Next in thread: Kevin: "RE: REPOST:Add listing tick box on 'Document Library:Upload Docume"
- Reply: Kevin: "RE: REPOST:Add listing tick box on 'Document Library:Upload Docume"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 06:47:03 -0700
Don
Thanks
However, if the tag is removed from the template upload.aspx page the same
problem occurs.
I will try adding the script you kindly gave me to see if I can get that to
work.
Many thanks for your reply.
Regards
Kevin
"Don Gertz" wrote:
> Kevin,
>
> You can try two things:
>
> 1. Remove the <XPSWS:SubmitLinkOnSTSUploadDocPage runat=server /> all
> togther from the page. This will remove the check box from the page.
>
> 2. You can add the follwoing javascript to uncheck the box below the
> </HEAD> tag:
> <script type="text\javascript">
> <!--
> window.attachEvent("onload",new
> Function("document.getElementById(\"submitlst\").checked=false;
> -->
> </script>
>
>
> Hope this helps.
> "Kevin" wrote:
>
> > Hi all
> >
> > Sorry for the quick repost but i have an urgency to resolve this matter.
> >
> > Apologies in advance for the length of this post.
> >
> > However, I would really appreciate some help on this matter.
> >
> > The 'Add a listing for this doucment' tickbox is ticked by default on the
> > 'upload document' page. Our requirement is to either have it unticked by
> > default or removed altogether.
> >
> > The reasoning behind this is that if this tick box is ticked by default,
> > listings for the document are not returned in search results. For example,
> > we add listings for the majority of our documents to 'topic' areas. This
> > creates large lists on the 'topic' pages. However, if a search is done on
> > the topic area for a specific list item it doesn't get returned in the search
> > results.
> >
> > I logged a call with Microsoft support and the reply from the development
> > team, was that this was the way it was intended, because if a user subscribed
> > to an alert for the document they would get two alerts one for the document
> > and one for the listing!!!!
> >
> > I therefore, looked at the code for this page in C:\Program Files\Common
> > Files\Microsoft Shared\web server
> > extensions\60\TEMPLATE\1033\SPS\LISTS\DOCLIB\Upload.aspx.
> >
> > At the bottom of the page is the following code:
> >
> > <SPSWC:SubmitLinkOnSTSUploadDocPage runat=server />
> >
> > I tried commenting out the code as follows:
> >
> > <!--SPSWC:SubmitLinkOnSTSUploadDocPage runat=server /-->
> >
> > However, this returned a not well formed server tag error.
> >
> > I then tried
> > <!--
> > <SPSWC:SubmitLinkOnSTSUploadDocPage runat=server />
> > -->
> >
> > The add listing tickbox did not disappear and this caused major problems no
> > documents could be uploaded as a blank page appeared after the 'save & close'
> > button was pressed.
> >
> > I Therefore removed the comment tags, however, the problem still occured.
> > In my limited knowledge I ended up having to do a complete uninstallation,
> > reinstallation of sharepoint and a restore from a backup (phew - luckily it
> > worked :) ).
> >
> > If the upload page for each document library is edited in Frontage 2003 and
> > the code is edited as follows:
> >
> > <!--SPSWC:SubmitLinkOnSTSUploadDocPage runat=server /-->
> >
> > Everything works fine, the add lising tick box is 'hidden' and there is no
> > lose of functionality.
> >
> > Why does it not return a 'not well formed server tag' error when it is done
> > this way??
> >
> > The problem with doing it this way is that it has to be done for every
> > document library that I have created and there are a lot.
> >
> > Also the issue of ghosted and unghosted pages becomes a problem.
> >
> > Any help would be greatly appreciated on this matter.
> >
> > Many thanks in advance
> >
> > Kevin
> >
- Next message: Jim: "IM icon/functionality"
- Previous message: Derek: "SharePoint:RelatedTasks"
- In reply to: Don Gertz: "RE: REPOST:Add listing tick box on 'Document Library:Upload Document'"
- Next in thread: Kevin: "RE: REPOST:Add listing tick box on 'Document Library:Upload Docume"
- Reply: Kevin: "RE: REPOST:Add listing tick box on 'Document Library:Upload Docume"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|