Questions tagged [url]

referring to the web path url or uniform resource locator

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

Align text with url in the same line

I'm trying to align the text with the url both inside span tags, don't know why the alignment stopped working when I started using the url as second element, any ideas? <template> <div ...
0
votes
1answer
12 views

Prepopulate a lookup field when the new button is pressed

I am trying to prepopulate a lookup field when the user presses the "New" button. This object is in the related list of another object. Those two objects are part of a managed package. The ...
0
votes
2answers
24 views

redirect external url in visualforce page

I want to add a custom link in output text and it will redirects to external url. So I added below code., <apex:outputText><td><div><a href="#" target="_blank" ...
0
votes
0answers
9 views

Is it possible to find out Standard Page Layout mode(View/Edit) from Inline VF page Controller?

I have added inline VF page on Standard Page Layout. What I am looking for is to fetch main record url from inline VF page. I don't want inline VF page url. So lets say if I navigate to record then ...
0
votes
0answers
7 views

How to share files publicly without exposing the salesforce URL

I would like to know if there is a way to make the URL masked or not exposed when adding it to the URL. For example, I have a community page where I hyperlinked my public files and the problem is, ...
0
votes
0answers
15 views

Hyperlink in Datatable with parent id

I'm working on a Lightning:Datatable to made a column url type. I'm unable to see the hyperlink when the reference is parent field API from query. The hyperlink is defaulting to the record Id instead ...
0
votes
1answer
19 views

Web to lead / get source URL

I have the same web to lead code in many web sites. How could I dynamically set in a custom field on my lead the origin URL, from where the client come from?
0
votes
0answers
21 views

send image from Mail tracking

i'm trying to send email with the picture from the ( mail tracking details). how can i convert the image from "EmailThumbnail" to html img tag src see ampscript code set @imageSource ...
0
votes
1answer
24 views

URL is not working in LWC which is placed on Account record lightning page

I have created LWC to display third-party application page on record, it is giving me login page but after logging in it is giving error as "Sorry, we couldn’t find what you are looking for"....
0
votes
0answers
23 views

Site giving guest users a 401 error instead of a 404 if the url is more than one level deep

For our Site/Community, we want any incoming link that 404s to hit our custom 404 page. This works fine for urls like /example, however, if the url is more than one level deep, for example: /example/...
0
votes
0answers
26 views

Getting the URL parameter into Lightning component by using the “{! paramName}” expression in community builder

I am trying to open a new community page on the click of a button. I am trying to pass the parameters needed for the lightning component on that page via the URL of the page: Button Javascript ...
0
votes
0answers
18 views

Visible Community URL in DEV?

I have a customer that is deploying a Community. They want to know if they build a community in their DEV environment if that URL would be visible to anyone that might even stumble across it if it is ...
0
votes
0answers
17 views

URL Event is not always invoked in Lightning component

