Questions tagged [url]

referring to the web path url or uniform resource locator

Filter by
Sorted by
Tagged with
1
vote
1answer
180 views

Custom Button - RetURL Working in Chrome but not IE

I have a custom button on a record page that initiates a Visual Workflow, sets a couple parameter values, defines the finishlocation for the flow to end on a Visualforce page. For whatever reason, ...
0
votes
0answers
759 views

Help with retURL after saveURL and save_new_url

I have created a custom button using URL (I am aware that it is not Lightning Ready). With the button, the user is taken to an edit page of a Child record of the Opportunity (Object X), then after ...
0
votes
1answer
41 views

Custom Button URL help

We have a button on the opportunity object that is a part of the Octive managed package and is submitting the proposal for an approval when clicked. We would like to customize it so that when the ...
1
vote
1answer
660 views

“force:navigateToURL” inserts “?source=aloha” in the URL which breaks page

My Lightning Component app uses navigateToURL to allow lightning users (in a browser) to edit data in custom objects: navigateToEdit : function(cmp, event, helper) { var articleId = cmp.get("v....
0
votes
2answers
44 views

Is it possible to change the domain Url for the Production org?

Our project manager bought the enterprise edition of Salesforce for our project with some random domain name(not relevant to theme of the actual project) which looks out-of-context. I would like to ...
1
vote
2answers
205 views

Passing parameters with different names and treating it as one

I have to pass language code from the URL to VFP/Apex Code, and the language parameter can be in two different name lang language so it can be passed like www.something.com?lang=en_US or ...
0
votes
1answer
196 views

How to set the dynamic url path in static $action?

how to set the url path, Here after deleting the record,i want to redirect the page <apex:outputLink value="{!URLFOR($Action.Patent__c.Delete, objAsset.id)}">Delete</apex:outputLink>
1
vote
1answer
3k views

Custom Button Formula URL IF condition

IF( NOT(ISNULL(Submission__c.DPM_Project__c)), ahttps://url.aspx?PROJECTID={!Opportunity.Name}&LOCATIONID={!Opportunity.Location__c}&INNCODE={!Opportunity.Inn_Code__c}&BRANDCODE={!...
1
vote
1answer
187 views

Adding ?isdtp=mn to Log A Call Button in Lightning

I am looking to add ?isdtp=mn to the end of my Log A Call button's URL so I am able to pop the page with no sidebar or header. When I add isdtp to the end of the URL link for the Log A Call button, ...
0
votes
1answer
396 views

Want to open the url of a URL field in a visualforce page using iframe

I am having a custom URL field on task. I dont want to show my users the URL when I click on the field.I have created a visulaforce page that have buttons on clicking whom the URL should open in an ...
1
vote
1answer
155 views

Automatic GA tagging breaks some urls

we asked Salesforce to activate the automatic tagging for our urls in mails for our business units. But after the activation of the feature (utm_medium, utm_source) some of the links coming from a ...
0
votes
1answer
575 views

How to get full image URL of PhotoUrl in Contacts using jsforce

I use nodejs/jsforce to connect to Sf API. In the "Contacts" one of the fields is retrieved as a string path PhotoUrl:"/services/images/photo/003o.....AAV" But that's not very handy if I want to ...
3
votes
2answers
215 views

What does the “one” in lightning url structure reference?

The URL pattern of lightning is https://instance.lightning.force.com/one/one.app. one.app is a lightning app. My question is about the one after the domain name: What does the one relate to in ...
0
votes
1answer
2k views

How a Custom Metadata Type's field value can be referred in Lightning Component?

I have an URL that was saved in a Text(255) field of the Custom Metadata Type. I wanted to refer this Url on to the Lightning component, to make my custom onClick() to redirect to this Url. How can I ...
1
vote
2answers
527 views

Marketing cloud content builder - possible to change tab name when opening mail in browser?

As the title says - in content builder, is it possible to change the name of the browser tab when opening a mail in browser? Right now the browser tab gets an automatic generated link that looks like ...
1
vote
1answer
371 views

How to get passed in parameters in URL EXCLUDING hidden parameters in Apex

I'm familiar with ApexPages.currentPage().getUrl() which returns the second part of the url (/apex/Test!id=2314dsdf32) and also I know system.currentPageReference().getParameters() which basically ...
1
vote
0answers
79 views

Salesforce base url returning upper case URL characters

I'm trying to publish Knowledge article in Salesforce with REST api call by : URL.getSalesforceBaseUrl().toExternalForm()+'/services/data/v25.0/knowledgeManagement/articleVersions/masterVersions/'+ ...
3
votes
1answer
9k views

Open link in another tab with e.force:navigateToURL

I would open a link in a lightning component in another tab. Here is the code: showAttachment : function(component, event, helper) { var idContentVersion = event.getSource().get("v.title"); ...
1
vote
1answer
350 views

Dashboard URL and Apex code on converting Dashboard into an image

I know I already ask on how to convert the Dashboard into an image about a week ago. But that code isn't working for me. All i getting from that code is a blank image rather then an image of the ...
1
vote
1answer
235 views

When you create a Public Knowledge Base article, how do you see what URL it has?

Okay, I know you can set any URL you want on the Article, i.e. "MickeyMouse", but I don't understand at all what the prefix to that URL you set will be. How do you know? Will it be: www....
0
votes
1answer
66 views

Salesforce Community issue when template is switched to VF + Tab (that /s)

So we have this community setup that was previously using Napili template. We switched template to VF + Tab, but the /s (i.e. /mycommunity/s) for lightning is still accessible? How can I get rid of ...
4
votes
2answers
204 views

Uploading file to Facebook from Salesforce

I'm trying to upload an image file to Facebook from Salesforce and current this is my codes and it is not working can anyone help me fix it? Please Note that my Image file is inside the Accounts ...
4
votes
3answers
175 views

Replace ID with API Name

I have a Home Custom Link Url like this: {!$Site.OriginalUrl}/00O5B000000OL93 that points to a report. I need to be able to change that hardcoded ID with something that won't break once I deploy this ...
14
votes
4answers
31k views

Getting the URL parameter into Lightning component using the “{! paramName}” expression

I am new to communities in lightning and I am trying to figure out a way to directly fetch the URL parameters into the lightning component attributes using the {! urlParamName} expressions. for ...
0
votes
1answer
752 views

Custom list button throwing 'Insufficient privilege' when clicked on by user other than System admin profile

I have a custom list button on a related list under opportunity.On click of the list button, it takes me to a VF page. This works fine for the system admin, but when logged in as a user with non-...
1
vote
1answer
615 views

How to pass parameters in Apex to visualforce page so that they are not visible in the URL address? [duplicate]

I have an apex method with return type PageReference. When the method returns value a custom visualforce page is loaded. I want to pass few parameters from the method to the visualforce page. At the ...
1
vote
2answers
9k views

window.location.href navigating to correct page but not updating URL

What Am I doing ? I have this JavaScript list button 'Create Record for RecordType X' on Object B (which is child to Object A) to navigate to the correct VF page "RecordTypeX_VF" with RetUrl of ...
5
votes
3answers
518 views

URL To A Record - Specify A Different Page Layout

I see some helpful articles that dance around this idea, but do not see reference on how to actually do it (if it is even possible). A typical Account URL in Salesforce. TYPICAL:   salesforce....
2
votes
3answers
842 views

Error - Failed To Execute Flow - 301 Prefix - Process Builder

I'm finding no helpful information on this. When an error mentions a 301-prefixed Id, I know it's Flow related (probably Process Builder), but I have no clue how to hack a URL to showing me the Flow (...
1
vote
1answer
951 views

Site URL redirect is not redirecting to correct page

There are two communities in the org: Invest [Site URL: https://myorg.force.com/Investigators] Acquired- [Site URL: https://myorg.force.com/Acquired] I want to create a site URL redirect for first ...
2
votes
0answers
135 views

How to get base url in managed package? [duplicate]

I have a requirement where I need to get Base URL in managed package class. I am using Url.getSalesforceBaseUrl().toExternalForm() to get base URL but getting https://custom-domain-name--prefix....
0
votes
0answers
277 views

Error sending an email with function InsertDE (Ampscript)

This is my first contribution to this community. I'm having problems with sending an email when i'm using the function InsertDE whereas using other functions such as UpsertDE works fine, and the ...
1
vote
0answers
35 views

Can I trigger a click action when an email to case case is submitted?

When an email to case is generated for a specific case origin, I would like to also trigger a click action to a URL that is coded to create an external case in a different system. Note: this URL is ...
1
vote
1answer
596 views

Is it possible to redirect to correct community url if user makes mistake in community url

There are two communities in the org: https://myorg.force.com/Invest and https://myorg.force.com/Acquired. It is working as expected when user is providing correct URL but if user is making any ...
4
votes
1answer
523 views

Encoded number sign (“%23”) in URL path

How would you add # in the URL via passing from PageReference? I have tried few different way but that does not work. public PageReference clickOnName() { PageReference newPage = Page....
1
vote
0answers
27 views

Social Post URL redirects to user's personal Facebook messages, not the Connected Social Account's Messages

When a user clicks on a social post that was created by an inbox message, it redirects to the user's personal Facebook messages page. We expect the URL to open the messages page for the managed page,...
0
votes
1answer
51 views

list view button show/populate account name

when click on the new contact button (this is list view javascript custom button) page redirected but account name not populated automatically var qc = sforce.connection.query("SELECT Id FROM ...
2
votes
0answers
150 views

What is the inst parameter for ( in our case inst=0 )?

Here is our implementation of a JS custom button/link to take our internal users to their own customer portal. This link works for us. We have hacked at this for hours until we landed on the "right" ...
1
vote
0answers
706 views

Lightning related list custom buttons not showing

I have a custom URL button on the related list of OpportunityLineItem, in classic it works perfectly fine and my list only shows the custom buttom alone, which is what i want. But in Lightning it does ...
0
votes
1answer
6k views

Redirect to previous URL - Lightning Component (Communities)

Essentially I am trying to create a back button on my navigation lightning component tab so that when the button is pressed it redirects to the previous url. As it stands I have the follows: ...
5
votes
2answers
394 views

Is there an URL-pattern in LEX similar to /apex/NameOfVisualForcePage?

In Aloha the URL /apex/NameOfVisualForcePage lets Salesforce show the VF-Page named "NameOfVisualForcePage" Assume LEX = Lightning Experience and SPA = Single Page App I know LEX is SPA, but that ...
0
votes
1answer
34 views

how to get the url of the logged in user from the workbench

in my one of visualforcepages,i had hardcoded the url like below, https://na34.salesforce.com/home/home.jsp and url will be different for different users and i hardcoded prefix also, in salesforce,now ...
1
vote
1answer
224 views

How do I know the Public hosted URL of Visualforce page inside the controller class?

I'm trying to get the public site's url (ending part of it), to control show/hide some controls according to the location apex page being called. I tried using below. ApexPages.currentPage().getUrl()...
0
votes
1answer
206 views

Convert user input to url and get json data from it

Hey guys I'm new here I have a question and i have been searching everywhere, I'm trying to build a Visualforce Page that when I'm inserting a text like "To" it will generate a url like "http://www....
0
votes
1answer
210 views

Need some help to refresh the Opportunity standard page

I'm using the following method public static PageReference redirectToOpportunity(String oppId) { PageReference pg = new PageReference('https://cs.salesforce.com/'+ oppId); pg.setRedirect(true)...
0
votes
1answer
221 views

Bind Collection To PageReference Parameter?

I have a list of 15 record ids. I converted it into string (comma seperated value). Now I want to pass this string using pageReference but in url it gives only 10 records. What can I do? Code: for(...
2
votes
1answer
2k views

How to get the page URL from a Visualforce page in Lightning?

In Salesforce Lightning, all pages are opened as iframes, so the issue of inability to access the parent page URL arises, but I would like to know if there are any work-arounds. My requirement is to ...
0
votes
2answers
457 views

How to find the vf page name?

I have a url which when runs gives an error. This url is of full copy sandbox. In order to resolve the issue, I need to know the vf page name, however I cannot identify the same by looking at the link....
0
votes
1answer
524 views

Forward to a friend - custom profile center URL

i was wondering if it is possible to insert a custom link in the forward to a friend feature. I explain you below the steps of this process and where I would like to change. A contact receives an ...
1
vote
1answer
29 views

Passing Data via URL in a Package [duplicate]

I've created a button in my package to pass data to a new page. When I upload the package and install it on another org, the url doesn't work because the server, page name and field id's are ...