Questions tagged [url]

referring to the web path url or uniform resource locator

Filter by
Sorted by
Tagged with
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
702 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
43 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
486 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
612 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
902 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 ...
2
votes
1answer
1k views

Create a button on custom object that opens a new Event linked to that custom object

I am trying to add a custom button to my custom object. On clicking the custom button, I want to open a new event which has the "related to" field prefilled with the custom object, and the "subject" ...
5
votes
3answers
2k views

Open a visualforce page from a managed package page: URL No Longer Exists

I am trying to open a normal visualforce page (that is NOT a part of the managed package) from a visualforce page that is IN managed package. This button I have on the visualforce page in manage ...
1
vote
1answer
203 views

VF Page Not Found issue with Managed Beta Package

When I am creating an Unmanaged Package and Test it in demo org - It works fine as I required, but when I create Managed Beta of the same package and Install it in Demo org and Test, It does not open ...
2
votes
1answer
884 views

Import salesforce WSDL file from URL

I have a website. An user can login into this site through salesforce login oAuth. I need to implement next functionality: after user login I should in some way get WSDL file relating to user account. ...
2
votes
3answers
14k views

Get Current Record ID in URL field like ApexPage.currentPage().getParameter().get('id')

I have object XYZ__c where I have created one button-URL with formula {!URLFOR("/apex/myVFPage?id="+**HERE I WANT TO PASS ID FROM CURRENT PAGE**)} which we usually do using ApexPages.currentPage()....
1
vote
0answers
487 views

Getting 400 Bad request on sending request to iam.amazonaws.com

I trying to create user from Apex in AWS/IAM. For that I have created URL according to description given aws in its documentation and I am doing this with get method. But issue I am facing is that,my ...
2
votes
2answers
3k views

Encrypting URL parameters with AMPscript

I am trying to encrypt URL parameters using AMPScript but I have an issue with the encrypted parameters, they include symbols like + or =. So they cannot be used as strings in a URL parameter. Is ...
1
vote
2answers
635 views

URL redirect after attachement upload

I want to make a program where a user uploads any document. On uploading I want the user to be redirected to a folder. So here's what I have tried so far from salesforce documentations... public ...
0
votes
1answer
284 views

How to capture id from url?

I have a visualforce page which shows list of a custom object records in which id of another customobject id is passed in the url .One column shows the Account name which has lookup relationship with ...
4
votes
1answer
2k views

Prevention for Open Redirect Problem in Salesforce

I am facing some issue of "Open Redirect", is there any direct solution or document which may help me. pagereference p = new pagereference(returnUrl); return p; here Security issue is Open ...
12
votes
3answers
8k views

How to access and not hardcode the field ID for a custom object? Using Apex, to construct URLs

Lets say you wanna create a new instance of a custom object, lets call this Custom Object Relationship_Detail__c. You are trying to create a link where it takes you to the proper RecordTypeId and it ...
5
votes
4answers
1k views

How to access variables needed to create a URL for a New Relationship without hard coding it?

Created a page for account and one for a contact, with a "Create new Relationship" button. You select with you want to relate with a contact or an account, and based on that it creates a URL for the ...
2
votes
1answer
194 views

Getting image file thumbnaiil with oauth_token parameter

I am trying to get the thumbnail for an image that has been posted as a file to the chatter. I have been able to do this for a User Profile image by sending &oauth_token=(my oauth token) as a ...
2
votes
1answer
676 views

Why won't salesforce recognize relative URL?

On clicking a button my visualforce page is supposed to redirect to the saveURL defined in my get parameters. The saveURL is literally just the ID of an object (usually an account), here is the apex: ...
2
votes
2answers
870 views

Setting Visualforce page URL different from file name

