Questions tagged [outputlink]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
109 views

output panel is showing error while saving visualforce page

I have added text and hyperlink based on the if condition but it is showing error The element type "apex:outputpanel" must be terminated by the matching end-tag </apex:outputpanel> but it ...
cloudZigZag's user avatar
  • 1,366
-2 votes
1 answer
680 views

The value 'null' is not valid for operator '>' Error is in expression

Receiving below error in Apex:OutputLink In my code Im trying to redirect to following dashboard Link. <a href="sfdcloginurl/apex/competencyDashboard?id={!accountList[0].Id}" target="_blank"...
Annappa's user avatar
  • 2,312
0 votes
0 answers
151 views

apex:outputLink attribute "disabled" not working?

I'm trying to get output links while using the disabled attribute, but my page is still rendering them as anchor tags, not spans as the salesforce documentation says it should be. Code is as follows: ...
Christopher Carlson's user avatar
1 vote
1 answer
1k 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 ...
Matt M's user avatar
  • 1,473
0 votes
1 answer
27 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="...
Radhe's user avatar
  • 104
0 votes
1 answer
437 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....
Arnold Jr.'s user avatar
  • 1,491
0 votes
1 answer
374 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 ...
curdual's user avatar
  • 315
1 vote
1 answer
315 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 ...
asdfg's user avatar
  • 137
1 vote
1 answer
1k 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. ...
curdual's user avatar
  • 315
1 vote
1 answer
123 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 ...
crashzilla's user avatar
0 votes
1 answer
2k 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 <...
SFDC_USER's user avatar
  • 124
0 votes
1 answer
281 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 ...
cloudit's user avatar
  • 31
-1 votes
1 answer
587 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 ...
cloudZigZag's user avatar
  • 1,366
0 votes
0 answers
97 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 ...
Json's user avatar
  • 1,587
0 votes
1 answer
124 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="{!...
peXeq's user avatar
  • 451
0 votes
0 answers
520 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. ...
yeselkay's user avatar
  • 321
1 vote
2 answers
507 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. ...
user avatar
0 votes
1 answer
422 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> <...
Mohit Joshi's user avatar
1 vote
0 answers
44 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%...
Himanshu jasuja's user avatar
0 votes
1 answer
408 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 ...
cloudZigZag's user avatar
  • 1,366
0 votes
1 answer
81 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;...
cloudZigZag's user avatar
  • 1,366
2 votes
1 answer
3k 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">...
cloudZigZag's user avatar
  • 1,366
0 votes
1 answer
20 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. ...
saint's user avatar
  • 307
1 vote
3 answers
391 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 ...
Ben's user avatar
  • 43
0 votes
1 answer
4k 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 ,...
SFDCDJ's user avatar
  • 1,824
0 votes
1 answer
1k 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 ...
Dan Wooding's user avatar
  • 3,488
1 vote
1 answer
142 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={!...
Ben Jones's user avatar
3 votes
1 answer
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="{!...
Naresh's user avatar
  • 85
1 vote
0 answers
248 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 ...
SfdcBat's user avatar
  • 4,761
3 votes
1 answer
102 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 ...
KarinG's user avatar
  • 31
1 vote
2 answers
1k 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 ...
SFDC-ThEq's user avatar
1 vote
1 answer
252 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....
Our Man in Bananas's user avatar
1 vote
1 answer
71 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 ...
AjaySFDC's user avatar
  • 618
5 votes
1 answer
2k 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 ...
Mahesh's user avatar
  • 107
1 vote
2 answers
252 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. ...
David Renz's user avatar
2 votes
1 answer
419 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 ...
mpusto's user avatar
  • 557
2 votes
2 answers
2k 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: <...
MnZ's user avatar
  • 3,152
0 votes
2 answers
2k 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="...
MnZ's user avatar
  • 3,152
4 votes
1 answer
16k 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=...
Deployment Failure's user avatar
0 votes
1 answer
46 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 ...
MnZ's user avatar
  • 3,152
4 votes
1 answer
513 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: ...
MnZ's user avatar
  • 3,152
0 votes
1 answer
82 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. ...
Daft's user avatar
  • 2,661
4 votes
2 answers
686 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 ...
Jacob Raccuia's user avatar
1 vote
1 answer
999 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 ...
AjaySFDC's user avatar
  • 618
2 votes
1 answer
775 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. ...
Clint's user avatar
  • 63
0 votes
1 answer
56 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 ...
Jacob Raccuia's user avatar
2 votes
1 answer
1k 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 ...
Louis Pujol's user avatar
  • 1,235
2 votes
1 answer
2k 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 ...
Louis Pujol's user avatar
  • 1,235
1 vote
1 answer
471 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 ...
Louis Pujol's user avatar
  • 1,235
1 vote
2 answers
128 views

More generic action command

I have an apex:outputLink that redirects to an Account detail page, selectedId is the Account Id, eg: <apex:outputLink value="{!URLFOR($Action.SObject.View, selectedId)}" //pseudocode example ...
Louis Pujol's user avatar
  • 1,235