Questions tagged [url]

referring to the web path url or uniform resource locator

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

How can I add Opportunity ID to another page reference

I am trying to pass opportunity Id from one class to another class and I thought of doing it through URL , but I dotn know how I can add that Opport Id to this page PageReference opptyPage = new ...
11
votes
2answers
2k views

How to use a strong URL-aware navigation/routing pattern in Lightning?

I've asked a similar question already for Lightning Communities. This question is about the same requirements, but in general. There are many different containers (or environments) for lightning ...
2
votes
2answers
1k views

redirect to List view after deletion using custom button

Good day everyone. I am trying to create a custom delete button which is similar to standard delete button(although there are few added functions). How do I redirect the page to list view after ...
0
votes
1answer
688 views

Shorten the Salesforce.com site URL

I have installed Salesforce for Social media app from app exchange. Not I am using it to reply to twitter to the users. In that reply I am asking them to fill-up a form, whose link is given in the ...
2
votes
2answers
550 views

Opening iOS app from Salesforce1 App (v7.3.1)

I'm trying to open custom url scheme iOS app from Salesforce1 app. Previously it was opening fine but since v7.3.1 release i cannot open external app anymore. Instead of opening app it opens ...
0
votes
1answer
61 views

How can i open a window with different URLs depending of a value

First of all thank you for ur help. Ok. What do I have? When the user clicks on "Generar Albarán Entrada" it opens a new window showing some info. I have done that window and that is not a problem. ...
4
votes
0answers
255 views

HTTPS displays “site under construction” - Manually remove S and it works yet URL is still HTTPs

Can anyone confirm that what I am seeing is "expected" or is there a bug... Scenario: Site configured in a sandbox instance requiring HTTPS Code set page reference to https://sitename Sites shows ...
6
votes
1answer
2k views

Get all Community urls in Apex

The title is pretty much self explanatory, but I wanted to know if there is a way by which I can access all Community urls provided I have proper permissions set. I already looked at Network class ...
0
votes
1answer
94 views

Issue while retrieving access_token from call back URL inside Apex

Currently I am trying on oAuth2 user-agent flow between two SF orgs. Referring https://help.salesforce.com/HTViewHelpDoc?id=remoteaccess_oauth_user_agent_flow.htm&language=en_US guidelines. I am ...
2
votes
1answer
592 views

Parameter passing issue in salesforce1 app

I am passing a parameter from vf page A to page B through URL and getting it on controller of B.It is working when I tried in browser.I created a app for salesforce1 and when I run it ,I am not able ...
0
votes
0answers
338 views

Passing a record type via a link

I am using ClonePlus, and I want to pass a record type along with my button link. /apex/ClonePlus?id= {! Product2.Id }&{!Product2.RecordType}='Configuration'&childobjecttypes=...
3
votes
1answer
291 views

Getting error when clicked on preview for lightning

I am working with lightning. This is first time I am trying it out. I have create a app, apex controller and js controller. I am just trying to get some information form my accounts and want to ...
5
votes
2answers
2k views

Navigating to a lightning app--what's the URL?

How would one navigate between lightning apps using the Salesforce1 javascript functions? I see actions for navigateToURL and navigateToSobject, etc, but not NavigateToLightningApp?
1
vote
2answers
133 views

Setting default URL parameters on view page

Is there a way on an overridden page to specify certain URL parameters? Specifically, I'm looking to set the "rowsperlist" for a related list. This is how I'd like the overridden URL to look for a ...
0
votes
1answer
3k views

how to pass parameters in return url and get back them to callee page on return