How to set a Visualforce page URL that is different from a file name? At the moment my VF page URLs are the same as the file names: MyPage.page URL will be /apex/MyPage How to leave file name as is (...
4
votes
2answers
331 views

Send Email URL button (List Button)

I created a URL button to send an email which works fine in partner portal but not in standard salesforce.I need to remove first extra slash(/) for standard salesforce.How to do this Update When I ...
2
votes
2answers
4k views

Related Object Fields in custom button (URL Hack)

Having a real brain freeze here. I am using some URL hacking to auto fill some fields on a custom object. USE CASE I have a custom object 'Operations Action' that is related to a case. My Case ...
4
votes
2answers
1k views

What reasons would the id in URL be null?

My app is getting the object id from the URL query string with the following code: ApexPages.currentPage().getParameters().get('id') However, I have a customer who is reporting that this isn't ...
12
votes
1answer
2k views

Referencing Externally Available Images Absolute URL with My Domain?

Question Is there a way to reference externally available images when using my domain, such that it doesn't reference the data center? When I copy the url from the document itself the url still ...
2
votes
1answer
538 views

Open Salesforce1 ios app with UrlScheme

I've been looking for opening iOS Salesforce1 app with UrlScheme. I found these links : link1 link2 but they didn't work for me. I have a links for my VisualForce page (link down below) Is there ...
3
votes
1answer
2k views

How to create a custom tab that redirects to a specific URL

I would like to create a tab in Salesforce called 'Activities', and when clicked, it redirects to https://na1.salesforce.com/007, the Activity List Page in Salesforce. The web tab is not an option, ...
8
votes
3answers
1k views

What can be done with SSL + Communities + Force.com Site + Branded Domain

I'm getting mixed messages online regarding SSL support for a Force.com site that is branded with a custom URL domain: These two articles, Registering a Custom Force.com Domina and Registering a ...
3
votes
1answer
1k views

How to find the POD of the production Org if MyDomain has been enabled?

Once you enable MyDomain, all URLs change from the POD-specific ones to be MyDomain-specific. Is there any easy way to find out the POD the Org is running on without contacting Salesforce? Any help ...
1
vote
3answers
2k views

Dynamically construct field of type URL from fixed + <fieldvalue> elements

I have a field defined as a url, however the URL is actually made up of a standard URL to our document managment system and the document number which is what the user enters. How do I get the formula ...
2
votes
1answer
6k views

Setting Visualforce Page url parameters within standard page layouts

What is the best (or preferred method) of setting a url parameter on a visualforce page embedded on a standard layout page? This is easy to do when creating a custom link or a button, but I don't ...
2
votes
3answers
2k views

Need help calling a URL with parameters and parsing the results in a Unit Test

So, I have a class that is called by a URL and based on the information provided in the parameters, it runs it through a query and returns results as XML in a VisualForce page. Here's the Class: ...
0
votes
1answer
474 views

Visualforce page URL with embedded login details

I know how to provide URL to Salesforce.com instance with embedded login details by using this structure: https://servername.com?pw=qwerty&un=myname%40example.com Now the question is how to ...
2
votes
2answers
2k views

Outbound Message Endpoint URL Issue

I have a production salesforce instance sending outbound message to production Endpoint URL. However, upon sandbox refresh, the outbound message will be copied to sandbox, which results in outbound ...
3
votes
1answer
241 views

Can a Web Tab's url be get and set from Apex or the REST Api?

I would like to modify the url of my Web Tab for each SF organization that my managed package is installed on. Is there a way to get and set the url of a Web Tab from Apex or the REST Api? Is there a ...
5
votes
1answer
156 views

Proper/Safe Way to Link to Salesforce Object

What is the proper/safe way to get/generate links for Salesforce objects retrieved through the REST API? For instance, we have a tool living in another application that allows users to query for ...
4
votes
2answers
2k views

How to create and save a Task with URL button without navigating to Task screen

I have a url custom button on the Lead and Contact record. It creates a completed task on that record. However, I would like it so that when I click on the button, called "Log a Visit", the screen ...
1
vote
2answers
3k views

ExactTarget - Update hyperlink after email was sent

ExactTarget - How to update hyperlink after email was sent? We sent out an email. Later was told there's a change to one of the hyperlinks. How do I update that so subsequent click will point to the ...
4
votes
1answer
1k views

How to pass the salesforce Ids in URL which are case sensitive?

I am facing issues in passing the values to custom fields which are same as shown below. 00Ni000000CPDRf 00Ni000000CPDRF I am passing them as shown below: PageRef.getParameters().put(System.Label....