How can you have SharePoint Link Lists default to opening in a new window? - sharepoint

In SharePoint, it is easy to set up a List webpart consisting of Links to other documents, folders, sites, etc. Unfortunately, when clicking these links, the default behavior is for the page to open in the current browser window. That is, it does NOT open the page in a new instance of the browser. This has proven annoying for a number of the users on my site.
Does anyone know of a way to have the default behavior be to open in a NEW browser window?
I'm hoping this is something that can be set in SharePoint rather than having users need to adjust some sort of setting in their browser.

It is not possible with the default Link List web part, but there are resources describing how to extend Sharepoint server-side to add this functionality.
Share Point Links Open in New Window
Changing Link Lists in Sharepoint 2007

You can edit the page in SharePoint designer, convert the List View web part to an XSLT Data View. (by right click + "Convert to XSLT Data View").
Then you can edit the XSLT - find the A tag and add an attribute target="_blank"

The same instance for SP2010; the Links List webpart will not automatically open in a new window, rather user must manually rt click Link object and select Open in New Window.
The add/ insert Link option withkin SP2010 will allow a user to manually configure the link to open in a new window.
Maybe SP2012 release will adrress this...

Under the Links Tab ==> Edit the URL Item ==> Under the URL (Type the Web address)- format the value as follows:
Example:
if the URL = http://www.abc.com ==> then suffix the value with ==>
#openinnewwindow/,'" target="http://www.abc.com'
SO, the final value should read as ==>
http://www.abc.com#openinnewwindow/,'" target="http://www.abc.com'
DONE ==> this will open the URL in New Window

Related

SharePoint List Add New Button Does Not Open "New Item Form"

I was trying to edit the New Item Form in SharePoint and something went wrong (i.e. I made a mistake). Now, when I click the New Item button, the form no longer opens. When I open the list in Infopath Designer (which I only just learned about while trying to fix this) I can see the form, so it's not lost. It's just that the link is broken. We are using the 365 Cloud version of SharePoint. Any ideas on how to fix this f_up? THANKS FOR ANY HELP YOU CAN GIVE!
Do other browsers have this problem?
Try switching the page to the default SharePoint form in the Form Settings.Then clear your browser cache and refresh the page to see if that works.
You can create a new list view that looks exactly like this one, set it as the default, and see if the new view has this problem.

Edit Text in SharePoint Form?

Im new to SharePoint and have been asked to update some text on a form in SharePoint. I can’t figure out how to select and make the changes. When I select the web part that contains the form textboxes, buttons etc, there does not seem to be a way to select and edit the text. Anyone have any suggestions as to what I should try?
You can connect to your SharePoint site using SharePoint designer and do all the customization needed there.
Or you can add a content editor web part and inside its content just add a <script> tag and add some JavaScript that get the label you want to change and edit its content

List Search Box getting hidden in SharePoint 2013 List View WebPart

I am trying to add a list view webpart to my page in sharepoint 2013. I edited the webpart and checked 'Display Search Box' option in the miscellaneous section. But Once I finish editing and save the page, page refreshes and loads. But the search box is not coming at all.
I had a similar problem which occurred since I modified the styles inside the list view.
A few questions...
Have you modified the styles inside the view that webpart is using.
Is the list a new one or migrated?
Is this a Publishing site site or other?
You are using enterprise version or other?
Ensure you are using the Default style , any other style the search box does not appear

How to add content query webpart to publishing page layout?

How do you add a content query webpart to a apublishing page layout and configure it to aggregate content from the pages in the page library??Can some one give me some insight on this?? Do I drop a content query webpart in SP designer?? If I do that, how do I configure the query??
Or do I add a content query webpart using ribbon and then export it and make customizations and import and drop that one on the page layout??? Please someone???
SCENARIO: I have to insert a content query webpart to a publishing page layout for Physicians profile site. Based on the page layout, there will be profile pages for each physicians. Now, each physician's' profile page will have his/her primary practice location name, address, phone etc as well as other multiple practice locations. Say Mr Tom's primary location is listed as hospital 'x' on his profile page, now I want to be able to also aggregate the names of all the other lawyers that also work in hospital 'X' as Tom's office members on his bio page using content query webpart on the page layout. How do I add and configure the webpart? I mean it's easy to add a content query webpart in just one page and configure it but I want to add it on a page layout so all the content pages will have its implementation as the pages are created by the authors.
say there are 10 profile pages in the pages library and 5 of them have at least one of their pracice locations as hopital X(they may be working at hospital Y, Z..etc at the same time too), now I want all 5 doctors name aggregated on the Tom's profile pages as his office members!?
Lots of question marks... yes you can add the content query webpart to a layout by using SP designer. This will COPY that webpart to every page that is created using that layout (or has its layout switched to that one). That makes the query to set up tricky because it needs to get the input on WHICH physician from somewhere - check out this article here. Using the PageFieldValue option should do the trick.
To change a CQWP, don't modify the default version. Instead, navigate to your XSL file in the Style Library in SPD and copy the ItemStyle.XSL and rename the copy to something else (such as CUSTOMItemStyle.xsl). Then go to a test page, place a blank CQWP, and click "Export". Open the .webpart file that you exported and modify the properties to link to your CUSTOMItemStyle.xsl.
Save the .webpart file and import it back to the gallery through the browser. Rename the new CQWP (to something like CUSTOM_CQWP.webpart or whatever).
Now you can modify the CUSTOMItemStyle.xsl to use custom XSL. Shape the XSL file how your requirements dictate, then in your test page, change the Web Part properties to use your new custom ItemSTyle. Once your web part look like you want it to, you can export it again and then reimport it back into the gallery and all your settings will be saved.
Now you can go to Designer and add this web part to your page layouts. When the user uses that layout, the web part is already placed on the page and wired up accordingly. Additionally, by usign this method, they can change teh web part properties of the web part or even delete the web part altogether if they don't want it, without affecting your page layout.
http://msdn.microsoft.com/en-us/library/bb447557(v=office.12).aspx

View Page (DispForm.aspx) not associated properly for SharePoint list views

I've customized NewForm, EditForm and DispForm to allow users to create new, edit (with certain permission) and display service requests.
The forms work fine except in my views (e.g. Createbyme.aspx which shows all requests owned by me). Instead of pointing to my custom DispForm /[site]/Lists/[list_name]/DispForm_custom.aspx?ID=[request#], it links to /[site]/?ID=[request#].
Is there any suggestion for a fix?
I just answered this question in another post...
Restore NewForm.aspx file
To summarize,
Open the page and select the form control. Oen the propertis for that control and select the radio button "NEW ITEM FORM". After you save the page you can then select the page as a supporting file for the list and the setting will stick. Do not select the page as a supporting file first as the setting will not stick... ergo the order of your steps is important.

Resources