Questions tagged [url]

In computing, a uniform resource locator (URL) (originally called universal resource locator) is a specific character string that constitutes a reference to an Internet or Intranet resource.

Filter by
Sorted by
Tagged with
20
votes
4answers
92k views

How to get a file using SharePoint Client Object Model with only an absolute url at hand?

We have a database with absolute (full) links to SharePoint files. If a user wants to download or get checkoutstatus information about the file, our program needs lookup that information in SharePoint....
11
votes
3answers
52k views

How can I change URL of existing list?

If I create a list with a name like Project Risks it gives it a url like: http://myhost/mysite/Lists/Project%20Risks/AllItems.aspx. If I customize the list and then decide I want it call Project ...
11
votes
6answers
27k views

Create a link to “New Document” template link

I'm simply looking to create a link on my home page that goes directly to the button that you click to open a new instance of the template you created in your content type. If I described that wrong, ...
10
votes
6answers
786 views

What are the standard URL suffix views that every SharePoint professional should know?

There are certain lesser-known URL suffixes that can be quite useful in SharePoint, such as {PageUrl}?contents=1 for web part maintenance and {PageUrl}_layouts/UsageDetails.aspx for displaying ...
10
votes
2answers
2k views

how to open URL Field link in new window SharePoint 2013

I am using UrlField for link button,I want to open URL in new window. <SharePointWebControls:UrlField ID="UrlField2" FieldName="Link Button" runat="server"/> I have tried target="_blank" but ...
10
votes
1answer
1k views

Emailed HTML Rich Text Column Relative URLs

Does someone knows another "fix" for this? I am looking for a simple way. And how is this in sharepoint 2010? from http://rrfreeman.blogspot.com.br/2010/12/emailed-relative-html-rich-text-column.html ...
9
votes
2answers
30k views

Getting the URLs of the SharePoint sites, lists and list views using Managed Client Object Model

Let's say that I have created: A SharePoint site collection at http://mysharepoint/. A subsite of that site collection titled Team site at http://mysharepoint/teamsite/. A list titled My List at ...
8
votes
2answers
2k views

Custom URL for sharepoint Online

I have been reading around that it is not possible to change the default Sharepoint Site Collection Url eg. https://mycompany.sharepoint.com/ to something like http://mycompany.com. Is this still true ...
8
votes
4answers
4k views

URL Redirects (301/302) for Vanity/Friendly URLs

