Questions tagged [url]

referring to the web path url or uniform resource locator

Filter by
Sorted by
Tagged with
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
201 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
858 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
485 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
623 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
282 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
188 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
633 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
837 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
534 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
465 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
240 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
154 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....