9
votes
Accepted
Is it possible to built a redirect link that redirects you depending on your user group?
You can use different ContentEditor (Script) WebParts for Each Group, set the Target Audience on each WebPart to match your groups.
Inside each Webpart add a script which sets a global _MyGroupName ...
7
votes
Accepted
How to retrieve list hyperlink field values?
Using JavaScript Object Model, if you need to retrieve value and link of a column of type Hyperlink then following methods are used.
get_description(): It will fetch the description of the link you ...
7
votes
Accepted
can i add a pre-set subject line in email links
Add ?subject= at the end of the mailto link and then add the subject line, replacing spaces with %20. So if you want an email link to go to [email protected] with a subject line that says "this is ...
7
votes
Accepted
How do I disable "Get a Link" & "Share"
You'll miss out of the Share part of SharePoint, but sharing can be disabled.
On the site collection you want to restrict:
Click on the gear and select "Site Settings"
Click on "Site Permissions" ...
6
votes
How to set hyperlink field with SharePoint Designer WorkFlow
To do this you need to use the build a dynamic string action. In it, you construct your url, description value information. Example, http://google.com, Google. The comma and space are important.
Then ...
5
votes
File:// hyperlink to a shared drive
I realize this is very late. The above did not work for me so this was my work around:
Create a shortcut to the network file
Upload the shortcut to a document library in the site it is being linked ...
5
votes
Filter Hyperlink field url using SharePoint REST API
This is the limitation of REST API Filter that it cannot filter the Hyperlink fields.
So whats the workaround?
You can use CAML with REST to achieve what you want.
The CAML query will be like:
<...
4
votes
Accepted
Dynamic link in left navigation menu
Yes, the Links in the QuickLaunch are static, but...
You can make a link to a static Redirect Page (or Custom APSX Page), where you extract the link to OneDrive and redirect to it with window....
4
votes
Accepted
In a Sharepoint List: Display an Image (field type "Hyperlink or Picture")
You almost got it. Set src attribute directly. src is just URL to an image, so why to use description at all. If you look at the rendered HTML code using Developer dashboard (F12) you will find that ...
3
votes
SharePoint 2013 - Remove the hyperlink from a lookup column in a list view
I know that this is two years later, but I found this question whilst looking for the solution, and I believe that there's a simpler solution just by using an example in Microsoft's documentation.
It ...
3
votes
Accepted
get hyperlink column from sharepoint online by CSOM (C#)
listItem["testhyper"].ToString() means you are casting your hyperlink column into string but you need to cast it into FieldUrlValue before using.
var hyperLink = (FieldUrlValue)listItem["testhyper"];
...
3
votes
Accepted
Add a hyperlink to a list item pointing to a folder that is NOT on a server (Shared folder)
Instead of K:/ try file://K:/
Or even better, find out the real address of the fileshare that you've got mapped to the drive letter K. When you go to your Computer and you see the K drive listed ...
3
votes
Accepted
Do doc hyperlinks not work in the Word WebApp in Chrome?
The answer I have found is that Chrome prevents hyperlinks from working in the Word web app unless you have the IETab extension installed in Chrome (and you are using it).
3
votes
Accepted
Expand text in SharePoint
As @Red posted it is working. I placed to Content Editor Webparts into a page and in the first I placed the HTML Code as this:
<div class="row">
<div class="img">
<a href="https://...
3
votes
Accepted
Create a hyperlink based on list columns in workflow
You don't have to go the CSR route but some JavaScript is required.
You already know the HTML in Calculated Column trick...
Let's extend that, the data you are after is in the global ctx object
...
3
votes
Accepted
why don't hyperlinks work in word documents
I dealt with this a while ago and found that it is an issue that has no real fix. For me, the hyperlinks worked when I was in Internet Explorer but not in Chrome, so I installed the IETab application (...
3
votes
How to increase the number of characters limit in hyperlink column type
You can't increase the character limit of the hyperlink column. But you have a workaround for it,
Add a Multi-Text column to your list
Edit the item that has long URL
Go to the Multi-Text ...
3
votes
Accepted
SP13: Link to Page on SharePoint Banner
I wrote the following code in a script editor that working properly.
<script>
function doredirect() {
//var x = document.getElementById("suiteBarLeft");
var x = document.getElementsByClassName(...
3
votes
Is there a way to edit which navigation links are seen based on permissions in 2013?
A navigation link on a SharePoint server can be targeted so that it
appears only to people who are members of a particular group or
audience. You need to have at least Design permission in order ...
3
votes
Accepted
Calculated column showing hyperlink in list not working in SharePoint 2016
Without a workflow
The ID is available in Table-Row HTML, so get that when you click the link:
="<a onclick=""{"
&"var TR=this;while(TR.tagName!='TR'){TR=TR....
3
votes
Accepted
Have Icon or Title open document
You can use the JS Link.
Add the following script to the JS file
(function () {
var docsCtx = {};
docsCtx.Templates = {};
docsCtx.Templates.Fields = {
'Title': {'View': ...
3
votes
Accepted
Adding a link to a document library in SharePoint 2010
You CAN add links to a document library. Here is how you do it:
Go to the document library's settings
Click on "Advanced Settings"
Set the "Allow management of content types?" to Yes and click on "OK"...
3
votes
Placing a hyperlink (to click on) for an attachment in list view
Please follow these steps to display attachments in new column.
Create a Multiple lines of text with rich text option column. Example I have created ‘ItemAttachments’.
Reason of creating it as ...
3
votes
Accepted
Hyperlink to SharePoint Library Folder
You should be able to add a folder path similar to how Windows does it, via the URL.
Instead of the url query at the end to select your root folder and path (the section after the ? in the url given) ...
3
votes
How to get the Alternative text for "Hyperlink or Picture" field Type in SharePoint online
Sorry for the short answer, but this is how you get the URL's description:
ctx.CurrentItem["URL.desc"]
2
votes
How to retrieve list hyperlink field values?
string strurl = ((Microsoft.SharePoint.Client.FieldUrlValue)(item["destinationURL"])).Url;
Using CSOM, Convert the item to a FieldURLValue and then get the URL from that object
2
votes
Remove link border from around image
Add a Content Editor Webpart to the affected page. Edit the HTML for the webpart. Paste in the following text:
<style>
a img {border:none}
</style>
This will remove borders from all ...
2
votes
Remove link border from around image
Within SharePoint Designer right click on the image's web part and select picture properties, select appearance and change border thickness to 0 and the blue border disappears.
2
votes
Accepted
Hide Title column links in the print out
Media print CSS does the trick.
@media print {
a[href]:after {
content: none !important;
}
}
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
hyperlink × 438sharepoint-online × 77
2013 × 50
list × 50
2010 × 37
document-library × 32
sharepoint-enterprise × 27
url × 25
javascript × 23
sharepoint-designer × 19
document × 19
sharepoint-server × 18
navigation × 17
workflow × 16
web-part × 12
list-view × 12
calculated-column × 12
excel × 12
infopath × 11
email × 10
word × 10
wiki × 10
development × 9
office-365 × 9
column × 9