Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Document popup window

  Asked By: Candice    Date: Nov 01    Category: Sharepoint    Views: 2927

Document libraries after doing a search I want the
documents to pop up in a new window...anyone have an
answer to this issue or encountered this issue and
come up with a remedy.



19 Answers Found

Answer #1    Answered By: Deana Lowery     Answered On: Nov 01

If this is Portal Server search  then you can tweak the SearchResults Web
Part to allow this to happen.

First you need to edit the search.aspx page - do so by entering
http://<server>/search.aspx?mode=edit&pageview=shared into your browser
which will result in you being able to modify it just like any other web
part page.

Next design the page and export the exiting Search Results Web Part.
This will create you a text file (.dwp ) that you can then modify. This
file defines all the properties of the Web Part.

Edit the resulting file and add the following to it:-


Now Re-import this as a Web Part and drag it onto the search.aspx page
and you should be all set (you will also want to delete the original Web
Part from the search.aspx else you'll have two sets of results

Answer #2    Answered By: Felecia Goff     Answered On: Nov 01

Yes truly an Awesome...I got applause from as far as
France away...Thank you so much.!!!

Answer #3    Answered By: David Scott     Answered On: Nov 01

If anyone wondering where to add Kevin's code in the .dwp file. I put the
code just above <GroupByList...
tag. Works fine for me.

Answer #4    Answered By: Lakeshia Gould     Answered On: Nov 01

I need this pop  up "new windows" for documents in a
group listing...I know this is not new ...???

Please let me know if anyone has done this...???

Answer #5    Answered By: Lizbeth Macdonald     Answered On: Nov 01

Don't know about doing that explicitly but I did want to mention that
you can control how files open via a client side setting that is
unrelated to SharePoint. Doing the following should mean that anywhere
there is a link to e.g. a .doc it will open in a new browser window.

To set it up just use Windows Explorer/Tools/Folder Options/File Types,
select the file type and hit the Advanced key. From here uncheck the
Browse in Same window  box.

Answer #6    Answered By: Cole Curtis     Answered On: Nov 01

Great idea but my view in same window  is already
unchecked...and still on SharePoint when displayed is
embedded this will be Plan B for clients when they
come to the website.

I need Plan A ...and I am sure someone out there has
had the same issue. So basically I need a new browser
window when they view a pdf, html or any other
document in a "new window"

Again thanks for the tip and looking for something on
the server
some modification of the "grouped listings" web part.

Answer #7    Answered By: Debbie Snow     Answered On: Nov 01

You must know how I can
programmically or anyother way change the "Grouped
Listings" web part to pop  a document  in a new

I know there are so many facets of SharePoint. If you
get a chance and can think of anything please let me

Answer #8    Answered By: Adalberto Merrill     Answered On: Nov 01

one of those useful little features that I'd
never find on my own.

Answer #9    Answered By: Lynsey Carver     Answered On: Nov 01

I tried doing this, but the check box "Browse in same window" is
disabled.( Though it is unchecked). But any reason as to why it is so?

Answer #10    Answered By: Richard Allen     Answered On: Nov 01

I had the same exact problem..no pop  up

Answer #11    Answered By: Ian Davis     Answered On: Nov 01

I found a way but I need to know CAML

Answer #12    Answered By: Jagjit Hui     Answered On: Nov 01

I found a way but I need to know CAML does anyone know
the best book for learning this language.?????


This is the contents of the file on the server

<HTML><![CDATA[<A HREF="]]></HTML><Column

This is what they are asking you to change...it does
not match up in contents: ><![CDATA[">]]></HTML>


The only way to modify the functioning of a list
across all sites is to
modify the
FLDTYPES.xml file.

The modifications have been done in CAML and are made
directly to the


1. Open FLDTYPES.XML in your webserver extensions

2. Search for the following line: <Field

3. Scroll down to the <Switch> statement containing
the Cases (i.e.
<Switch><Expr><Property Select="Format"/></Expr><Case
Value="ImageLink">, etc. )

4. Right before the end of the <Switch> statement,
look for the
<Default> rendering
which looks like this:

<Case Value=""><Column
<Default><Column2 HTMLEncode="TRUE"/></Default>

5. Replace it with the following:

<Column HTMLEncode="TRUE"/>
<HTML><CDATA>" target="_blank"></CDATA></HTML>
<Case Value=""><Column
<Default><Column2 HTMLEncode="TRUE"/></Default>

6. Reset IIS and now all of your current link list
items will open in a
new window.

Answer #13    Answered By: Alton Vance     Answered On: Nov 01

I havent found a good book on CAML, but there is a Schema (XSD) you can use on
CAML that might help a little.


Answer #14    Answered By: Sydney Lewis     Answered On: Nov 01

I saw this mail thread and tried same on our SPS 2003 installation.

The links sure open in new window  except the fact that after
modification, the search  results do not show individual's photo, whereas
the original web part shows the photo.

Any ideas why?

Answer #15    Answered By: Jayme Raymond     Answered On: Nov 01

I have no idea why...where are the items coming from that show photos?
The profile? A contact list or...???

Answer #16    Answered By: Devika Bellad     Answered On: Nov 01

The photos are coming from "My Site" -> (Actions) Edit Profile -> path
of picture URL (in my case, I have uploaded all staff photos on a portal
document library and made the mapping here).

The original search  web part displays photos nicely, but not the
modified one?

Answer #17    Answered By: Diego Paul     Answered On: Nov 01

Now that we are moving into AD anyone know how to
implement the Active directory organization
hierarchieal view.

Answer #18    Answered By: Denis Cantrell     Answered On: Nov 01

Now that we are moving into AD anyone know how to
implement the Active directory organization
hierarchieal view.

Answer #19    Answered By: Sarita Patel     Answered On: Nov 01

I have a sort of relate question.

If I want to use the profile page for each employee to add a photo, how do
I do so if I don't want the employee to have access to their MY Site page.
I just want the photos to appear when people do a drilled down PEOPLE
search. All administration will be done by one group or person.

Didn't find what you were looking for? Find more on Document popup window Or get search suggestion and latest updates.