I have the 'New' button is overriden in my custom object "Call" which invokes a Lightning component. The lightning component in turns open a VF page based upon some market checking(...
2
votes
0answers
43 views

SVG file type in Marketing Cloud

Has Marketing Cloud stopped support for SVG files? We need to migrate content from an old MC tenant to a new one, including some SVG files. On the old tenant, the SVG files come with a URL from where ...
0
votes
0answers
16 views

Lightning datatable in lwc to show multiple urls in single cell [duplicate]

Is it possible to add multiple links to a single Lightning Datatable cell. For example, as in the screenshot. it should be something like this
0
votes
1answer
18 views

URL Data Binding in LWC

I have attachment Id and I need the URL for that particular attachment. But In my LWC component I am constructing the URL programmatically like: I want to avoid hardcoding the first part of the ...
5
votes
0answers
91 views

Neither forceCommunity:routeChange or aura:locationChange cannot detect the URL change with history.replaceState

We have a use case where a lightning component built in LWC, should trigger a URL change. We're handling that with the history.replaceState method(note that we encountered the same problem with ...
1
vote
0answers
47 views

Using RegEx with replaceAll

I'm working on a class that will take the title of an article and post in the URL field. The class itself copies the field and removes characters such as '@' or '/' and replaces it with '-'. ...
0
votes
2answers
28 views

Passing values to property LWC

I'm trying to pass a value after checking that the URL coming from the connectedCallback is valid. When I try to pass the value to the this.frontImage property I'm facing an issue, nothing really ...
0
votes
1answer
24 views

Passing custom field into URL, in Salesforce custom link URL

In Custom Button or Link, using URL content source. if I place direct url value it is working, but I want to make value in url dynamic based on record's custom field value. Actual URL FORMAT: https://...
1
vote
1answer
256 views

URL Parameter Retrieval Not Working In Lightning LWC Component

I have a situation where a user makes a change inside a Lightning page which uses web components. This page then sets parameters on to the URL and redirects to the same Lightning page. The redirect ...
0
votes
0answers
46 views

¿How can I avoid &isdtp=p1 parameter getting appended to an URL from Community pages?

I've created a Visualforce of content source URL which is pointing to a rendered PDF document built by an AWS server as an URL. I have added this content URL to a formula field making on communities ...
0
votes
1answer
32 views

Custom Button URL using IF condition found on Salesforce doc but not working

I am trying to create a custom button redirecting either to : the correct LinkedIn profile if the LinkedIn ID is filled a LinkedIn search using First Name & Last Name So far, here is what I have ...
0
votes
0answers
27 views

How to create a public Url for an attachment? [duplicate]

I used a lightning:fileUpload to insert a file into the Attachment object: <lightning:fileUpload recordId="{!v.patientId}" aura:id="fuploader" name="files&...
0
votes
0answers
48 views

Expired Community URL redirects to login page silently without error message

In my instance of SF, when a new community user gets created, an email is sent out to the user with a login link (community_url). If the link isn't clicked on within next 7 days, the link is set to ...
0
votes
1answer
18 views

Web Component - Lighting Out - Load a page

I have a new lightning challenge to solve. For a project we built a lightning web component, and we exposed it to an external portal through lightning out. One of the requirement is to be able to load ...
0
votes
1answer
528 views

how to Send sms with a url using twilio? [closed]

I am using Twilio Rest Api to send sms from my salesforce app to a particular phone number. The sms is sending fine, but there is a big url in the sms body. When I open the sms in my phone, only a ...
0
votes
0answers
37 views

Is there a way to edit My Domain using apex?

I'm looking for a way to add or edit My Domain using Apex, not from the UI. Is there a way to do that? Thank you!
0
votes
2answers
161 views

How to use Custom Labels in Custom Button or Link

I'm new to salesforce, Is there any way to use a Custom Label in URL https://developer--uat.lightning.force.com/lightning/r/Report/00O0w000000ZLryEAG/view?fv0={!Service_Provider__c.Name} Instead of ...
0
votes
0answers
183 views

Apex REST API “HTTP Method 'GET' not allowed. Allowed are POST” Issue

We have created an Apex REST API which is using POST method. when we consume the API from postman with below URL, https://TestDomain--pcsandbox.my.salesforce.com/services/apexrest/v1/updateAll but ...
0
votes
1answer
29 views

How can I build a Custom Link Button that navigates to a URL specified in a Custom URL Field?

We currently use a couple of URL fields to deep link to external systems. I'd like to create buttons that can navigate to those URLs. Creating a Custom Link & populating it with a URL Field didn'...
0
votes
1answer
52 views

getSalesforceBaseUrl() returning an error in Anonymous

I want to execute a call to Lightning Platform REST API in Anonymous window. When I am writing the following: String sfURL = URL.getSalesforceBaseUrl().toExternalForm(); I am getting the following ...
0
votes
2answers
39 views

How can I find the Secure URL for the public site by Apex?

We are using the following code to find the Secure URL for the public site by Apex List<String> siteFullUrlList = new List<String>(); List<Site> siteList = [ ...
0
votes
1answer
66 views

How do Site URL Redirects work?

I am currently working for a company that is in the middle of a name change and we are changing the My Domain as well as our custom URLs to the new name. I would like to redirect previous custom URLs ...
0
votes
0answers
82 views

When using /sfc/servlet.shepherd/document/download/ <ContentDocument IDs> , can we rename the zip folder document?

I have used the Custom button (/sfc/servlet.shepherd/document/download/ ) to download all the files realed to an object. The Zip folder always has a name “downloaded-content”. So I need to change this ...
0
votes
2answers
505 views

How to redirect to URL from flow with invocable apex

I have a flow from which I want to call a visualforcepage with some parameteres in the URL. The flow calls the invocable apex and the pagereference method but does not redirect to the url but does ...
0
votes
1answer
42 views

How to call a URL using trigger?

I have a custom button(Create Ticket) on a custom object (Deal) which has link/URL as https://jira-staging.companyname.com/plugins/servlet/create-issue?crmtoken=XXXX&id=Deal__c:{!Deal__c.Id} ...
0
votes
1answer
242 views

How to share an attachment using url?

I am new to saleforce and I used the following code to save files to the Attachment object in salesfore: String base64Data = EncodingUtil.urlDecode(base64Data, 'UTF-8'); Attachment attach = new ...
0
votes
0answers
65 views

how to display Url inside a <apex:pageBlockTable>?

I created a custom object with two cloumns, name and url. I just want to dislay these inside an apex page using <apex:pageBlockTable>. I used the following code: <apex:pageBlock id="...
0
votes
0answers
23 views

More than one GET request inside a Apex Controller class [duplicate]

I used Creating an endpoint in Salesforce and using REST API to externally access it tutorial to print a list of custom objects inside a Visualforce Page in Visualforce Site. I followed the tutorial ...
0
votes
1answer
59 views

Add Tab Name for opening tab on click of lightning component quick action

I am getting my tab as shown in screenshot below which is a component that gets displayed on clicking a quick action button . currently it is showing asterisk how can i show name on tab.
0
votes
0answers
62 views

Open External URL from Salesforce Mobile App does not come back if back button is clicked

I am facing issue while coming back from external URL within Salesforce Mobile app built using LWC I am using and navigating to an external URl from salesforce mobile app. However, if we click ...
0
votes
1answer
31 views

Return back to Account after saving or cancel

I've a requirement, where I want to edit a task. Task are displaying as a VF Page in Pageblock Table. I've used action="{!URLFOR($Action.Task.edit,items.id)} on commandlink. Can anyone please let me ...
0
votes
1answer
708 views

How to pass custom parameters to screen flow in public community?

Thanks for the help in advance. I'm passing a URL in an email. The URL sends the user to a public community flow page where a screen flow starts. This all works. I have a custom parameter in the ...
0
votes
0answers
73 views

Lightning Component Cache Issue where URL visible and decodeURIComponent(window.location.search.substring(1)) gives different output

The url of the lightning component that i could see is like "/lightning/cmp/c__LCMP_AddLeadLine?c__leadId=00Q1g000004qAR5" But "component.get("v.pageReference").state.c__leadId" gives the output as "...
1
vote
1answer
372 views

Reading parameter from community URL

Is there any way to direct read the param from the community URL. For example I have a custom page with URL like https://abc.com/s/testing?testingAttribute=abc and I want to get the passed ...
0
votes
1answer
88 views

Merge field for base login URL in community welcome email?

I have set up a community and I am using a plain text email template for the welcome email. I would like to mention the community's base login URL in the email body so that users can bookmark it. ...
0
votes
1answer
115 views

Images are not displayed after sending the email

I built an email in Marketing Cloud where some pictures have been attached directly from Content Builder (drag-and-drop). When I send the email, the image is not displayed in most of the different ...
2
votes
1answer
139 views

LWC URL reading parameters

I am trying to authorize another sandbox/production to create connection. When I first time authorize the connected app, it is returning the Auhorization Code in the URL, however when it gets ...
0
votes
1answer
205 views

Is there a way to get current site url

In my community site, I wanna get current site url in my apex class. I want to get the whole url, not just the domain part Instead of https://abc.site.com/ I want the whole https://abc.site.com/page?...

1
2 3 4 5
7