Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [outputlink]

The tag has no usage guidance.

0
votes
0answers
11 views

How to use Outputlink to display Contacts next to Accounts

I created a visualforce page to display the contacts of an account in a div next to a pageBlockTable when the account is selected it will display it's contacts linked to it. This is the VisualForce ...
1
vote
1answer
317 views

Visualforce - Output link to URL field - Finicky behavior

I have the following code referencing a URL field on the object. As long as the address in the field is typed with the leading address info like "http:www.cnn.com" the code works just fine however if ...
0
votes
1answer
21 views

Display account details on new tab

for displaying account or opportunity details on new tab i used link but tht was hard-coded, so i want it should be dynamic.plz someone help me. 0}"> <apex:column headerValue="...
0
votes
1answer
54 views

Outputlink's value with If statement

Within my Wrapper Contact's list, I do have Contact records without Accounts. I wanted to have a condition such that the account label is clickable only when there is an Account to that Contact record....
0
votes
1answer
174 views

Reference custom field instead of Name in outputlink

I have an outputlink in visualforce page that uses a custom field as a display name of link instead of Name field. Link successfully displays when Name is used. However, I tried using other custom ...
1
vote
1answer
128 views

Get Count of Clicked OutputLinks Attached to an Object

In standard NewObj1__c page layout, I inserted a visualforce page that displays links of all related NewObj2__c records. For example, in one NewObj1__c record, these are two related NewObj2__c links ...
1
vote
1answer
277 views

Update Field On Click of OutputLink in Visualforce

I have a link referencing one contact record in Visualforce page. On click of the said link, a number field from Contact object must be equal to 1. But field is blank each time I click the link. ...
1
vote
1answer
88 views

outputlink to salesforce 1 app page

I have a simple visualforce page that is a list of links that redirect to app pages. All the links work fine in lightning experience, but I get the following error when I try to open it in salesforce ...
0
votes
1answer
540 views

how to show a particular record with outputlink? [closed]

i have a custom setting and want to show a record from vf page that when click on that link it will direct redirect on the record rather than go from the setup. Here i have tried 'vf page <...
0
votes
1answer
112 views

Visualforce apex:outputlink Chrome to Internet Explorer

Any one know how to open a folder link from chrome in Windows Explorer/Intenet Explorer? Our users use Chrome and need to open a network drive from their Salesforce. to get more flexibility, I used a ...
-1
votes
1answer
254 views

Redirect Standard Edit page [duplicate]

I have Created visualforce page and using pageblocktable shown contact list of record and every row we have a Edit link and want to redirect to their Standard edit page(contact). <apex:outputLink ...
0
votes
0answers
73 views

Getting error when trying to pass a parameter with apex:param

When I click on a tab I also want to update the pageNumber custom string on my controller, but I'm getting this error: Uncaught Error: Syntax error, unrecognized expression: #tab3?1=3 ...
0
votes
1answer
34 views

Download Counter

I have a page with a list PDFs which can be downloaded. Can I count how often a pdf was downloaded? I tried to solve this problem like PAGE: <apex:actionFunction name="redirect" action="{!...
0
votes
0answers
324 views

Return to same page after pagereference

I am having a VF page that generates content as excel, which I am calling from another page as a commandLink. The problem I am facing is when I click the commandLink, the current page becomes blank. ...
1
vote
2answers
89 views

Redirecting to a List View is not working: “URL doesn't exist anymore”

I am trying to redirect to a specific List View on top part of the application, but I am not getting how to amend the issue "There is no URL for this", so, I hope to find here someone who can help me. ...
0
votes
1answer
126 views

how to make a column containing parent records an output link

<apex:page standardController="contact" recordSetVar="conList" sidebar="false" > <apex:form> <apex:pageBlock title="Contacts" > <apex:pageBlockButtons> <...
0
votes
1answer
564 views

How to download file in visualforce page whose path is stored in a field?

I have a 'document' object in which i have a URL field 'document_URL__c', this URL field have public site and the attachment id. for eg: 'pxx-pxx.cs5.force.com/servlet/servlet.FileDownload?file=...
1
vote
1answer
505 views