I was sending parameters in return url in pagereference ref=new PageReference('/ui/content/ViewAllAttachmentsPage?id='+id+'&retURL=/apex/CustomTicketsave?id='+id+'&se='+se+'&idValEntr='+...
5
votes
1answer
572 views

Issue with URL Parameters not decoding during Test Methods

Typing the URL into the browser with the following params: rec=atWAzwsBvm3hyWrApj4mBo0BsaasxAmfySPTrXZxNVbdPIMHXr1FfVg2Fhoa%2B7FY NOT During a test method executing the line: system.debug(...
1
vote
3answers
4k views

Concat and additional parameters

I need to create a url with Concat function, but also I need to add to this link additional parameters set in the email properties. Therefore, I placed the URL not in the AMPscript block, but in the a ...
2
votes
1answer
506 views

Send-email to an email of a Custom Object (not a Contact's email)

I am on an Account page. I put a "Send email to External Agent" button. Behind this button there is a page connected to a controller: public with sharing class emailToAgenteEsterno{ public Case c;...
4
votes
1answer
743 views

security considerations while using url parameters in soql as bind variables

on most of our pages, we have some url parameters. we use these parameters as bind variables in various SOQL queries. is there a common pattern we can use which takes care of security issues.
1
vote
1answer
2k views

Encrypting URL parameters

We want to encrypt / encode URL parameters on our pages. What is the best way to achieve this in apex, visualforce. Most of our methods in controller are Remote Actions used via Visualforce remoting.
4
votes
3answers
252 views

Access field Information in a URL button

Why does this not work within URL buttons: /XYZ/e?{!$ObjectType.myObject__c.fields.myField__c}=what+Ever I know XYZ can be replaced by {!$ObjectType.myObject__c} but why can I not go further? Edit:...
1
vote
1answer
436 views

What is the URL parameter for setting number of rows in a standard list view?

By "standard list view", I mean the page you get when you enter the three-character object prefix after the Salesforce URL. Normally, there is a rowsperpage parameter that lets you set the number of ...
1
vote
1answer
696 views

Custom button to set a static boolean variable of another apex class [closed]

I have a class public with sharing class V_SAMPLE_CANCEL { public static boolean isSampleCancel = false; } and a custom button Submit on a custom object Sample_order__c with Button or Link URL : {...
3
votes
1answer
318 views

Trigger Ready Flow /Process Builder to open record in edit mode (URL/e)

I would like to use an auto-flow (ie. not use a button, but use trigger ready flow /process builder to auto-launch a flow) to open up a current record in Edit mode. Ie. Hack the URL so that the URL ...
2
votes
1answer
1k views

Workaround for URL Hack to prepopulate fields on standard page layout

As URL Hack is not Officially Supported by Salesforce. Is there a workaround for this without overriding standard pages with visualforce page or Ajax ToolKit? For example, if you click on the "New ...
0
votes
3answers
40 views

return url asking for login details?

Hi I have the below URL the return argument at the end is successfully retuning the user to sf and to the opportunity but it is asking for login details each time How can I stop this? http://...
3
votes
2answers
94 views

Is there a way to have APEX field values written to a page unescaped

I would like to do this, have escape false... <apex:outputText value="{!myUrlField}" escape="false"/> ...when I am using a bracketed call: {!myUrlField} Specifically, this is for writing ...
3
votes
1answer
1k views

Referencing Static Resources URL in AngularJS App

I need to use some icons in static resources in an ng-grid table. I wonder what is the best way to make use of the platform's url resolving. If I put the code src="{!URLFOR($Resource. in Javasript ...
2
votes
2answers
4k views

URL Encoding in Apex - PageReference to Merge Accounts

Following to my previous question - Merge Accounts based on Account Number. I have written a Visualforce page with a selectable table list of Accounts. When selecting the accounts and pressing the ...
4
votes
1answer
7k views

How to pass parameter from custom button & open a vf page?

I want to pass the Quote Id to the controller on click of a custom button & open the vf page called Select Product. Currently i'm using this code:- apex/SelectProduct?id={!Quote.Id} I have kept ...
1
vote
1answer
746 views

How to redirect SFDC URL clicked outside SFDC to open as a primary tab in Salesforce Console if user has an active session in Salesforce Console?

While waiting for my Idea Open Salesforce URLs in emails, chats, etc. in existing Salesforce Console to gather 10k votes, I'd like to understand how best to force a Salesforce URL clicked from an ...
0
votes
2answers
92 views

How can I put a clickable URL in my VF page

if I gather the url of a record that I want to direct a user to, how can I display this URL as a clickable URL in a VF Page?
1
vote
0answers
674 views

Page Redirect in Community Pages

I have enabled Chatter Answers to override the change password page. This is working fine, on click of the link from email it is landing on the change password page. In the controller of change ...
1
vote
2answers
2k views

url scheme for Salesforce1 app to redirect user to a record within the app

An external process @mentions a user in a chatter post with a link to a sObject record. I am trying to determine how or what the url structure for the sObject record should be so that they are ...
3
votes
0answers
1k views

Passing parameters to url scheme salesforce1://

I am connecting to salesforce1 (mobile app) from another mobile native app using the salesforce1:// mobile scheme, as per the overview document. Instead of using standard objects and pages I am ...
3
votes
3answers
6k views

VF/Apex to Open in New Window?

I've discovered that adding target="_blank" to some hyperlink code opens the window in a new tab. Is there a way we can get it to open a whole new window? Here is an example of what we have right now ...
0
votes
2answers
6k views

Pass ID from detail page to a VF page

I have created a detail page button of Custom source as URL that has below URL /apex/ComplianceIncidentPublish?Id={!Compliance_Incident_abv__c.Id} That is unable to get hold of ID in the VF page. ...
1
vote
3answers
5k views

Need to add a redirect URL to a Custom Button using Javascript

My apologies in advance for being a JavaScript newbie. I just discovered custom buttons could create new related records, and I managed to get that working with no problems. Now, once it's done ...
1
vote
1answer
1k views

How to Avoid URL parameter inline=1 from visualforce page?

I have a visualforcepage which is included in a layoutpage. Viewlayout of this object has an override with another visual force page. When I call a pagereference methode from "inline" ...
2
votes
0answers
63 views

Login-Links in Salesforce: sometimes they work - sometimes they don't

As consultants and developers we login to a very huge number of different development- and client-orgs. We use the environment hub, but beside the hub it comes very handy to use login links in the ...
1
vote
2answers
1k views

Display pop-up message or hide custom button if field is blank

I'm new to Salesforce, so if this is trivial, accept my apologies in advance. I have a button that points to an internal website. This button grabs looks at a custom field and uses that custom field ...
1
vote
1answer
682 views

How to get Start URL value or ACS URL value of Connected App in Salesforce via Javascript or Apex Class?

I need to get Start URL value or ACS URL value of Connected App in Salesforce via Javascript or Apex Class, any idea how to do that? Regards, Gari
1
vote
1answer
2k views

Passing ID in custom button url

I have a parent object Cov__c and a child object Address__c. I have created a custom button on the Address__c related list on Cov__c, which, when clicked, navigates the user to a page layout depending ...
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
483 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: ...
5
votes
2answers
3k views

How to decode German characters(German umlauts) from the salesforce url?

I have an issue in Getting url parameters.Since i have german alphabets as values for parameters some of the characters are not decoded properly . my_vorname=Example_���my_name=Example_��my_strasse=...
0
votes
1answer
603 views

S1 server side detection method explanation

I found the following method for S1 server side detection on github: //Determin if this is SF1 app public static Boolean isSF1(){ if(!Utils.checkNullOrBlank(ApexPages.currentPage().getParameters()...
1
vote
2answers
3k views

getting Id in apex controller without using standard controller ApexPages.StandardController

I have one apex page IncForRep that rerefs a controller IncForRep. i have used this constructor public IncForRep(ApexPages.StandardController a){..} to use Id i=a.getRecord().get('id'); . I want ...
1
vote
2answers
893 views

How to get id of an object, which related list your looking

You have an object. It has a related list. If your related list has more than 5 elements you have "Go to list (55+) »" link under it. If you hit that link, you're redirected to a page with a table of ...
4
votes
1answer
135 views

How do I link created pages on site.com?

I have a Cases and a Documentation page which displays the case and article records (data repeaters). I have created two pages "case detail" and "article detail" which should display the case/article ...