With Microsoft providing zero support when doing URL rewriting, what is my best approach for providing URL redirects? I'm not too familiar with the topic. The approach I've seen (a solution from a ...
7
votes
3answers
22k views

Get absolute URL to listitem's default display form

I need to have an absolute URL of a listitem's display form - currently I do it the following way: On http://example.com/: item.ParentList.ParentWeb.Url.TrimEnd('/') //"http://example.com" + "/" + ...
7
votes
4answers
15k views

How to get appWebUrl and hostUrl when getQueryStringParameter fails?

I have a sharepoint app with multiple .aspx pages. On different pages I push and pull from sharepoint lists and I would like to send emails. These require me knowing hostUrl and appWebUrl. I would ...
6
votes
2answers
3k views

Stop sharepoint from reformatting html

I have a site page where I am trying to add a link to a particular calendar in outlook web access. The URL is https://exchange.server.com/owa/sharedcalendaruser@mydomain.com/?cmd=contents&...
6
votes
2answers
6k views

SP2010 REST API from Javascript: how to set multiple fields to filter on in the URL

weird but i can't figure this out or find a solution anywhere.... I want to filter on two values on a GET in REST URL from javascript. So since this is from ECMA I am just using filtering in the url.....
6
votes
1answer
23k views

How to get the site and web url from a full url?

Let's have, for example, this url: http://corp.com/sites/project1/documents/forms/allitems.aspx. Is there an efficient way to analyse this full url to extract site and web url? The web application ...
6
votes
4answers
9k views

Relative URL for HTML links in Site Template

I have several links inside content editor webparts and on webpages that reference the site they are in. For example: <a href="/sites/ABC/page.aspx">Link</a> Site ABC is being saved as ...
6
votes
2answers
1k views

how to get site collection url from SharePoint Hosted App

I am trying to get site collection URL using _spPageContextInfo.siteAbsoluteUrl but it is giving output as https://domain.-a08083bbaacc988.sharePoint.com/sites/sitecollectionname but I want it ...
6
votes
3answers
12k views

What can be done about the long URLs?

I'm used to using wikis with short, predictable URLs: host+page name. Suddenly with SharePoint 2010 I'm confronted with long, apparently unpredictable paths to files. I was triggered on this today ...
6
votes
1answer
1k views

Modify SharePoint Online Site Collection URL

I have a SharePoint Online private site collection which have called https//myco.sharepoint.com/sites/coolthing_poc. Is there a way for me to rename it to https//myco.sharepoint.com/sites/coolthing ...
5
votes
4answers
215 views

URL rewriter and Sharepoint 2010

I have a url that uses https. My client would like to be able to avoid typing https everytime so i was looking in to using URL rewriter 2 to rewrite the URL so that http://x.com -> https://x.com ...
5
votes
3answers
2k views

How to use a vanity URL with Sharepoint 2010

We have a web application at x-x.com and a site collection at /sites/test (https://x-x.com/sites/test/) We have set up two vanity urls in our DNS so that in theory a user can type https://vanity1/...
5
votes
2answers
2k views

How to parse a SharePoint URL to get CSOM objects?

Let's say the only input I have from the user is the full URL to a folder in a Document Library called "Public Documents": http://intranet.contoso.com/SubSite/PublicDocuments/Folder/SubFolder/ Using ...
5
votes
1answer
729 views

Changing default URL breakes links in “Sites I'm following” and news feed

I have an upcoming change of default URL of a customer's production environment. When I've tried this in my dev environment I've run into a major problem with the "Following" functionality. There ...
5
votes
2answers
897 views

Is there a way to dynamically configure the remote webapp url of a provider-hosted SharePoint app?

In our scenario we are developing a provider-hosted app for SharePoint 2013. For each on-premise SharePoint installation there will be a separate (remote) web application with a different URL. Hence, ...
5
votes
1answer
875 views

Exclude 'SharePoint' URL from Search results

We have several documents with 'SharePoint' in the title but our Online URL also has sharepoint (https://***.sharepoint.com/). When users search for sharepoint, it returns all results because all ...
4
votes
6answers
4k views

My Sites Link in Search Resuls is Incorrect (Escaped)

I've setup MySites in SharePoint 2013 and created some test sites. Everything seems to be working well except on searching people. Using search center finds the person and the link's backslash is ...
4
votes
2answers
6k views

Difference between /teams/ & /sites/ URL paths when creating new site collections in SharePoint Online?

When creating a new site collection in SharePoint Online, I've noticed that you can choose either a "/sites/" or "/teams/" URL path when setting up the Public Website Address for the site collection. ...
4
votes
1answer
10k views

How to get SharePoint Online list url using Powershell?

I can retrieve a title $list.Title, but a title is not the same as url. In C# I can get list.DefaultViewUrl, which doesn't seem to be an option in Powershell. I found this solution with $List....
4
votes
1answer
2k views

Change URL description programmatically in list C#

I have this list with artists that I manipulate with C#. I can get all te values of the list with this code part and change SPListItem listItem = properties.ListItem; SPWeb artistWeb = properties.Web;...
4
votes
4answers
15k views

Get value of Hyperlink field in Sharepoint 2010 list item

I'm trying to get the value of a field of type "Hyperlink or Image" (currently set to "Hyperlink" in the column settings that is being returned as part of a Sharepoint 2010 ListItem. I'm using the ...
4
votes
1answer
1k views

Get url of document library from REST call

I am working with O365 SharePoint site where I need to get the name and URL for the document libraries in a site collection. I have made a rest call for it as: https://site/_api/web/lists and select ...
4
votes
1answer
1k views

Add document link to list item from a SharePoint workflow

I have a list workflow that creates a new document in a different library. This list has a column that will be used to save a URL with a link to the new document that will be created within the ...
4
votes
2answers
632 views

OR Condition in Query String SharePoint 2013

I use query string to filter SharePoint View =FilterField1TestField-FilterValue1TestValue-FilterField2AnotherTestField-FilterValue2AnotherTestValue. The above string performs AND operation between ...
3
votes
3answers
9k views

Get current page absolute url

I want to get the current page absolute url in sharepoint.. I'm using: this.Page.Request.Url.ToString() But for: http://e-albania.tirana.bz:6002/sites/ealbania02/_layouts/IISNewsBox/news_view.aspx ...
3
votes
2answers
12k views

Is it possible to get an SPList object with just a Url?

I have a url field that contains the url of a Discussion board that I will be creating a new item for. Thing is this discussion board can be in any site or web. So far I have two ideas but would like ...
3
votes
1answer
1k views

Pretty url in SharePoint

The url's on our intranet are pretty, i.e. http://intranet/test, but we want to show full path of the page, like this http://intranet/test/default.aspx I don't know why we get pretty url and have ...
3
votes
1answer
7k views

SharePoint 2010 URL limits not completely understood

My team and I are trying to test the limits of SharePoint 2010 - specifically around URL and path lengths. In our root web, we created doc library that contains a main folder with an arbitrarily long ...
3
votes
2answers
1k views

Top Link Navigation is not supporting link with Long url

I have main site with Top Navigation Menu created using Site Collection Settings > Navigation (under Look and Feel). I'm trying to add a long link to navigation links in Site Collection Settings > ...
3
votes
2answers
8k views

CustomAction: UrlAction to open link in a new window

I have added a menu item to the Personal Actions menu by creating a CustomAction like so: <CustomAction Id="myCustomAction" GroupId="PersonalActions" Location="Microsoft.SharePoint....
3
votes
1answer
143 views

Filter library by current user using url

so I know in the view editor one can add the option of filtering by [me]. My question, is is there any way to do this in the URL and not the view? I would like to keep the standard allitems.aspx, but ...
3
votes
1answer
229 views

REST document url

I'm using rest to develop an add-in, the URL looks like this: url: appurl + "/_api/SP.AppContextSite(@target)/web/lists/getByTitle('" + ListName + "')/items?$select=FileLeafRef,Modified,...
3
votes
1answer
4k views

Create Hyperlink or Picture Column with C# (Format URL as Picture)

I am creating a SharePoint list with C# and have created a "Hyperlink or Picture" field like so: myList.Fields.add("Icon", SPFieldType.URL, true); when I add an item to the list in SharePoint this ...
3
votes
2answers
3k views

How can I mask my url in Office 365?

How can I mask my url in Office 365? For example my team page for Office 365 is https://MYCUSTOMDOMAIN.sharepoint.com/_layouts/15/start.aspx#/SitePages/Home.aspx I used the wizard with godaddy and ...
3
votes
1answer
5k views

set separate url and description for URL-field via javascript

I've got a list item with a field of type URL. As you know, an URL-field consists of two parts: a description and a URL. Using javascript to update a field that consists of one part is easy, you ...
3
votes
2answers
698 views

SharePoint Web Application DNS mapping

I have created a Site Collection "Demo" on the Default "SharePoint - 80" web application. The web server IP is x.x.x.37 and the DNS entry for that is sp-apps.portal.com. How can I enable users to ...
3
votes
2answers
750 views

SharePoint decodes ampersand character and breaks the link

I am trying to make a link (in SharePoint) to a Power App I created, following this tutorial: https://docs.microsoft.com/en-us/powerapps/sharepoint-scenario-build-app A problem is that the "EDIT ...
3
votes
3answers
57 views

http://Something instead http://srvsp:18000/sites/Something

I just have been assigned to administer SharePoint My first assignment is to shorten the url of collections for example guys want to use http://Sales instead http://srvssp:18085/sites/Sales Is ...
3
votes
1answer
367 views

SharePoint URL Rewrite

I am stuck and having hard time solving the issue. If someone can help that would be really great! My scenario: I have one simple public web site (https://www.contoso.com/) hosted in IIS in Server A ...
3
votes
3answers
3k views

Sharepoint 2010 how to export item URL to Excel?

I have a list of 8 items in SharePoint 2010 and I export them to Excel. How can I export item's URL so that when clicking the link on Excel spreadsheet, it can bring me back to the item in ...
3
votes
1answer
3k views

URL query with multiple wildcards

I have a list and I need to do a search on an item given two fields: topic and community. Both fields can have more than one item and they're both text field fields from an infopath form: For ...
3
votes
2answers
2k views

Displaying Query String (URL) filter result on Page

I have a Query String (URL) filter on my SharePoint 2013 page that is currently passing a string parameter which I then use to filter a list. This list is displayed in a view on my web part page. I ...