Resize Outputlink as Button

I formatted an output link as a button and now want to resize, but "width" in the css or as inline style does not resize my button to be the same size as the command button used in the same table ...
1
vote
0answers
30 views

Show the remote site page(standard) on VF Page.I have used the metadata API for my page

I want to show the remote site setting creation page on a VF Page. So i used : <apex:outputLink onclick="window.open('https://ap4.salesforce.com/0rp/e?retURL=%2F0rp%3Fspl1%3D1%26setupid%...
0
votes
1answer
81 views

value not updating from upsert

when click on edit outputlink text show in inputfield work fine but when save record its create new record instead of updating. how can i update record if id is already exists. my whole code of class ...
0
votes
1answer
63 views

click on edit outputlink row text show in existing inputField

when click on the edit outputlink row text data show in my inputField --------------class---------------------- public class populationController{ public List<population__c> stateList{get;...
2
votes
1answer
2k views

when click on edit button record show in edit mode on another tab

when click on edit button need to open record in next tab in edit mode its opening my page but its not in edit mode format <apex:outputLink value="/apex/Population/?id={!st.id}" target="_blank">...
0
votes
1answer
18 views

How to use outputLinks to display and navigate dates

I have two outputlinks to show previous/next Date on a page. But it appears like whichever one gets declared first takes priority and the other one does not render. i.e. it doesn't change the dates. ...
1
vote
3answers
118 views

How to take an Input value & pass it to a outputlink

I have a very simple requirement which is to create a page in Visualforce. Take a value input by user & then pass the value to be used as a filtering criteria in a report in an outputlink. There ...
0
votes
1answer
2k views

How to display formula field in VF?

Below is the formula that i have created on Formula text field: if( ISBLANK(Key_Account_Relation__c ),"No Report", HYPERLINK("/00O8E000000P88P?pv0="& Key_Account_Relation__r.AccountGroup__r.Name ,...
0
votes
1answer
465 views

Rerender a vf page from a link

I'm working on a vf page that was developed last year by a developer who's no longer here. The page is a custom contact related list that displays Contacts related to the Account but with more ...
1
vote
1answer
97 views

Format field in apex:outputLink

I need have the Amount field formatted like ${0,number,##,##0.00} in the URL within outputLink. How can this be written? <apex:outputLink value="http://www.bjp-studios.com/submit-payment/?tfa_6={!...
3
votes
1answer
4k views

ui:outputURL tag is not working as expecting

<table id="contactsTableId" class="slds-table slds-table--bordered slds-table--cell-buffer"> <thead> <tr> <aura:iteration items="{!...
1
vote
0answers
124 views

Visualforce page behaviour in mobile device

I have a visualforce page which I have embedded in a section of a page layout. This visualforce page has a link to a record detail page. I am using this page layout in mobile device too. In web ...
3
votes
1answer
85 views

Pass Report Criteria (picklist value) with links in VisualForce

I am passing report criteria in a VisualForce page with an outputLink. It works fine where i pass a blank / true / false but when i pass a picklist value, the value does show up in the report filter ...
1
vote
2answers
502 views

Apex OutputLink

I am trying to generate a basic apex OutputLink however the record Id is being displayed in the Visualforce Page Component instead of the record name. How can I correctly format the url to display ...
1
vote
1answer
125 views

VF Page output link not rendering correctly

I am outputting a table from a list in my controller using apex:repeat. In one of my columns, I want to have a link that will open the record for detail view I want a link like this https://www....
1
vote
1answer
65 views

How to shuffle on images using output link and pass value to controller

I have a requirement. I have 4 images (or) icons on my VF page. I have a NEXT and PREV buttons. So it is like, based on a {!level} value These images gets highlighted from step 1 .. step 4 based ...
5
votes
1answer
887 views

Image inside hyperlink not working in Visualforce page rendered as PDF

I am trying to create hyperlink in PDF using visualforce renderAs = "pdf". Actually I don't want the simple link i.e. text link, instead of text link I want image icon and on click of that icon/image ...
1
vote
2answers
218 views

Differ single click and double click (outputLink & inlineEdit)

I am trying to something special on a Visualforce page. I got a record name on a visualforce page and I want to open the record with a single click on this name. No problem with apex:outputLink. ...
2
votes
1answer
335 views

OutputLink in a list only works for last link

I have a very simple Visualforce page. It is not using a controller, it is mostly a splash page. I wanted to use outputlink tags in a list. I'm using CSS styling to determine how my headers look, and ...
2
votes
2answers
598 views

Trying to add delay in outputlink onmouseover

I'm trying to add a 1 second delay when user hovers over an outputlink. For now window.open triggers an immediate popup of a window. Here's what I tried to delay for 1 second.. 1st Attempt: <...
0
votes
2answers
921 views

Onmouseout event not working

I'm trying to show an iframe onmouseover event and close that iframe onmouseout. Onmouseover is working but not the onmouseout event. Here's what I have tried.... <apex:outputLink value="...
3
votes
1answer
11k views

Adding multiple conditions in rendered argument

I have a link that I want to display when Category = 'data1' AND Custom URL = 'data2'. I know how to do this with only one condition, how can I do this with two conditions? <apex:outputLink value=...
2
votes
2answers
11k views

Refresh whole visualforce page on Save Method

I have a visualforce page with an apex:component in it. (This component is for headers, used in various other places). The component has an outputLink with actionSupport. OnClick of this Link, I have ...
0
votes
1answer
42 views

Need help with Outputlink format

This is in continuation of this question I asked earlier. I have a field carrier_website__c which contains URL starting from https, http and www. But Salesforce appends its own URL in front if the ...
4
votes
1answer
477 views

How to avoid “https://na32.visual.force.com/apex/vfpage” being added to output site link

I'm trying to avoid https://na32.visual.force.com/apex/vfpage that is being added to the website that is already stored in field carrier_website__c. carrier_website__c has values like the following: ...
0
votes
1answer
73 views

Link unresponsive in Salesforce1, is target attribute to blame?

I have the following in a page in an S1 app: <apex:outputLink value="/apex/temp_pageTwo" target="_parent"> </apex:outputLink> In my browser and on Android and iPhone, it works fine. ...
4
votes
2answers
602 views

Rerendering OutputLink with block elements inside of it

Whenever I try to rerender an outputpanel with an outputlink inside of it that has a <div> ( or other block elements ) inside of it, the <a> gets closed on rerender. Instead of <a ...
1
vote
1answer
844 views

What is the Outputlink value to navigate to User Detail Edit page?

Need some pointers from you, I have a custom "status__c" field in users. In a VF page i need to display User name and Status fields, That has been done. Now the thing is that, when an outputlink for ...
2
votes
1answer
712 views

Link in Salesforce1 loads non-mobile page

I have a visualforce page that I'm running in Salesforce1 on my Android phone. The page is a simple list of Campaign objects. Each Campaign in the list has a link to the associated Campaign record. ...
0
votes
1answer
55 views

random <a> tags generated with outputLink through component

My component looks as such: <apex:component layout="none"> <ul class="chatter_links"> <li class="like"><apex:outputLink value="#"><span class="glyphicon ...
2
votes
1answer
800 views

URLFOR statement in outputLink to direct to object creation page [duplicate]

So I want to put a button on a visualforce page that when pushed it will redirect the user to a new custom object page. However, this custom object has 4 various Record Types. I can construct the ...
2
votes
1answer
1k views

URLFOR Action to New Object for specific recordtype

I have a custom object that has various record types. How would I construct URLFOR statement to take me to the new action for a particular record type? URLFOR($Action.Relationship_Detail__c.New) The ...
1
vote
1answer
435 views

Trouble with Delete Action

So I have an outputLink that is styled to look like a button. It is essentially a delete button so whenever it is pushed a selected custom object (Relationship_Detail__c) is deleted. The button ...